CVE-2018-7159
Node.js HTTP Parser Space Malformed Content-Length Information Disclosure
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.
INFO
Published Date :
May 17, 2018, 2:29 p.m.
Last Modified :
Nov. 7, 2023, 3 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
1.4
Exploitability Score :
3.9
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2018-7159
.
URL | Resource |
---|---|
https://access.redhat.com/errata/RHSA-2019:2258 | Third Party Advisory |
https://nodejs.org/en/blog/vulnerability/march-2018-security-releases/ | Vendor Advisory |
https://support.f5.com/csp/article/K27228191?utm_source=f5support&%3Butm_medium=RSS |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2018-7159
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2018-7159
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference Node.js https://support.f5.com/csp/article/K27228191?utm_source=f5support&%3Butm_medium=RSS [No types assigned] Removed Reference Node.js https://support.f5.com/csp/article/K27228191?utm_source=f5support&utm_medium=RSS -
Modified Analysis by [email protected]
Feb. 13, 2020
Action Type Old Value New Value Removed CVSS V3 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N Changed Reference Type https://access.redhat.com/errata/RHSA-2019:2258 No Types Assigned https://access.redhat.com/errata/RHSA-2019:2258 Third Party Advisory Changed Reference Type https://support.f5.com/csp/article/K27228191?utm_source=f5support&utm_medium=RSS No Types Assigned https://support.f5.com/csp/article/K27228191?utm_source=f5support&utm_medium=RSS Third Party Advisory Changed CPE Configuration OR *cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:* versions up to (excluding) 9.10.0 OR *cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:* versions from (including) 4.0.0 up to (including) 4.1.2 *cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:* versions from (including) 4.2.0 up to (excluding) 4.9.0 *cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:* versions from (including) 6.0.0 up to (including) 6.8.1 *cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:* versions from (including) 6.9.0 up to (excluding) 6.14.0 *cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:* versions from (including) 8.0.0 up to (including) 8.8.1 *cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:* versions from (including) 8.9.0 up to (excluding) 8.11.0 *cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:* versions from (including) 9.0.0 up to (excluding) 9.10.0 -
CVE Modified by [email protected]
Oct. 09, 2019
Action Type Old Value New Value Added Reference https://support.f5.com/csp/article/K27228191?utm_source=f5support&utm_medium=RSS [No Types Assigned] Added CWE Node.js CWE-115 -
CVE Modified by [email protected]
Aug. 06, 2019
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2019:2258 [No Types Assigned] -
Initial Analysis by [email protected]
Jun. 27, 2018
Action Type Old Value New Value Added CVSS V2 (AV:N/AC:L/Au:N/C:N/I:P/A:N) Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N Changed Reference Type https://nodejs.org/en/blog/vulnerability/march-2018-security-releases/ No Types Assigned https://nodejs.org/en/blog/vulnerability/march-2018-security-releases/ Vendor Advisory Added CWE CWE-20 Added CPE Configuration OR *cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:* versions up to (excluding) 9.10.0
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2018-7159
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2018-7159
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.14 }} 0.01%
score
0.49788
percentile