CVE-2018-10184

High

Description

An issue was discovered in HAProxy before 1.8.8. The incoming H2 frame length was checked against the max_frame_size setting instead of being checked against the bufsize. The max_frame_size only applies to outgoing traffic and not to incoming, so if a large enough frame size is advertised in the SETTINGS frame, a wrapped frame will be defragmented into a temporary allocated buffer where the second fragment may overflow the heap by up to 16 kB. It is very unlikely that this can be exploited for code execution given that buffers are very short lived and their addresses not realistically predictable in production, but the likelihood of an immediate crash is absolutely certain.

SeverityHigh
CVSS7.5
Exploit probability—
ProductHaproxy
PublishedMay 9, 2018
First seenMay 9, 2018

How to fix

Update
  • haproxy haproxy1.8.8 or later

Affected products

ProductAffected versionsFixed in
haproxy haproxyv < 1.8.81.8.8
redhat enterprise_linux7.0, 7.3, 7.4, 7.5—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.