Back

HIGH

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

Published Dec 12, 2018

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.

Affected products

Remediation

Red Hat statement

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

Metrics

References (12)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Dec 12, 2018
Updated Aug 5, 2024
Reserved Dec 12, 2018
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Moderate
Public date Dec 12, 2018