CVE-2023-25725
haproxy: request smuggling attack in HTTP/1 header parsing
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Bitnami, CBL-Mariner, Photon OS. Rated lower by Red Hat (high), AlmaLinux (medium), Oracle (medium), Ubuntu (medium).
Description
HAProxy before 2.7.3 may allow a bypass of access control because HTTP/1 headers are inadvertently lost in some situations, aka "request smuggling." The HTTP header parsers in HAProxy may accept empty header field names, which could be used to truncate the list of HTTP headers and thus make some headers disappear after being parsed and processed for HTTP/1.0 and HTTP/1.1. For HTTP/2 and HTTP/3, the impact is limited because the headers disappear before being parsed and processed, as if they had not been sent by the client. The fixed versions are 2.7.3, 2.6.9, 2.5.12, 2.4.22, 2.2.29, and 2.0.31.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | haproxy | 2.0.31, 2.2.29, 2.4.22, 2.5.12, 2.6.9, 2.7.3 |
| CBL-Mariner 1.0 | haproxy | 0:2.1.5-2.cm1 |
| CBL-Mariner 2.0 | haproxy | 0:2.4.22-1.cm2 |
| Photon OS 3.0 | haproxy | 2.2.6-5.ph3 |
| Photon OS 4.0 | haproxy, haproxy-doc | 2.6.0-2.ph4 |
| Photon OS 5.0 | haproxy, haproxy-doc | 2.7.3-1.ph5 |
| alma 9 | haproxy | 2.4.17-3.el9_1.2 |
| debian 10 | haproxy | 1.8.19-1+deb10u4 |
| debian 11 | haproxy | 2.2.9-2+deb11u4 |
| debian 12 | haproxy | 2.6.8-2 |
| debian 13 | haproxy | 2.6.8-2 |
| debian 14 | haproxy | 2.6.8-2 |
Show all 33 entries from 30 sources
| Source | Package | Fixed in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | haproxy | 2.0.31, 2.2.29, 2.4.22, 2.5.12, 2.6.9, 2.7.3 |
| CBL-Mariner 1.0 | haproxy | 0:2.1.5-2.cm1 |
| CBL-Mariner 2.0 | haproxy | 0:2.4.22-1.cm2 |
| Photon OS 3.0 | haproxy | 2.2.6-5.ph3 |
| Photon OS 4.0 | haproxy | 2.6.0-2.ph4 |
| Photon OS 4.0 | haproxy-doc | 2.6.0-2.ph4 |
| Photon OS 5.0 | haproxy | 2.7.3-1.ph5 |
| Photon OS 5.0 | haproxy-doc | 2.7.3-1.ph5 |
| alma 9 | haproxy | 2.4.17-3.el9_1.2 |
| debian 10 | haproxy | 1.8.19-1+deb10u4 |
| debian 11 | haproxy | 2.2.9-2+deb11u4 |
| debian 12 | haproxy | 2.6.8-2 |
| debian 13 | haproxy | 2.6.8-2 |
| debian 14 | haproxy | 2.6.8-2 |
| echo | haproxy | 2.6.8-2 |
| Oracle Linux 9 | haproxy | 2.4.17-3.el9_1.2 |
| rapidfort Oracle Linux 9 | haproxy | 0:2.4.17-3.el9_1.2 |
| rapidfort ubuntu 20.04 | haproxy | 0:2.4.18-0ubuntu1.2 |
| rapidfort ubuntu 22.04 | haproxy | 0:2.4.18-0ubuntu1.2 |
| rapidfort ubuntu 24.04 | haproxy | 0:2.4.18-0ubuntu1.2 |
| Red Hat | haproxy | no fix listed |
| Red Hat | haproxy18 | no fix listed |
| ubuntu 16.04-ESM | haproxy | 1.6.3-1ubuntu0.3+esm2 |
| ubuntu 18.04 | haproxy | 1.8.8-1ubuntu0.13 |
| ubuntu 18.04-ESM | haproxy | 1.8.8-1ubuntu0.13 |
| ubuntu 20.04 | haproxy | 2.0.29-0ubuntu1.3 |
| ubuntu 20.04-ESM | haproxy | 2.0.29-0ubuntu1.3 |
| ubuntu 22.04 | haproxy | 2.4.18-0ubuntu1.2 |
| ubuntu 22.10 | haproxy | 2.4.18-1ubuntu1.2 |
| ubuntu 23.04 | haproxy | 2.6.9-1ubuntu1 |
| ubuntu 23.10 | haproxy | 2.6.9-1ubuntu1 |
| ubuntu 24.04 | haproxy | 2.6.9-1ubuntu1 |
| ubuntu 24.10 | haproxy | 2.6.9-1ubuntu1 |
References
- https://access.redhat.com/errata/RHSA-2023:1696
- https://access.redhat.com/security/cve/CVE-2023-25725
- https://bugzilla.redhat.com/2160808
- https://bugzilla.redhat.com/2169089
- https://errata.almalinux.org/9/ALSA-2023-1696.html
- https://git.haproxy.org/?p=haproxy-2.7.git%3Ba=commit%3Bh=a0e561ad7f29ed50c473f5a9da664267b60d1112
- https://linux.oracle.com/cve/CVE-2023-25725.html
- https://linux.oracle.com/errata/ELSA-2023-1696.html
All 19 references
- https://lists.debian.org/debian-lts-announce/2023/02/msg00012.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FPTJQHKUEU2PQ7RWFUYAFLAD4STEIKHU/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JM5NCIBTHYDTLPY2UNC4HO2VAHHE6CJG/
- https://nvd.nist.gov/vuln/detail/CVE-2023-25725
- https://ubuntu.com/security/notices/USN-5869-1
- https://ubuntu.com/security/notices/USN-7135-1
- https://www.cve.org/CVERecord?id=CVE-2023-25725
- https://www.debian.org/security/2023/dsa-5348
- https://www.haproxy.com/blog/february-2023-header-parser-fixed/
- https://www.haproxy.org/
- https://www.mail-archive.com/haproxy@formilux.org/msg43229.html