CVE-2018-20102

high

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.

References

https://usn.ubuntu.com/3858-1/

https://lists.debian.org/debian-lts-announce/2022/05/msg00045.html

https://access.redhat.com/errata/RHSA-2019:1436

https://access.redhat.com/errata/RHBA-2019:0327

https://access.redhat.com/errata/RHBA-2019:0326

http://www.securityfocus.com/bid/106223

http://git.haproxy.org/?p=haproxy.git%3Ba=commit%3Bh=efbbdf72992cd20458259962346044cafd9331c0

Details

Source: Mitre, NVD

Published: 2018-12-12

Updated: 2024-11-21

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

Severity: Medium

CVSS v3

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Severity: High