CVE-2018-10184: Buffer Overflow

Published Apr 19, 2018
·
Updated

An issue was discovered in HAProxy before 1.8.8. The incoming H2 frame length was checked against the maxframesize setting instead of being checked against the bufsize. The maxframesize 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.

Other sources

HAProxy 1.8.x before version 1.8.8 is vulnerable to a heap-based buffer overflow in the muxh2.c:h2processdemux() function. A remote attacker could exploit this to overflow the heap by 16kb to cause a denial of service or other potential unspecified impact.

Red Hat

Affected Software

6 affected componentsFixes available
redhat/haproxy<1.8.8
1.8.8
HAProxy HAProxy<1.8.8
redhat Enterprise Linux=7.0
redhat Enterprise Linux=7.3
redhat Enterprise Linux=7.4
redhat Enterprise Linux=7.5

Event History

May 9, 2018
CVE Published
via MITRE·07:00 AM
Data Sourced
via MITRE·07:00 AM
Description

Frequently Asked Questions

1

What is CVE-2018-10184?

CVE-2018-10184 is a vulnerability discovered in HAProxy before version 1.8.8. The vulnerability allows for a bypass of security restrictions.

2

What is the severity of CVE-2018-10184?

The severity of CVE-2018-10184 is high, with a severity value of 7.5.

3

How does CVE-2018-10184 affect HAProxy?

CVE-2018-10184 affects HAProxy before version 1.8.8. It allows for a bypass of security restrictions related to H2 frame length checking.

4

How can I mitigate the impact of CVE-2018-10184?

To mitigate the impact of CVE-2018-10184, it is recommended to update HAProxy to version 1.8.8 or higher.

5

Where can I find more information about CVE-2018-10184?

More information about CVE-2018-10184 can be found in the references provided: http://git.haproxy.org/?p=haproxy-1.8.git;a=commit;h=cd117685f0cff4f2f5577ef6a21eaae96ebd9f28, http://git.haproxy.org/?p=haproxy.git;a=commit;h=3f0e1ec70173593f4c2b3681b26c04a4ed5fc588, and https://access.redhat.com/errata/RHSA-2018:1372.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203