CVE-2020-15129Open redirect in Traefik
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.
What to do
Fixed builds are available from Alpine, Go: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Alpine Linux 3.24 | traefik | Fixed | 2.2.8-r0 | ALPINE-CVE-2020-15129 |
| Alpine Linux 3.23 | traefik | Fixed | 2.2.8-r0 | ALPINE-CVE-2020-15129 |
| Alpine Linux 3.22 | traefik | Fixed | 2.2.8-r0 | ALPINE-CVE-2020-15129 |
| Alpine Linux 3.21 | traefik | Fixed | 2.2.8-r0 | ALPINE-CVE-2020-15129 |
| Alpine Linux 3.20 | traefik | Fixed | 2.2.8-r0 | ALPINE-CVE-2020-15129 |
| Alpine Linux 3.19 | traefik | Fixed | 2.2.8-r0 | ALPINE-CVE-2020-15129 |
| Alpine Linux 3.18 | traefik | Fixed | 2.2.8-r0 | ALPINE-CVE-2020-15129 |
| Alpine Linux 3.17 | traefik | Fixed | 2.2.8-r0 | ALPINE-CVE-2020-15129 |
| Alpine Linux 3.16 | traefik | Fixed | 2.2.8-r0 | ALPINE-CVE-2020-15129 |
| Go library | github.com/containous/traefik | Fixed | 1.7.26 | GHSA-6qq8-5wq3-86rp |
| Go library | github.com/containous/traefik/api | Fixed | 1.7.26 | GHSA-6qq8-5wq3-86rp |
| Go library | github.com/containous/traefik/v2 | Fixed | 2.2.8 | GHSA-6qq8-5wq3-86rp |
| Go library | github.com/containous/traefik/v2/pkg/api | Fixed | 2.3.0-rc3 | GHSA-6qq8-5wq3-86rp |
| Go library | github.com/traefik/traefik | Fixed | 1.7.26 | GHSA-6qq8-5wq3-86rp |
| Go library | github.com/traefik/traefik/api | Fixed | 1.7.26 | GHSA-6qq8-5wq3-86rp |
| Go library | github.com/traefik/traefik/v2 | Fixed | 2.3.0-rc6 | GHSA-6qq8-5wq3-86rp |
| Go library | github.com/traefik/traefik/v2/pkg/api | Fixed | 2.3.0-rc6 | GHSA-6qq8-5wq3-86rp |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- containous traefik: affected: < 1.7.26, >= 2.0.0, < 2.2.8
References
- https://github.com/containous/traefik/security/advisories/GHSA-6qq8-5wq3-86rp
- https://github.com/containous/traefik/releases/tag/v1.7.26
- https://github.com/containous/traefik/releases/tag/v2.2.8
- https://github.com/containous/traefik/releases/tag/v2.3.0-rc3
- https://github.com/containous/traefik/pull/7109
- https://github.com/containous/traefik/commit/e63db782c11c7b8bfce30be4c902e7ef8f9f33d2
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.