# CVE-2023-40225: haproxy: The haproxy packages provide a reliable, high-performance network load balancer for TCP and HTTP-based applications....

CVE-2023-40225 is fixed in 4 products on 1 platform, first by haproxy 2.0.31-0ubuntu0.2, released August 10, 2023. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2023-40225
- Priority: High
- CVSS: 7.5 (Moderate)
- EPSS: 0.0215
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 10, 2023

## Description

The haproxy packages provide a reliable, high-performance network load balancer for TCP and HTTP-based applications.  Security Fix(es):  * haproxy: Proxy forwards malformed empty Content-Length headers (CVE-2023-40225)  * haproxy: untrimmed URI fragments may lead to exposure of confidential data on static servers (CVE-2023-45539)  For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | haproxy Debian 11.6 (bullseye) | 2.2.9-2+deb11u6 | [DSA-5590-1](https://patchblox.com/security/data/fix/linux/dsa-5590-1.md) | Dec 28, 2023 |
| Linux | haproxy Debian 12.15 (bookworm) | 2.6.12-1+deb12u1 | [DSA-5590-1](https://patchblox.com/security/data/fix/linux/dsa-5590-1.md) | Dec 28, 2023 |
| Linux | haproxy Debian 13.5 (trixie) | 2.6.15-1 | [DEBIAN-CVE-2023-40225](https://patchblox.com/security/data/fix/linux/debian-cve-2023-40225.md) | Aug 10, 2023 |
| Linux | haproxy Debian 14 | 2.6.15-1 | [DEBIAN-CVE-2023-40225](https://patchblox.com/security/data/fix/linux/debian-cve-2023-40225.md) | Aug 10, 2023 |
| Linux | haproxy RHEL 9 | 0:2.4.22-3.el9_3 | [RHSA-2024:1142](https://patchblox.com/security/data/fix/linux/rhsa-2024-1142.md) | Mar 5, 2024 |
| Linux | haproxy Ubuntu 20.04 LTS (focal) | 2.0.31-0ubuntu0.2 | [haproxy 2.0.31-0ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-haproxy-2.0.31-0ubuntu0.2.md) | Aug 10, 2023 |
| Linux | haproxy Ubuntu 22.04.1 LTS (jammy) | 2.4.22-0ubuntu0.22.04.2 | [haproxy 2.4.22-0ubuntu0.22.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-haproxy-2.4.22-0ubuntu0.22.04.2.md) | Aug 10, 2023 |
| Linux | haproxy almalinux 9 | 2.4.22-3.el9_3 | [ALSA-2024:1142](https://patchblox.com/security/data/fix/linux/alsa-2024-1142.md) | Mar 5, 2024 |
| Linux | haproxy amzn 2023 | 2.8.0-1.amzn2023.0.2 | [ALAS2023-2023-293](https://patchblox.com/security/data/fix/linux/alas2023-2023-293.md) | Aug 17, 2023 |
| Linux | haproxy ol 9 | 0:2.4.22-3.el9_3 | [ELSA-2024-1142](https://patchblox.com/security/data/fix/linux/elsa-2024-1142.md) | Mar 6, 2024 |
| Linux | haproxy-debuginfo amzn 2023 | 2.8.0-1.amzn2023.0.2 | [ALAS2023-2023-293](https://patchblox.com/security/data/fix/linux/alas2023-2023-293.md) | Aug 17, 2023 |
| Linux | haproxy-debugsource amzn 2023 | 2.8.0-1.amzn2023.0.2 | [ALAS2023-2023-293](https://patchblox.com/security/data/fix/linux/alas2023-2023-293.md) | Aug 17, 2023 |
| Linux | vim-haproxy Ubuntu 20.04 LTS (focal) | 2.0.31-0ubuntu0.2 | [vim-haproxy 2.0.31-0ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-vim-haproxy-2.0.31-0ubuntu0.2.md) | Aug 10, 2023 |
| Linux | vim-haproxy Ubuntu 22.04.1 LTS (jammy) | 2.4.22-0ubuntu0.22.04.2 | [vim-haproxy 2.4.22-0ubuntu0.22.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-vim-haproxy-2.4.22-0ubuntu0.22.04.2.md) | Aug 10, 2023 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
