Skip to content
OpenAdvisories
Unscored CVE-2018-10184 EUVD-2018-2262GHSA-v27h-hh5q-3p4q

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 bei…

Published May 9, 2018 · Updated Aug 5, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 haproxy 1.8.8-1 —
Debian 13 haproxy 1.8.8-1 —
Debian 12 haproxy 1.8.8-1 —
ReleasePackageFixed inAdvisory
RHEL 3 rh-haproxy18-haproxy +1 1.8.4-2.el7 RHSA-2018:1372
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat OpenShift 3 haproxy +1 1.8.8-1.el7 RHBA-2018:1566

Advisories 2

References