| Name | CVE-2021-39240 |
| 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 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. |
| Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-4960-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| haproxy (PTS) | bullseye | 2.2.9-2+deb11u6 | fixed |
| bullseye (security) | 2.2.9-2+deb11u7 | fixed | |
| bookworm | 2.6.12-1+deb12u2 | fixed | |
| bookworm (security) | 2.6.12-1+deb12u3 | fixed | |
| trixie | 3.0.11-1 | fixed | |
| trixie (security) | 3.0.11-1+deb13u1 | fixed | |
| forky, sid | 3.2.6-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 | 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 |
[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=4b8852c70d8c4b7e225e24eb58258a15eb54c26e
https://git.haproxy.org/?p=haproxy.git;a=commit;h=a495e0d94876c9d39763db319f609351907a31e8