Traefik
Traefik has a possible vulnerability with the path matchers
Traefik (pronounced traffic) is an HTTP reverse proxy and load balancer. In versions prior to 2.11.24, 3.3.6, and 3.4.0-rc2. There is a potential vulnerability in Traefik managing the requests using a PathPrefix, Path or PathRegex matcher. When Traefik is configured to route the requests to a backend using a matcher based on the path, if the URL contains a /../ in its path, it’s possible to target a backend, exposed using another router, by-passing the middlewares chain. This issue has been patched in versions 2.11.24, 3.3.6, and 3.4.0-rc2. A workaround involves adding a `PathRegexp` rule to the matcher to prevent matching a route with a `/../` in the path.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.11.24
- < 3.3.6
- >= 3.4.0-rc1, < 3.4.0-rc2
Fixed in 2.11.24, 3.3.6, 3.4.0-rc2
Mitigation
Upgrade traefik to 2.11.24 or 3.3.6 or 3.4.0-rc2 or later.
References
- Vendor advisory github.com/traefik/traefik/security/advisories…
- Patch github.com/traefik/traefik/pull/11684
- Release notes github.com/traefik/traefik/releases/tag/v2.11.…
2 more
- Release notes github.com/traefik/traefik/releases/tag/v3.3.6
- Release notes github.com/traefik/traefik/releases/tag/v3.4.0…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.