Infinite loop in HAProxy - CVE-2018-20103

 

Infinite loop in HAProxy - CVE-2018-20103

Published: December 14, 2018 / Updated: December 14, 2018


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

Vulnerability details

The vulnerability allows a remote attacker to cause DoS condition on the target system.

The vulnerability exists in the dns_read_name() function, as defined in the src/dns.c source code file due to an error when processing malicious input. A remote attacker can send a specially crafted packet that submits malicious input, make a compressed pointer point to itself trigger an infinite loop and cause the affected software to crash.


Affected software

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

How to mitigate CVE-2018-20103

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 (Debian package) - update to 1.7.5-2+deb9u1
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