Out-of-bounds Read in Haproxy
CVE-2018-20102
An out-of-bounds read in dns_validate_dns_response in dns.c was discovered in HAProxy through 1.8.14. Due to a missing check when validating DNS responses, remote attackers might be able read the 16 bytes corresponding to an AAAA record from the non-initialized part of the buffer, possibly accessing anything that was left on the stack, or even past the end of the 8193-byte buffer, depending on the value of accepted_payload_size.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.042, 91.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Haproxy
- Canonical Ubuntu Linux — versions 16.04, 18.04, 18.10
- Red Hat Openshift Container Platform — versions 3.11
Weakness classification (CWE)
References
- git.haproxy.org/
- USN-3858-1 (vendor-advisory, Third Party Advisory)
- RHBA-2019:0326 (vendor-advisory, Third Party Advisory)
- www.securityfocus.com/bid/106223 (Third Party Advisory, VDB Entry, vdb-entry)
- RHBA-2019:0327 (vendor-advisory, Third Party Advisory)
- RHSA-2019:1436 (vendor-advisory)
- [debian-lts-announce] 20220530 [SECURITY] [DLA 3034-1] haproxy security update (mailing-list)