CVE-2018-7159
CVSS V2 Medium 5
CVSS V3 Medium 5.3
Description
The HTTP parser in all current versions of Node.js ignores spaces in the `Content-Length` header, allowing input such as `Content-Length: 1 2` to be interpreted as having a value of `12`. The HTTP specification does not allow for spaces in the `Content-Length` value and the Node.js HTTP parser has been brought into line on this particular difference. The security risk of this flaw to Node.js users is considered to be VERY LOW as it is difficult, and may be impossible, to craft an attack that makes use of this flaw in a way that could not already be achieved by supplying an incorrect value for `Content-Length`. Vulnerabilities may exist in user-code that make incorrect assumptions about the potential accuracy of this value compared to the actual length of the data supplied. Node.js users crafting lower-level HTTP utilities are advised to re-check the length of any input supplied after parsing is complete.
Overview
- CVE ID
- CVE-2018-7159
- Assigner
- cve-request@iojs.org
- Vulnerability Status
- Analyzed
- Published Version
- 2018-05-17T14:29:00
- Last Modified Date
- 2020-02-13T15:55:25
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:* | 1 | OR | 4.0.0 | 4.1.2 |
cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:* | 1 | OR | 4.2.0 | 4.9.0 |
cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:* | 1 | OR | 6.0.0 | 6.8.1 |
cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:* | 1 | OR | 6.9.0 | 6.14.0 |
cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:* | 1 | OR | 8.0.0 | 8.8.1 |
cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:* | 1 | OR | 8.9.0 | 8.11.0 |
cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:* | 1 | OR | 9.0.0 | 9.10.0 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 5.3
- Base Severity
- MEDIUM
- Exploitability Score
- 3.9
- Impact Score
- 1.4
References
Reference URL | Reference Tags |
---|---|
https://nodejs.org/en/blog/vulnerability/march-2018-security-releases/ | Vendor Advisory |
https://access.redhat.com/errata/RHSA-2019:2258 | Third Party Advisory |
https://support.f5.com/csp/article/K27228191?utm_source=f5support&utm_medium=RSS | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2018-7159 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7159 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 16:49:58 | Added to TrackCVE | |||
2022-12-03 06:17:47 | 2018-05-17T14:29Z | 2018-05-17T14:29:00 | CVE Published Date | updated |
2022-12-03 06:17:47 | 2020-02-13T15:55:25 | CVE Modified Date | updated | |
2022-12-03 06:17:47 | Analyzed | Vulnerability Status | updated |