nday
CVE-2018-7159

The HTTP parser in all current versions of Node.js ignores spaces in the Content-Length header…Title composed by nday; the CVE record has none.

The Node.js Project / Node.js

Technical analysis appeared 57 days before the CVE record was published. nday has no fix record for it yet; that does not mean no patch exists. None of the four PoC sources lists it. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N (CVSS 3.1) from NVD's analysts
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N (CVSS 3.1) from NVD's analysts
no authentication required
PR:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N (CVSS 3.1) from NVD's analysts
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N (CVSS 3.1) from NVD's analysts
Node.js
CPE names NVD's analysts give as vulnerable: a:nodejs:node.js
open-source library / framework
CPE names NVD's analysts give as vulnerable: a:nodejs:node.jsthe product type of Node.js in nday's product registry
stage
ANA
disclosed
cvss
no score yet

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2018-05-17T14:00Z
PATpatch
no record yet
ANAanalysis
2018-03-21T23:49Z
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Event log

+ANAtechnical analysis

Node.js security advisory: “March 2018 Security Releases”.

src advisory s13:1717 · nday , bulk import · raw
{
  "id": 555405,
  "type": "analysis_published",
  "source": "advisory",
  "url": "https://nodejs.org/en/blog/vulnerability/march-2018-security-releases",
  "occurred_at": "2018-03-21T23:49:59Z",
  "observed_at": "2026-11-26T15:01:19.978612Z",
  "is_backfill": true,
  "dedupe_key": "s13:1717",
  "detail": {
    "title": "March 2018 Security Releases",
    "vendor": "Node.js",
    "product": "nodejs",
    "precision": "time",
    "source_id": 13
  }
}
+DISdisclosed

CVE record published by nodejs.

src cvelist · nday , bulk import · raw
{
  "id": 183212,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2018-7159",
  "occurred_at": "2018-05-17T14:00:00Z",
  "observed_at": "2026-11-13T05:36:44.115721Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "ssvc": {
      "timestamp": "2026-10-08T21:07:47.854540Z",
      "automatable": "yes",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2018-05-17T14:00:00.000Z",
    "assigner_short_name": "nodejs"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.