
CVE catalog
CVE-2021-39240
haproxy: CVE-2021-39240
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.21% · Oct 25, 2026
An issue was discovered in HAProxy 2.2 before 2.2.16, 2.3 before 2.3.13, and 2.4 before 2.4.3. It does not ensure that the scheme and path portions of a URI have the expected characters. For example, the authority field (as observed on a target HTTP/2 server) might differ from what the routing rules were intended to achieve.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | haproxy | sid | 3.2.26-1 | fixed |
| Debian | haproxy | forky | 3.2.26-1 | fixed |
| Debian | haproxy | trixie | 3.0.11-1+deb13u3 | fixed |
| Debian | haproxy | trixie-security | 3.0.11-1+deb13u4 | fixed |
| Debian | haproxy | bookworm | 2.6.12-1+deb12u3 | fixed |
| Debian | haproxy | bookworm-security | 2.6.12-1+deb12u4 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | haproxy | source | sid | 2.2.16-1 | not yet assigned | Not reported | Not reported |
| Debian | haproxy | source | forky | 2.2.16-1 | not yet assigned | Not reported | Not reported |
| Debian | haproxy | source | trixie | 2.2.16-1 | not yet assigned | Not reported | Not reported |
| Debian | haproxy | source | bookworm | 2.2.16-1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [haproxy]Unknown
Details (4)
2.6.12-1+deb12u3· amd64 · bookwormFixed · Fixed:
2.2.16-1dsa · haproxy · debian · bookworm; dsa · haproxy · debian · 12
2.6.12-1+deb12u3· arm64 · bookwormFixed · Fixed:
2.2.16-1dsa · haproxy · debian · bookworm; dsa · haproxy · debian · 12
2.6.12-1+deb12u3· amd64 · bookworm-securityFixed · Fixed:
2.2.16-1dsa · haproxy · debian · bookworm; dsa · haproxy · debian · 12
2.6.12-1+deb12u3· arm64 · bookworm-securityFixed · Fixed:
2.2.16-1dsa · haproxy · debian · bookworm; dsa · haproxy · debian · 12
- [haproxy-doc]Unknown
Source package: [haproxy]
Details (4)
2.6.12-1+deb12u3· all · bookwormFixed · Fixed:
2.2.16-1dsa · haproxy · debian · bookworm; dsa · haproxy · debian · 12
2.6.12-1+deb12u3· all · bookwormFixed · Fixed:
2.2.16-1dsa · haproxy · debian · bookworm; dsa · haproxy · debian · 12
2.6.12-1+deb12u3· all · bookworm-securityFixed · Fixed:
2.2.16-1dsa · haproxy · debian · bookworm; dsa · haproxy · debian · 12
2.6.12-1+deb12u3· all · bookworm-securityFixed · Fixed:
2.2.16-1dsa · haproxy · debian · bookworm; dsa · haproxy · debian · 12
- [vim-haproxy]Unknown
Source package: [haproxy]
Details (4)
2.6.12-1+deb12u3· all · bookwormFixed · Fixed:
2.2.16-1dsa · haproxy · debian · bookworm; dsa · haproxy · debian · 12
2.6.12-1+deb12u3· all · bookwormFixed · Fixed:
2.2.16-1dsa · haproxy · debian · bookworm; dsa · haproxy · debian · 12
2.6.12-1+deb12u3· all · bookworm-securityFixed · Fixed:
2.2.16-1dsa · haproxy · debian · bookworm; dsa · haproxy · debian · 12
2.6.12-1+deb12u3· all · bookworm-securityFixed · Fixed:
2.2.16-1dsa · haproxy · debian · bookworm; dsa · haproxy · debian · 12
[Debian 13 (Trixie)]
- [haproxy]Unknown
Details (5)
3.0.11-1+deb13u3· amd64 · trixieFixed · Fixed:
2.2.16-1dsa · haproxy · debian · 13
3.0.11-1+deb13u3· arm64 · trixieFixed · Fixed:
2.2.16-1dsa · haproxy · debian · 13
3.0.11-1+deb13u3· amd64 · trixie-security · Historical versionFixed · Fixed:
2.2.16-1dsa · haproxy · debian · 13
3.0.11-1+deb13u3· arm64 · trixie-securityFixed · Fixed:
2.2.16-1dsa · haproxy · debian · 13
3.0.11-1+deb13u4· amd64 · trixie-securityFixed · Fixed:
2.2.16-1dsa · haproxy · debian · 13
- [haproxy-doc]Unknown
Source package: [haproxy]
Details (5)
3.0.11-1+deb13u3· all · trixieFixed · Fixed:
2.2.16-1dsa · haproxy · debian · 13
3.0.11-1+deb13u3· all · trixieFixed · Fixed:
2.2.16-1dsa · haproxy · debian · 13
3.0.11-1+deb13u3· all · trixie-securityFixed · Fixed:
2.2.16-1dsa · haproxy · debian · 13
3.0.11-1+deb13u3· all · trixie-security · Historical versionFixed · Fixed:
2.2.16-1dsa · haproxy · debian · 13
3.0.11-1+deb13u4· all · trixie-securityFixed · Fixed:
2.2.16-1dsa · haproxy · debian · 13
- [vim-haproxy]Unknown
Source package: [haproxy]
Details (5)
3.0.11-1+deb13u3· all · trixieFixed · Fixed:
2.2.16-1dsa · haproxy · debian · 13
3.0.11-1+deb13u3· all · trixieFixed · Fixed:
2.2.16-1dsa · haproxy · debian · 13
3.0.11-1+deb13u3· all · trixie-security · Historical versionFixed · Fixed:
2.2.16-1dsa · haproxy · debian · 13
3.0.11-1+deb13u3· all · trixie-securityFixed · Fixed:
2.2.16-1dsa · haproxy · debian · 13
3.0.11-1+deb13u4· all · trixie-securityFixed · Fixed:
2.2.16-1dsa · haproxy · debian · 13
Observed:
References
- [https://access.redhat.com/errata/RHSA-2021:4118]
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_10839-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-39240]
- [https://osv.dev/vulnerability/DSA-4960-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-39240]
- [https://wid.cert-bund.de/.well-known/csaf/white/2021/wid-sec-w-2023-2456.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]