Skip to content
Heist/ feed
Unrated

CVE-2018-7159

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2018-7159

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2018-7159

Node.js

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "The Node.js Project",
    "product": "Node.js",
    "versions": [
      {
        "status": "affected",
        "version": "4.x"
      },
      {
        "status": "affected",
        "version": "6.x"
      },
      {
        "status": "affected",
        "version": "8.x"
      },
      {
        "status": "affected",
        "version": "9.x"
      }
    ]
  }
]
Related CVEs
CVE-2018-7159

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#15935 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement