CVE-2021-39242

Source
https://cve.org/CVERecord?id=CVE-2021-39242
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-39242.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-39242
Aliases
Downstream
Published
2021-08-17T19:15:08.320Z
Modified
2026-07-08T06:03:33.049655159Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:a:haproxy:haproxy:*:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "2.2.0"
                },
                {
                    "fixed": "2.2.16"
                },
                {
                    "introduced": "2.2.0"
                },
                {
                    "fixed": "2.2.16"
                },
                {
                    "introduced": "2.2.0"
                },
                {
                    "fixed": "2.2.16"
                },
                {
                    "introduced": "2.2.0"
                },
                {
                    "fixed": "2.2.16"
                },
                {
                    "introduced": "2.2.0"
                },
                {
                    "fixed": "2.2.16"
                },
                {
                    "introduced": "2.2.0"
                },
                {
                    "fixed": "2.2.16"
                },
                {
                    "introduced": "2.2.0"
                },
                {
                    "fixed": "2.2.16"
                },
                {
                    "introduced": "2.2.0"
                },
                {
                    "fixed": "2.2.16"
                },
                {
                    "introduced": "2.2.0"
                },
                {
                    "fixed": "2.2.16"
                },
                {
                    "introduced": "2.2.0"
                },
                {
                    "fixed": "2.2.16"
                },
                {
                    "introduced": "2.2.0"
                },
                {
                    "fixed": "2.2.16"
                },
                {
                    "introduced": "2.2.0"
                },
                {
                    "fixed": "2.2.16"
                },
                {
                    "introduced": "2.3.0"
                },
                {
                    "fixed": "2.3.13"
                },
                {
                    "introduced": "2.3.0"
                },
                {
                    "fixed": "2.3.13"
                },
                {
                    "introduced": "2.3.0"
                },
                {
                    "fixed": "2.3.13"
                },
                {
                    "introduced": "2.3.0"
                },
                {
                    "fixed": "2.3.13"
                },
                {
                    "introduced": "2.3.0"
                },
                {
                    "fixed": "2.3.13"
                },
                {
                    "introduced": "2.3.0"
                },
                {
                    "fixed": "2.3.13"
                },
                {
                    "introduced": "2.3.0"
                },
                {
                    "fixed": "2.3.13"
                },
                {
                    "introduced": "2.3.0"
                },
                {
                    "fixed": "2.3.13"
                },
                {
                    "introduced": "2.3.0"
                },
                {
                    "fixed": "2.3.13"
                },
                {
                    "introduced": "2.3.0"
                },
                {
                    "fixed": "2.3.13"
                },
                {
                    "introduced": "2.3.0"
                },
                {
                    "fixed": "2.3.13"
                },
                {
                    "introduced": "2.3.0"
                },
                {
                    "fixed": "2.3.13"
                }
            ],
            "source": "CPE_RANGE",
            "vendor_product": "haproxy:haproxy"
        },
        {
            "cpes": [
                "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "11.0"
                },
                {
                    "last_affected": "11.0"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "debian:debian_linux"
        },
        {
            "cpes": [
                "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*",
                "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "33"
                },
                {
                    "last_affected": "33"
                },
                {
                    "introduced": "34"
                },
                {
                    "last_affected": "34"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "fedoraproject:fedora"
        }
    ]
}
References

Affected packages

Git / github.com/haproxy/haproxy

Affected ranges

Type
GIT
Repo
https://github.com/haproxy/haproxy
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "2.4.0"
        },
        {
            "fixed": "2.4.3"
        }
    ],
    "cpe": "cpe:2.3:a:haproxy:haproxy:*:*:*:*:*:*:*:*",
    "source": "CPE_RANGE"
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-39242.json"