Description
Traefik before 2.11.62, 3.x before 3.7.18, and 3.8.0-rc.1 before 3.8.0-rc.2 contain a denial of service vulnerability in the BasicAuth middleware, which does not limit password length before MD5-crypt ($apr1$, $1$) hashing. Unauthenticated attackers can send passwords up to the entry point maxHeaderBytes limit (1 MiB by default), consuming excessive CPU per request and degrading availability.
Affected products and versions
traefik traefik< 2.11.62Fixed in: 2.11.62
traefik traefik3.0.0 – < 3.7.18Fixed in: 3.7.18
traefik traefik3.8.0-rc.1 – < 3.8.0-rc.2Fixed in: 3.8.0-rc.2
CVSS vector, explained
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
- Attack vector
- Network (from the internet)
- Attack complexity
- High
- Privileges required
- None (no login)
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- None
- Integrity
- None
- Availability
- Low impact
Weakness type (CWE)
- CWE-770 Allocation of Resources Without Limits or Throttling
References
- github.com/traefik/traefik/security/advisories/GHSA-rr42-h8r2-f28g vendor advisory
- www.vulncheck.com/advisories/traefik-before-2.11.62-denial-of-service-via-basicauth-passwo
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.