Name | CVE-2021-39242 |
Description | 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 can lead to a situation with an attacker-controlled HTTP Host header, because a mismatch between Host and authority is mishandled. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-4960-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
haproxy (PTS) | jessie, jessie (lts) | 1.5.8-3+deb8u4 | fixed |
| stretch (security) | 1.7.5-2+deb9u1 | fixed |
| stretch (lts), stretch | 1.7.5-2+deb9u2 | fixed |
| buster (security), buster, buster (lts) | 1.8.19-1+deb10u5 | fixed |
| bullseye (security), bullseye | 2.2.9-2+deb11u6 | fixed |
| bookworm (security), bookworm | 2.6.12-1+deb12u1 | fixed |
| sid, trixie | 3.0.7-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
haproxy | source | jessie | (not affected) | | | |
haproxy | source | stretch | (not affected) | | | |
haproxy | source | buster | (not affected) | | | |
haproxy | source | bullseye | 2.2.9-2+deb11u1 | | DSA-4960-1 | |
haproxy | source | (unstable) | 2.2.16-1 | | | |
Notes
[buster] - haproxy <not-affected> (Vulnerable code introduced later)
[stretch] - haproxy <not-affected> (Vulnerable code introduced later)
https://www.mail-archive.com/haproxy@formilux.org/msg41041.html
https://git.haproxy.org/?p=haproxy.git;a=commit;h=b5d2b9e154d78e4075db163826c5e0f6d31b2ab1
[jessie] - haproxy <not-affected> (Vulnerable code introduced later)