Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2018-7159

20
FAUCET Score

CVE-2018-7159 describes a flaw in the HTTP parser of all current Node.js versions, where spaces in the Content-Length header are ignored, leading to misinterpretation of the header's value. This vulnerability primarily affects Node.js. The severity is rated as MEDIUM (CVSS 5.3), with a network attack vector and low attack complexity, but the potential impact is limited to integrity (I:L) and is considered very low risk to Node.js users. While direct exploitation is difficult, user-code making incorrect assumptions about Content-Length accuracy could be vulnerable. There is no evidence of active exploitation, and no public exploit code (Metasploit, Nuclei, ExploitDB) is available. Community discussion and media coverage are minimal, indicating a low level of public attention.

Impacted Technologies

VendorProductVersion(s)CPE
>= 4.0.0, <= 4.1.2CPE matchmatch criteria
cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
>= 4.2.0, < 4.9.0CPE matchmatch criteria
cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*
>= 6.0.0, <= 6.8.1CPE matchmatch criteria
cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
>= 6.9.0, < 6.14.0CPE matchmatch criteria
cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*
>= 8.0.0, <= 8.8.1CPE matchmatch criteria
cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*

CVSS Data

CVSS version used by this source: 3.1

5.3MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
LOW
Availability Impact
NONE
Exploitability Score
3.9
Impact Score
1.4
CvssVersion
3.1

Exploit Intelligence

EPSS Score
3.62%
Probability of exploitation in next 30 days
EPSS Percentile
88.3%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0362 is in the 85th percentile among its peer group of 23,723 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.0 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (12)

microsoftpatch availablevia msrc
Product: 20564-17084Fixed in: 18.2.2-1
microsoftpatch availablevia msrc
Product: 20730-17084Fixed in: 18.2.2-1
microsoftpatch availablevia msrc
Product: 19531-17084Fixed in: 18.2.2-1
microsoftpatch availablevia msrc
Product: azl3 ceph 18.2.2-11 on Azure Linux 3.0Fixed in: 18.2.2-1
microsoftpatch availablevia msrc
Product: azl3 ceph 18.2.2-12 on Azure Linux 3.0Fixed in: 18.2.2-1
microsoftpatch availablevia msrc
Product: azl3 ceph 18.2.2-10 on Azure Linux 3.0Fixed in: 18.2.2-1
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 7Fixed in: http-parser-0:2.7.1-8.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7Fixed in: rh-nodejs8-nodejs-0:8.11.4-1.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSFixed in: rh-nodejs8-nodejs-0:8.11.4-1.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSFixed in: rh-nodejs8-nodejs-0:8.11.4-1.el7
View patch
redhatend of lifevia redhat_api
Product: Red Hat Software CollectionsFixed in: rh-nodejs4-nodejs
redhatend of lifevia redhat_api
Product: Red Hat Software CollectionsFixed in: rh-nodejs6-nodejs

Vendor Advisories (2)

microsoft2018-May/CVE-2018-7159Moderate

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.

May 8, 2018
redhatCVE-2018-7159Low

nodejs: HTTP parser allowed for spaces inside Content-Length header values

Mar 8, 2018

References

access.redhat.com / errata/RHSA-2019:2258
Third Party Advisory
nodejs.org / en/blog/vulnerability/march-2018-security-releases
Vendor Advisory
support.f5.com / csp/article/K27228191