Vulnerabilities · 2021 · Haproxy
CVE-2021-39240
Haproxy vulnerability
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.
Affected products
Haproxy, Debian Linux, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Haproxy runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.debian.org/security/2021/dsa-4960 · Third Party Advisory
- git.haproxy.org/?p=haproxy.git%3Ba=commit%3Bh=4b8852c70d8c4b7e225e24eb58258a15eb54c26e
- git.haproxy.org/?p=haproxy.git%3Ba=commit%3Bh=a495e0d94876c9d39763db319f609351907a31e8
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R
- www.mail-archive.com/haproxy%40formilux.org/msg41041.html
- nvd.nist.gov/vuln/detail/CVE-2021-39240
- cve.org/CVERecord?id=CVE-2021-39240
More vulnerabilities in Haproxy products
CVE-2025-11230CVE-2024-45506CVE-2023-45539CVE-2023-40225CVE-2023-25950CVE-2023-25725CVE-2023-0836CVE-2023-0056All 32
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.