Public Date:
1658874: CVE-2018-20102 haproxy: Out-of-bounds read in dns.c:dns_validate_dns_response() allows for memory disclosure

The MITRE CVE dictionary describes this issue as:

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.

Find out more about CVE-2018-20102 from the MITRE CVE dictionary dictionary and NIST NVD.


This issue did not affect the versions of haproxy as shipped with Red Hat Enterprise Linux 6 and 7.

CVSS v3 metrics

NOTE: The following CVSS v3 metrics and score provided are preliminary and subject to review.

CVSS3 Base Score 6.5
CVSS3 Base Metrics CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Low
Integrity Impact None
Availability Impact Low

Affected Packages State

Platform Package State
Red Hat Software Collections for Red Hat Enterprise Linux rh-haproxy18-haproxy Affected
Red Hat OpenShift Container Platform 3.9 haproxy Affected
Red Hat OpenShift Container Platform 3.7 haproxy Affected
Red Hat OpenShift Container Platform 3.11 haproxy Affected
Red Hat OpenShift Container Platform 3.10 haproxy Affected
Red Hat Enterprise Linux 7 haproxy Not affected
Red Hat Enterprise Linux 6 haproxy Not affected

External References

Last Modified

CVE description copyright © 2017, The MITRE Corporation