Vulnerability Name:

CVE-2021-39240 (CCN-207698)

Assigned:2021-08-17
Published:2021-08-17
Updated:2021-09-14
Summary: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.
CVSS v3 Severity:7.5 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N)
6.5 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): None
Availibility (A): None
7.5 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N)
6.5 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): None
Availibility (A): None
CVSS v2 Severity:5.0 Medium (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): None
Availibility (A): None
7.8 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:C/I:N/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): None
Availibility (A): None
Vulnerability Type:CWE-noinfo
Vulnerability Consequences:Obtain Information
References:Source: MITRE
Type: CNA
CVE-2021-39240

Source: XF
Type: UNKNOWN
haproxy-cve202139240-info-disc(207698)

Source: CCN
Type: HAProxy GIT Repository
h2: verify that :path starts with a '/' before concatenating it

Source: MISC
Type: Mailing List, Patch, Vendor Advisory
https://git.haproxy.org/?p=haproxy.git;a=commit;h=4b8852c70d8c4b7e225e24eb58258a15eb54c26e

Source: MISC
Type: Mailing List, Patch, Vendor Advisory
https://git.haproxy.org/?p=haproxy.git;a=commit;h=a495e0d94876c9d39763db319f609351907a31e8

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2021-3ab4512c98

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2021-e6557245e8

Source: DEBIAN
Type: Third Party Advisory
DSA-4960

Source: CCN
Type: IBM Security Bulletin 6512858 (Watson Knowledge Catalog on-prem)
Vulnerabilities in HAProxy Watson Knowledge Catalog for IBM Cloud Pak for Data

Source: MISC
Type: Third Party Advisory
https://www.mail-archive.com/haproxy@formilux.org/msg41041.html

Vulnerable Configuration:Configuration 1:
  • cpe:/a:haproxy:haproxy:*:*:*:*:*:*:*:* (Version >= 2.2.0 and < 2.2.16)
  • OR cpe:/a:haproxy:haproxy:*:*:*:*:*:*:*:* (Version >= 2.3.0 and < 2.3.13)
  • OR cpe:/a:haproxy:haproxy:*:*:*:*:*:*:*:* (Version >= 2.4.0 and < 2.4.3)

  • Configuration 2:
  • cpe:/o:debian:debian_linux:11.0:*:*:*:*:*:*:*

  • Configuration 3:
  • cpe:/o:fedoraproject:fedora:33:*:*:*:*:*:*:*
  • OR cpe:/o:fedoraproject:fedora:34:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:112392
    P
    haproxy-2.4.4+git0.acb1d0bea-1.2 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:105902
    P
    haproxy-2.4.4+git0.acb1d0bea-1.2 on GA media (Moderate)
    2021-10-01
    BACK
    haproxy haproxy *
    haproxy haproxy *
    haproxy haproxy *
    debian debian linux 11.0
    fedoraproject fedora 33
    fedoraproject fedora 34