5.3

CVE-2018-7159: nodejs node.js Misinterpretation of Input

Modified
AliasesALPINE-CVE-2018-7159UBUNTU-CVE-2018-7159DEBIAN-CVE-2018-7159
Published 17-05-2018Last modified 08-10-2026

Vulnerability summary

CVE-2018-7159 is a medium (CVSS 5.3) Misinterpretation of Input vulnerability in nodejs node.js. EPSS estimates a 3.54% chance of exploitation in the next 30 days, higher than 89.3% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.3/10
010
Medium · v3.1 (NVD)
EPSS score
3.54%
0%100%
Low · -0.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 6 · Related 3

Timeline

  1. 17-05-2018
    PublishedVulnerability first disclosed.
  2. 08-10-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

3.54%

Chance of exploitation in the next 30 days

Percentile

89%

Versus all other CVEs

30-day change

Decrease -0.02 pp

From 3.56% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine2 products
  • nodejs< 8.11.0-r0
  • nodejs-current< 9.10.0-r0
Debian1 product
  • nodejs< 8.11.1~dfsg-2
Nodejs1 product
  • node.js≥ 4.0.0, ≤ 4.1.2 | ≥ 4.2.0, < 4.9.0 | ≥ 6.0.0, ≤ 6.8.1 | ≥ 6.9.0, < 6.14.0 | ≥ 8.0.0, ≤ 8.8.1 | ≥ 8.9.0, < 8.11.0 | ≥ 9.0.0, < 9.10.0
The node.js project1 product
  • node.js≥ 4.0, < 5.0 | ≥ 6.0, < 7.0 | ≥ 8.0, < 9.0 | ≥ 9.0, < 10.0
Ubuntu1 product
  • nodejsAll versions (No fix recorded)

5 vendors · 6 products

References

8 links