CVE-2018-20102

haproxy: An out-of-bounds read in dns_validate_dns_response in dns.c was discovered in HAProxy through 1.8.14

CVE-2018-20102 is fixed in 2 products on 1 platform, first by haproxy 1.8.8-1ubuntu0.3, released December 30, 2018. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
n/a
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0415
90th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
haproxy · Ubuntu 18.04.6 LTS (bionic) 1.8.8-1ubuntu0.3 haproxy 1.8.8-1ubuntu0.3 Dec 30, 2018
vim-haproxy · Ubuntu 18.04.6 LTS (bionic) 1.8.8-1ubuntu0.3 vim-haproxy 1.8.8-1ubuntu0.3 Dec 30, 2018