CVE-2023-40225 json
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,…
published 2023-08-10 3 y ago modified 2026-09-08 2 mo ago also BIT-haproxy-2023-40225 , EUVD-2023-44822
- cvss
- 7.2
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami haproxy 2.0.33, 2.2.31, 2.4.24, 2.6.15, 2.7.10, 2.8.2
- haproxy haproxy 2.6.15, 2.7.10, 2.8.2
- haproxy Debian 12 2.6.12-1+deb12u1
- haproxy Debian 14, Debian 13 2.6.15-1
debian advisories DEBIAN-CVE-2023-40225
- haproxy Ubuntu 20.04 LTS 2.0.31-0ubuntu0.2
- haproxy Ubuntu 22.04 LTS 2.4.22-0ubuntu0.22.04.2
ubuntu advisories UBUNTU-CVE-2023-40225
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- haproxy openshift 4.14 2.6.13-2.rhaos4.14.el8
- haproxy26 openshift 4.14 2.6.13-2.rhaos4.14.el8
- python-werkzeug openshift ironic 4.14 2.2.3-2.el9
- python3-werkzeug openshift ironic 4.14 2.2.3-2.el9
- haproxy RHEL 9 2.4.22-3.el9_3
- haproxy openshift 4.11 2.2.24-4.rhaos4.11.el8
- haproxy22 openshift 4.11 2.2.24-4.rhaos4.11.el8
- haproxy openshift 4.12 2.2.24-4.rhaos4.12.el8
red hat advisories RHSA-2023:7473RHSA-2024:1142RHSA-2024:1089RHSA-2024:0308RHSA-2024:0200RHSA-2023:7606
- haproxy SLE High Availability Extension 15 SP1 2.0.31-150100.8.34.1
- haproxy SLE High Availability Extension 15 SP3, SLE High Availability Extension 15 SP2 2.0.31-150200.11.23.1
- haproxy SLE Micro 5.4, SLE Micro 5.3, SLE High Availability Extension 15 SP5 +5 more 2.4.22+git0.f8e3218e2-150400.3.16.1
suse advisories SUSE-SU-2023:4646-1SUSE-SU-2023:3490-1SUSE-SU-2023:3469-1
- haproxy openSUSE Tumbleweed 2.8.2+git0.61a0f576a-2.1
opensuse advisories openSUSE-SU-2024:13116-1
- haproxy AlmaLinux 9 2.4.22-3.el9_3
almalinux advisories ALSA-2024:1142
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-40225 updated cvss 7.5
haproxy: Proxy forwards malformed empty Content-Length headers
-
Red Hat Ceph Storage 5 haproxy, haproxy22 Red Hat Enterprise Linux 6 haproxy Red Hat Enterprise Linux 7 haproxy Red Hat OpenShift Container Platform 3.11 haproxy, haproxy18affected: workaround, no fix planned “Out of support scope”
-
Red Hat Software Collections rh-haproxy18-haproxy, rh-haproxy18-haproxy-syspathsaffected: workaround, no fix planned “Will not fix”
-
Red Hat Enterprise Linux AppStream (v. 9) haproxy 2.4.22-3.el9_3fixed: vendor fix RHSA-2024:1142
-
Red Hat Enterprise Linux AppStream EUS (v.9.2) haproxy 2.4.17-6.el9_2.2fixed: vendor fix RHSA-2024:1089
-
Red Hat OpenShift Container Platform 4.11 haproxy 2.2.24-4.rhaos4.11.el8, haproxy22 2.2.24-4.rhaos4.11.el8fixed: vendor fix RHSA-2024:0308
-
Red Hat OpenShift Container Platform 4.12 haproxy 2.2.24-4.rhaos4.12.el8, haproxy22 2.2.24-4.rhaos4.12.el8fixed: vendor fix RHSA-2024:0200
-
Red Hat OpenShift Container Platform 4.13 haproxy 2.2.24-4.rhaos4.13.el8, haproxy22 2.2.24-4.rhaos4.13.el8fixed: vendor fix RHSA-2023:7606
-
Red Hat OpenShift Container Platform 4.14 haproxy 2.6.13-2.rhaos4.14.el8, haproxy26 2.6.13-2.rhaos4.14.el8fixed: vendor fix RHSA-2023:7473
show 1 moreshow fewer
-
Red Hat Cryostat 2 haproxy Red Hat Ironic content for Red Hat OpenShift Container Platform 4.14 python-werkzeug 2.2.3-2.el9, python-eventlet 0.33.1-5.el9, python3-werkzeug 2.2.3-2.el9, python-markupsafe 2.1.1-4.el9, python3-eventlet 0.33.1-5.el9, python3-markupsafe 2.1.1-4.el9 Red Hat Enterprise Linux 8 haproxy Red Hat OpenShift Container Platform 4.11 containernetworking-plugins 1.4.0-1.rhaos4.11.el8 Red Hat OpenShift Container Platform 4.12 perf 4.18.0-372.87.1.el8_6, kernel 4.18.0-372.87.1.el8_6, bpftool 4.18.0-372.87.1.el8_6, kernel-core 4.18.0-372.87.1.el8_6, kernel-tools 4.18.0-372.87.1.el8_6, python3-perf 4.18.0-372.87.1.el8_6, +42 more Red Hat OpenShift Container Platform 4.13 perf 5.14.0-284.43.1.el9_2, rtla 5.14.0-284.43.1.el9_2, bpftool 7.0.0-284.43.1.el9_2, kernel 5.14.0-284.43.1.el9_2, kernel-64k 5.14.0-284.43.1.el9_2, kernel-core 5.14.0-284.43.1.el9_2, +66 morenot affected: vulnerable code not present
+1 more productsfewer
Red Hat OpenShift Container Platform 4.14 cri-o 1.27.2-2.rhaos4.14.git9d684e2.el8, cri-o 1.27.2-2.rhaos4.14.git9d684e2.el9, openshift 4.14.0-202311161233.p0.gd548052.assembly.stream.el8, openshift 4.14.0-202311161233.p0.gd548052.assembly.stream.el9, openshift-hyperkube 4.14.0-202311161233.p0.gd548052.assembly.stream.el8, openshift-hyperkube 4.14.0-202311161233.p0.gd548052.assembly.stream.el9
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
2.15% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/haproxy/haproxy/issues/2237 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| OSV | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | haproxy | <2.0.33 >=2.2.0, <2.2.31 >=2.4.0, <2.4.24 >=2.5.0, <2.6.15 >=2.7.0, <2.7.10 >=2.8.0, <2.8.2 |
2.0.33 2.2.31 2.4.24 2.6.15 2.7.10 2.8.2 |
Classification
- Weakness
-
- CWE-444 Inconsistent Interpretation of HTTP Requests
References
-
github.com
/haproxy/haproxy/commit/6492f1f29d738457ea9f382aca54537f35f9d856
patch
-
github.com
/haproxy/haproxy/issues/2237
exploit, issue-tracking, vendor-advisory, advisory
-
haproxy.org
/download/2.8/src/CHANGELOG
release-notes, article
-
haproxy.org
/download/2.7/src/CHANGELOG
release-notes, article
-
haproxy.org
/download/2.6/src/CHANGELOG
release-notes, article
-
cwe.mitre.org
/data/definitions/436.html
technical-description, article
-
nvd.nist.gov
/vuln/detail/CVE-2023-40225
web
Sources
- CVE List CVE-2023-40225
- NVD CVE-2023-40225
- OSV BIT-haproxy-2023-40225
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.