CVE-2021-39242 Other in n/a

High 7.5 Published Updated

An attacker can exploit mishandled HTTP Host header mismatches in HAProxy to bypass security controls or cause unexpected behavior.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-39242?

CVE-2021-39242 is a high-severity vulnerability in Debian Debian Linux, published on 17 Aug 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-755

Which versions are affected by CVE-2021-39242?

1 open source package ship an affected version, including haproxy. It affects 3 products.

PackageAffectedFixed in
haproxy BitnamiFrom 2.2.02.2.16, 2.3.13, 2.4.3

Products include Debian Debian Linux, Fedoraproject Fedora, Haproxy Haproxy.

How do I fix CVE-2021-39242?

Upgrade haproxy to a fixed version for your release line: 2.2.16, 2.3.13 or 2.4.3.

Is CVE-2021-39242 being exploited?

There is no known exploitation of CVE-2021-39242 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as BIT-haproxy-2021-39242, DEBIAN-CVE-2021-39242, GHSA-gh3m-9h22-r3r5.

Is CVE-2021-39242 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free