CVE-2023-29013 HTTP header parsing could cause a deny of service

High 7.5 Published Updated

Attackers can cause a denial of service in Traefik by sending crafted HTTP headers that trigger excessive memory allocation during parsing.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-29013?

CVE-2023-29013 is a high-severity denial of service vulnerability in Traefik Traefik, published on 14 Apr 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Traefik (pronounced traffic) is a modern HTTP reverse proxy and load balancer for deploying microservices. There is a vulnerability in Go when parsing the HTTP headers, which impacts Traefik. HTTP header parsing could allocate substantially more memory than required to hold the parsed headers. This behavior could be exploited to cause a denial of service. This issue has been patched in versions 2.9.10 and 2.10.0-rc2.

Weakness: CWE-400

Which versions are affected by CVE-2023-29013?

4 open source packages ship an affected version, including github.com/traefik/traefik/v2. It affects 1 product.

PackageAffectedFixed in
github.com/traefik/traefik/v2 GoAll versions2.9.10
github.com/traefik/traefik/v2 GoAll versions2.9.10
github.com/traefik/traefik/v2 GoFrom 2.10.0-rc12.10.0-rc2
github.com/traefik/traefik/v2 GoFrom 2.10.0-rc12.10.0-rc2

Products include Traefik Traefik.

How do I fix CVE-2023-29013?

Upgrade github.com/traefik/traefik/v2 to a fixed version for your release line: 2.9.10 or 2.10.0-rc2.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2023-29013 being exploited?

There is no known exploitation of CVE-2023-29013 in the wild and no public exploit code.

All Traefik Traefik vulnerabilities

Sources

Also known as ECHO-f5d5-6383-3505, GHSA-7hj9-rv74-5g92.

Is CVE-2023-29013 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free