Out-of-bounds read in HAProxy - CVE-2018-20102

 

Out-of-bounds read in HAProxy - CVE-2018-20102

Published: December 14, 2018


Vulnerability identifier: #VU16548
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-20102
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to obtain potentially sensitive information on the target system.

The vulnerability exists due to improper checking of valid DNS responses by the dns_validate_dns_response function, as defined in the dns.c source code file. A remote attacker can send a specially crafted request that submits malicious input, trigger an out-of-bounds read access and obtain sensitive information.


Affected software

HAProxy
Arch Linux
Opensuse
Fedora
haproxy (Ubuntu package)
haproxy
rh-haproxy18-haproxy (Red Hat package)

How to mitigate CVE-2018-20102

Update to version 1.18.15.

HAProxy - update to 1.8.15
haproxy (Ubuntu package) - addressed in versions 1.6.3-1ubuntu0.2, 1.8.8-1ubuntu0.3, 1.8.13-2ubuntu0.1
haproxy - addressed in versions 1.8.15-1.fc28, 1.8.15-1.fc29
rh-haproxy18-haproxy (Red Hat package) - update to 1.8.17-1.el7

External References

Related Security Bulletins