CVSS 3.1
7.2 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:NHigh (7.2) in haproxy haproxy. EPSS 2.1% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:NExplain CVE-2023-40225 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-40225?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-40225?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-40225 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| haproxy:haproxy | through 2.0.32 |
| haproxy:haproxy | from 2.2.0 through 2.2.30 |
| haproxy:haproxy | from 2.4.0 through 2.4.23 |
| haproxy:haproxy | from 2.5.0 before 2.6.15 |
| haproxy:haproxy | from 2.7.0 before 2.7.10 |
| haproxy:haproxy | from 2.8.0 before 2.8.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | haproxy | 2.2.9-2+deb11u6 | DSA-5590-1 |
| Debian | 12 | haproxy | 2.6.12-1+deb12u1 | DEBIAN-CVE-2023-40225 DSA-5590-1 |
| Debian | 13, 14 | haproxy | 2.6.15-1 | DEBIAN-CVE-2023-40225 |
| Ubuntu | 20.04:LTS | haproxy | 2.0.31-0ubuntu0.2 | UBUNTU-CVE-2023-40225 USN-6294-2 |
| Ubuntu | 22.04:LTS | haproxy | 2.4.22-0ubuntu0.22.04.2 | UBUNTU-CVE-2023-40225 USN-6294-1 |
| Red Hat | enterprise_linux:9::appstream | haproxy, haproxy-debuginfo, haproxy-debugsource | 0:2.4.22-3.el9_3 | RHSA-2024:1142 |
| Red Hat | openshift:4.11::el8 | haproxy, haproxy22, haproxy-debugsource and 1 more | 0:2.2.24-4.rhaos4.11.el8 | RHSA-2024:0308 |
| Red Hat | openshift:4.12::el8 | haproxy, haproxy22, haproxy-debugsource and 1 more | 0:2.2.24-4.rhaos4.12.el8 | RHSA-2024:0200 |
| Red Hat | openshift:4.13::el8 | haproxy, haproxy22, haproxy-debugsource and 1 more | 0:2.2.24-4.rhaos4.13.el8 | RHSA-2023:7606 |
| Red Hat | openshift:4.14::el8 | haproxy, haproxy26, haproxy-debugsource and 1 more | 0:2.6.13-2.rhaos4.14.el8 | RHSA-2023:7473 |
| Red Hat | openshift_ironic:4.14::el9 | python-werkzeug, python3-werkzeug | 0:2.2.3-2.el9 | RHSA-2023:7473 |
| Red Hat | rhel_eus:9.2::appstream | haproxy, haproxy-debuginfo, haproxy-debugsource | 0:2.4.17-6.el9_2.2 | RHSA-2024:1089 |
| SUSE | Linux Enterprise High Availability Extension 15 SP1 | haproxy | 2.0.31-150100.8.34.1 | SUSE-SU-2023:4646-1 |
| SUSE | Linux Enterprise High Availability Extension 15 SP2, Linux Enterprise High Availability Extension 15 SP3 | haproxy | 2.0.31-150200.11.23.1 | SUSE-SU-2023:3490-1 |
| SUSE | Linux Enterprise High Availability Extension 15 SP4, Linux Enterprise High Availability Extension 15 SP5, Linux Enterprise Micro 5.3 and 1 more | haproxy | 2.4.22+git0.f8e3218e2-150400.3.16.1 | SUSE-SU-2023:3469-1 |
| openSUSE | Leap 15.4, Leap 15.5, Leap Micro 5.3 and 1 more | haproxy | 2.4.22+git0.f8e3218e2-150400.3.16.1 | SUSE-SU-2023:3469-1 |
| openSUSE | Tumbleweed | haproxy | 2.8.2+git0.61a0f576a-2.1 | openSUSE-SU-2024:13116-1 |
| AlmaLinux | 9 | haproxy | 2.4.22-3.el9_3 | ALSA-2024:1142 |
| Azure Linux | 2 | haproxy | 2.4.24-1 | AZL-27912 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Moderate.
This flaw can be mitigated by applying a rule to explicitly reject any requests with an empty Content-Lenght header. The following line can be added to any frontend configurations at the /etc/haproxy/haproxy.cfg file.
~~~
http-request deny if { hdr_len(content-length) 0 }
~~~
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 9 | haproxy-0:2.4.22-3.el9_3 | Fixed 2024-03-05 | RHSA-2024:1142 |
| Red Hat Enterprise Linux 9.2 Extended Update Support | haproxy-0:2.4.17-6.el9_2.2 | Fixed 2024-03-05 | RHSA-2024:1089 |
| Red Hat OpenShift Container Platform 4.11 | haproxy-0:2.2.24-4.rhaos4.11.el8 | Fixed 2024-01-25 | RHSA-2024:0308 |
| Red Hat OpenShift Container Platform 4.12 | haproxy-0:2.2.24-4.rhaos4.12.el8 | Fixed 2024-01-17 | RHSA-2024:0200 |
| Red Hat OpenShift Container Platform 4.13 | haproxy-0:2.2.24-4.rhaos4.13.el8 | Fixed 2023-12-06 | RHSA-2023:7606 |
| Red Hat OpenShift Container Platform 4.14 | haproxy-0:2.6.13-2.rhaos4.14.el8 | Fixed 2023-11-29 | RHSA-2023:7473 |
| Cryostat 2 | haproxy | Not affected | |
| Red Hat Ceph Storage 5 | haproxy | Out of support scope | |
| Red Hat Enterprise Linux 6 | haproxy | Out of support scope | |
| Red Hat Enterprise Linux 7 | haproxy | Out of support scope | |
| Red Hat Enterprise Linux 8 | haproxy | Not affected | |
| Red Hat OpenShift Container Platform 3.11 | haproxy | Out of support scope | |
| Red Hat Software Collections | rh-haproxy18-haproxy | Will not fix |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-40225.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.