Current 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.
Source:
MITRE
Description Last Modified:
05/09/2018
View Analysis Description
Analysis 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.
Source:
MITRE
Description Last Modified:
05/09/2018
Impact
CVSS v3.0 Severity and Metrics:
Base Score:
7.5 HIGH
Vector:
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
(V3 legend)
Impact Score:
3.6
Exploitability Score:
3.9
Attack Vector (AV):
Network
Attack Complexity (AC):
Low
Privileges Required (PR):
None
User Interaction (UI):
None
Scope (S):
Unchanged
Confidentiality (C):
None
Integrity (I):
None
Availability (A):
High
CVSS v2.0 Severity and Metrics:
Base Score:
5.0 MEDIUM
Vector:
(AV:N/AC:L/Au:N/C:N/I:N/A:P)
(V2 legend)
Impact Subscore:
2.9
Exploitability Subscore:
10.0
Access Vector (AV):
Network
Access Complexity (AC):
Insufficient_Info
Authentication (AU):
None
Confidentiality (C):
None
Integrity (I):
None
Availability (A):
Partial
Additional Information:
Allows disruption of service
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because
they may have information that would be of interest to you. No inferences should be drawn on account of other sites
being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose.
NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further,
NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about
this page to nvd@nist.gov.
Change History
2 change records found
- show changes
Initial Analysis -
6/18/2018 1:18:12 PM
| Action |
Type |
Old Value |
New Value |
| Added |
CPE Configuration |
|
OR
*cpe:2.3:a:haproxy:haproxy:*:*:*:*:*:*:*:* versions up to (excluding) 1.8.8 |
| Added |
CPE Configuration |
|
OR
*cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
*cpe:2.3:o:redhat:enterprise_linux:7.3:*:*:*:*:*:*:*
*cpe:2.3:o:redhat:enterprise_linux:7.4:*:*:*:*:*:*:*
*cpe:2.3:o:redhat:enterprise_linux:7.5:*:*:*:*:*:*:* |
| Added |
CVSS V2 |
|
(AV:N/AC:L/Au:N/C:N/I:N/A:P) |
| Added |
CVSS V3 |
|
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Added |
CWE |
|
CWE-119 |
| Changed |
Reference Type |
http://git.haproxy.org/?p=haproxy.git;a=commit;h=3f0e1ec70173593f4c2b3681b26c04a4ed5fc588 No Types Assigned |
http://git.haproxy.org/?p=haproxy.git;a=commit;h=3f0e1ec70173593f4c2b3681b26c04a4ed5fc588 Patch, Vendor Advisory |
| Changed |
Reference Type |
http://git.haproxy.org/?p=haproxy-1.8.git;a=commit;h=cd117685f0cff4f2f5577ef6a21eaae96ebd9f28 No Types Assigned |
http://git.haproxy.org/?p=haproxy-1.8.git;a=commit;h=cd117685f0cff4f2f5577ef6a21eaae96ebd9f28 Patch, Vendor Advisory |
| Changed |
Reference Type |
https://access.redhat.com/errata/RHSA-2018:1372 No Types Assigned |
https://access.redhat.com/errata/RHSA-2018:1372 Third Party Advisory |
CVE Modified by MITRE -
5/16/2018 9:29:11 PM
| Action |
Type |
Old Value |
New Value |
| Added |
Reference |
|
https://access.redhat.com/errata/RHSA-2018:1372 [No Types Assigned] |