Open redirect in Traefik
Description
In Traefik before versions 1.7.26, 2.2.8, and 2.3.0-rc3, there exists a potential open redirect vulnerability in Traefik's handling of the "X-Forwarded-Prefix" header. The Traefik API dashboard component doesn't validate that the value of the header "X-Forwarded-Prefix" is a site relative path and will redirect to any header provided URI. Successful exploitation of an open redirect can be used to entice victims to disclose sensitive information. Active Exploitation of this issue is unlikely as it would require active header injection, however the Traefik team addressed this issue nonetheless to prevent abuse in e.g. cache poisoning scenarios.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/traefik/traefikGo | >= 1.5.0-rc5, < 1.7.26 | 1.7.26 |
github.com/traefik/traefik/v2Go | < 2.3.0-rc6 | 2.3.0-rc6 |
github.com/containous/traefikGo | >= 1.5.0-rc5, < 1.7.26 | 1.7.26 |
github.com/containous/traefik/v2Go | < 2.2.8 | 2.2.8 |
github.com/traefik/traefik/v2Go | >= 2.3.0-rc1, < 2.3.0-rc6 | 2.3.0-rc6 |
github.com/containous/traefik/v2Go | >= 2.3.0-rc1, < 2.3.0-rc3 | 2.3.0-rc3 |
github.com/traefik/traefik/apiGo | >= 1.5.0-rc5, < 1.7.26 | 1.7.26 |
github.com/traefik/traefik/v2/pkg/apiGo | < 2.3.0-rc6 | 2.3.0-rc6 |
github.com/traefik/traefik/v2/pkg/apiGo | >= 2.3.0-rc1, < 2.3.0-rc6 | 2.3.0-rc6 |
github.com/containous/traefik/apiGo | >= 1.5.0-rc5, < 1.7.26 | 1.7.26 |
github.com/containous/traefik/v2/pkg/apiGo | < 2.2.8 | 2.2.8 |
github.com/containous/traefik/v2/pkg/apiGo | >= 2.3.0-rc1, < 2.3.0-rc3 | 2.3.0-rc3 |
Affected products
9- ghsa-coords8 versionspkg:golang/github.com/containous/traefikpkg:golang/github.com/containous/traefik/apipkg:golang/github.com/containous/traefik/v2pkg:golang/github.com/containous/traefik/v2/pkg/apipkg:golang/github.com/traefik/traefikpkg:golang/github.com/traefik/traefik/apipkg:golang/github.com/traefik/traefik/v2pkg:golang/github.com/traefik/traefik/v2/pkg/api
>= 1.5.0-rc5, < 1.7.26+ 7 more
- (no CPE)range: >= 1.5.0-rc5, < 1.7.26
- (no CPE)range: >= 1.5.0-rc5, < 1.7.26
- (no CPE)range: < 2.2.8
- (no CPE)range: < 2.2.8
- (no CPE)range: >= 1.5.0-rc5, < 1.7.26
- (no CPE)range: >= 1.5.0-rc5, < 1.7.26
- (no CPE)range: < 2.3.0-rc6
- (no CPE)range: < 2.3.0-rc6
- containous/traefikv5Range: < 1.7.26
Patches
Vulnerability mechanics
References
10- github.com/advisories/GHSA-6qq8-5wq3-86rpghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-15129ghsaADVISORY
- github.com/containous/traefik/commit/cfa04c300c5db95ae8a52c31a9d973b6dd9c2254ghsaWEB
- github.com/containous/traefik/commit/e63db782c11c7b8bfce30be4c902e7ef8f9f33d2ghsax_refsource_MISCWEB
- github.com/containous/traefik/pull/7109ghsax_refsource_MISCWEB
- github.com/containous/traefik/releases/tag/v1.7.26ghsax_refsource_MISCWEB
- github.com/containous/traefik/releases/tag/v2.2.8ghsax_refsource_MISCWEB
- github.com/containous/traefik/releases/tag/v2.3.0-rc3ghsax_refsource_MISCWEB
- github.com/containous/traefik/security/advisories/GHSA-6qq8-5wq3-86rpghsax_refsource_CONFIRMWEB
- github.com/traefik/traefik/commit/e2c5f3712f68993de8ed3cb30da9ec0aa11acb09ghsaWEB
News mentions
0No linked articles in our index yet.