REDHAT-BUG-2491915: High severity Traefik traefik vulnerability
Traefik is an HTTP reverse proxy and load balancer. Prior to 2.11.48, 3.6.19, and 3.7.3, there is a high severity vulnerability in Traefik's StripPrefix middleware that allows an unauthenticated attacker to bypass route-level authentication and authorization. When a public router matches on a PathPrefix rule and applies the StripPrefix middleware, a request path containing .. or its percent-encoded form %2e%2e can match the public route at routing time and then, after the prefix is stripped and the path is normalized, resolve to a path served by a separate, authenticated router. As a result, an attacker can reach protected backend paths — such as admin or internal configuration endpoints — without satisfying the authentication middleware attached to the protected router. This vulnerability is fixed in 2.11.48, 3.6.19, and 3.7.3.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Traefik StripPrefix middlewareto a version that resolves this vulnerability.Fixed in 2.11.48 - Upgrade
Upgrade
Traefik StripPrefix middlewareto a version that resolves this vulnerability.Fixed in 3.6.19 - Upgrade
Upgrade
Traefik StripPrefix middlewareto a version that resolves this vulnerability.Fixed in 3.7.3
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2491915?
The severity of REDHAT-BUG-2491915 is classified as high with a score of 7.
How does the vulnerability REDHAT-BUG-2491915 affect Traefik?
REDHAT-BUG-2491915 affects Traefik's StripPrefix middleware, allowing unauthenticated attackers to bypass route-level authentication.
Which versions of Traefik are impacted by REDHAT-BUG-2491915?
Versions prior to Traefik 2.11.48, 3.6.19, and 3.7.3 are impacted by REDHAT-BUG-2491915.
How do I fix REDHAT-BUG-2491915?
To fix REDHAT-BUG-2491915, upgrade Traefik to version 2.11.48, 3.6.19, or 3.7.3 or later.
What kind of attacker can exploit REDHAT-BUG-2491915?
An unauthenticated attacker can exploit REDHAT-BUG-2491915 to bypass authentication and authorization.