Skip to content
OpenAdvisories
Unscored CVE-2023-40225 EUVD-2023-44822GHSA-xgq7-jp95-v2qv

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 Aug 10, 2023 · Updated Oct 9, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 haproxy 2.6.15-1 —
Debian 13 haproxy 2.6.15-1 —
Debian 12 haproxy 2.6.12-1+deb12u1 DSA-5590-1
Debian 11 haproxy 2.2.9-2+deb11u6 DSA-5590-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS haproxy 2.4.22-0ubuntu0.22.04.2 USN-6294-1
Ubuntu 20.04 LTS haproxy 2.0.31-0ubuntu0.2 USN-6294-2
ReleasePackageFixed inAdvisory
RHEL 9 haproxy 2.4.22-3.el9_3 RHSA-2024:1142
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.2 EUS haproxy 2.4.17-6.el9_2.2 RHSA-2024:1089
Red Hat Openshift Ironic 4 python-werkzeug +1 2.2.3-2.el9 RHSA-2023:7473
Red Hat OpenShift 4 haproxy +1 2.2.24-4.rhaos4.11.el8 RHSA-2024:0308, RHSA-2024:0200, RHSA-2023:7606
Red Hat OpenShift 4 haproxy26 2.6.13-2.rhaos4.14.el8 RHSA-2023:7473

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 haproxy 2.4.22-3.el9_3 ALSA-2024:1142
ReleasePackageFixed inAdvisory
SLES 15 SP5 haproxy 2.4.22+git0.f8e3218e2-150400.3.16.1 SUSE-SU-2023:3469-1
SLES 15 SP4 haproxy 2.4.22+git0.f8e3218e2-150400.3.16.1 SUSE-SU-2023:3469-1
SLES 15 SP3 haproxy 2.0.31-150200.11.23.1 SUSE-SU-2023:3490-1
SLES 15 SP2 haproxy 2.0.31-150200.11.23.1 SUSE-SU-2023:3490-1
SLES 15 SP1 haproxy 2.0.31-150100.8.34.1 SUSE-SU-2023:4646-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLE Micro 5.4 haproxy 2.4.22+git0.f8e3218e2-150400.3.16.1 SUSE-SU-2023:3469-1
SLE Micro 5.3 haproxy 2.4.22+git0.f8e3218e2-150400.3.16.1 SUSE-SU-2023:3469-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed haproxy 2.8.2+git0.61a0f576a-2.1 openSUSE-SU-2024:13116-1
openSUSE Leap 15.5 haproxy 2.4.22+git0.f8e3218e2-150400.3.16.1 SUSE-SU-2023:3469-1
openSUSE Leap 15.4 haproxy 2.4.22+git0.f8e3218e2-150400.3.16.1 SUSE-SU-2023:3469-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.4 haproxy 2.4.22+git0.f8e3218e2-150400.3.16.1 SUSE-SU-2023:3469-1
openSUSE Leap Micro 5.3 haproxy 2.4.22+git0.f8e3218e2-150400.3.16.1 SUSE-SU-2023:3469-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 haproxy 2.8.0-1.amzn2023.0.2 ALAS2023-2023-293

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) haproxy 2.4.24-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 haproxy 2.4.22-3.el9_3 ELSA-2024-1142

Advisories 18

References