REDHAT-BUG-2464229: High severity Traefik traefik vulnerability
Traefik is an HTTP reverse proxy and load balancer. Prior to versions 2.11.43, 3.6.14, and 3.7.0-rc.2, there is a high severity authentication bypass vulnerability in Traefik's StripPrefixRegex middleware when used in combination with ForwardAuth, BasicAuth, or DigestAuth. The middleware matches the regex against the decoded URL path but uses the resulting byte length to slice the percent-encoded raw path. When a dot (or multiple dots) appears in the prefix portion of the URL, the raw path after stripping becomes a dot-segment (e.g. /./admin/secret). ForwardAuth receives this dot-segment path in X-Forwarded-Uri, which does not match the protected path patterns and therefore allows the request through. The backend then normalizes the dot-segment to the real path per RFC 3986 and serves the protected content An unauthenticated attacker can exploit this against any backend that performs dot-segment normalization. This issue has been patched in versions 2.11.43, 3.6.14, and 3.7.0-rc.2.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
traefikto a version that resolves this vulnerability.Fixed in 2.11.43 - Upgrade
Upgrade
traefikto a version that resolves this vulnerability.Fixed in 3.6.14 - Upgrade
Upgrade
traefikto a version that resolves this vulnerability.Fixed in 3.7.0-rc.2
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2464229?
The severity of REDHAT-BUG-2464229 is high, rated at 7.
How do I fix REDHAT-BUG-2464229?
To fix REDHAT-BUG-2464229, upgrade Traefik to versions 2.11.43, 3.6.14, or 3.7.0-rc.2 or later.
What systems are affected by REDHAT-BUG-2464229?
Any system running Traefik versions prior to 2.11.43, 3.6.14, and 3.7.0-rc.2 is affected by REDHAT-BUG-2464229.
What type of vulnerability is REDHAT-BUG-2464229?
REDHAT-BUG-2464229 is an authentication bypass vulnerability.
What components are involved in the REDHAT-BUG-2464229 vulnerability?
The components involved in REDHAT-BUG-2464229 are Traefik's StripPrefixRegex middleware used in combination with ForwardAuth, BasicAuth, or DigestAuth.