CVE-2018-10184 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 appli...
HighCVSS 7.5
EPSS 8.1%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/haproxy(Debian:12) | < 1.8.8-1 | 1.8.8-1 |
| debian/haproxy(Debian:13) | < 1.8.8-1 | 1.8.8-1 |
| debian/haproxy(Debian:14) | < 1.8.8-1 | 1.8.8-1 |
| HAProxy | < 1.8.8 | 1.8.8 |
| redhat enterprise linux | = 7.0 | No fix listed |
| redhat enterprise linux | = 7.3 | No fix listed |
| redhat enterprise linux | = 7.4 | No fix listed |
| redhat enterprise linux | = 7.5 | No fix listed |
References
- Debian Security Tracker CVE-2018-10184 vendor-advisory
- git.haproxy.org
- git.haproxy.org
- RHSA-2018:1372 third-party-advisory vendor-advisory