Heap overflow in HAProxy during H2 frame handling
Multiple products
At a glance
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.
Source description · CVE List / CNA
System impact
CVSS summary v3.0
- Published:
- Updated:
- EPSS:
- 8.149%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:Red Hat | Red Hat OpenShift Container Platform 3.9 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) | Affected versions:Source does not specify a version range |
| Vendor:haproxy | haproxy | Affected versions:< 1.8.8Show full version range for haproxy
|
| Vendor:redhat | enterprise linux | Affected versions:7.0Show full version range for enterprise linux7.37.47.5
|
1–8 of 8 · Page 1 of 1
CVSS scores and metrics3
[email protected] · NVD (Primary)Primary7.5 / 10HighCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HRed Hat · Red Hat VEX (adp)8.6 / 10HighCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- Low
- Integrity
- Low
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H[email protected] · NVD (Primary)5.0 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:N/I:N/A:PCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories7
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences