DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium
Debian Bugs916308

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
haproxy (PTS)stretch1.7.5-2vulnerable
buster (security)1.8.19-1+deb10u2fixed
bullseye (security), bullseye2.2.9-2+deb11u2fixed
bookworm, sid2.4.9-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
haproxysourcejessie(not affected)


[stretch] - haproxy <no-dsa> (Minor issue; can be fixed via point release)
[jessie] - haproxy <not-affected> (Vulnerable code not present);a=commit;h=efbbdf72992cd20458259962346044cafd9331c0

Search for package or bug name: Reporting problems