CVE-2018-20102

haproxy: Out-of-bounds read in dns.c:dns_validate_dns_response() allows for memory disclosure

Published Dec 12, 2018 CVSS 3.0 · 7.5 High EPSS 4.2% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3034-1 haproxy security update
EUVD EUVD EUVD-2018-12672 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.
Ubuntu USN Ubuntu USN USN-3858-1 HAProxy vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 11:51 AM
Reserved
Dec 12, 2018, 12:00 AM
Status
Modified
Published
Dec 12, 2018, 5:29 PM
Modified
Jun 17, 2026, 1:52 AM
Severity
Moderate
Public date
Dec 12, 2018, 12:00 AM