#VU12524 Heap-based buffer overflow in HAProxy


Published: 2018-05-10

Vulnerability identifier: #VU12524

Vulnerability risk: Medium

CVSSv3.1: 7.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2018-10184

CWE-ID: CWE-122

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
HAProxy
Server applications / IDS/IPS systems, Firewalls and proxy servers

Vendor: HAProxy

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

The weakness exists in the mux_h2.c source code file due to improper H2 frame length checking. The H2 frame length is checked against the max_frame_size setting instead of being checked against the bufsize. A remote attacker can send a request that submits a large H2 frame, trigger heap-based buffer overflow and cause the service to crash.

Mitigation
Update to version 1.8.8.

Vulnerable software versions

HAProxy: 1.8.0 - 1.8.7


External links
http://git.haproxy.org/?p=haproxy-1.8.git&a=commit&h=cd117685f0cff4f2f5577ef6a21eaae...


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability