| Name | CVE-2023-40225 |
| Description | HAProxy through 2.0.32, 2.1.x and 2.2.x through 2.2.30, 2.3.x and 2.4.x through 2.4.23, 2.5.x and 2.6.x before 2.6.15, 2.7.x before 2.7.10, and 2.8.x before 2.8.2 forwards empty Content-Length headers, violating RFC 9110 section 8.6. In uncommon cases, an HTTP/1 server behind HAProxy may interpret the payload as an extra request. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-5590-1 |
| Debian Bugs | 1043502 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| haproxy (PTS) | bullseye | 2.2.9-2+deb11u6 | fixed |
| bullseye (security) | 2.2.9-2+deb11u7 | fixed | |
| bookworm | 2.6.12-1+deb12u2 | fixed | |
| bookworm (security) | 2.6.12-1+deb12u3 | fixed | |
| trixie | 3.0.11-1 | fixed | |
| trixie (security) | 3.0.11-1+deb13u1 | fixed | |
| forky, sid | 3.2.7-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| haproxy | source | buster | (not affected) | |||
| haproxy | source | bullseye | 2.2.9-2+deb11u6 | DSA-5590-1 | ||
| haproxy | source | bookworm | 2.6.12-1+deb12u1 | DSA-5590-1 | ||
| haproxy | source | (unstable) | 2.6.15-1 | 1043502 |
[buster] - haproxy <not-affected> (Vulnerable code not present)
https://github.com/haproxy/haproxy/issues/2237
https://github.com/haproxy/haproxy/commit/6492f1f29d738457ea9f382aca54537f35f9d856
https://git.haproxy.org/?p=haproxy-2.2.git;a=commit;h=e8ba5e106444fc78558f4ff26e9ce946f89216f4 (v2.2.31)
https://git.haproxy.org/?p=haproxy-2.6.git;a=commit;h=d17c50010d591d1c070e1cb0567a06032d8869e9 (v2.6.15)