Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2018-7159
nodejs node.js

Score5.3 Medium
CVSS 3.1
Exploit probability (EPSS)3.5%
within the next 30 days
CategoryMisconfiguration & validation
Published17 May 2018
Last modified: 8 October 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.

Impact is limited: modifying data.

Weakness type: Improper input validation.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official 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: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Weakness: CWE-115, CWE-20 – Improper input validation

Affected products

VendorProductVersions
nodejsnode.js>=4.0.0 <=4.1.2
nodejsnode.js>=4.2.0 <4.9.0
nodejsnode.js>=6.0.0 <=6.8.1
nodejsnode.js>=6.9.0 <6.14.0
nodejsnode.js>=8.0.0 <=8.8.1
nodejsnode.js>=8.9.0 <8.11.0
nodejsnode.js>=9.0.0 <9.10.0

Sources

Latest in the same category

  • CVE-2026-81058 Medium 5.5
    Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains an Improper Restriction of XML External Entity Reference vulnerability. A low privileged local attacker could potentially exploit…
    Misconfiguration & validation · 30 November 2026
  • CVE-2026-127054 High 7.2
    XML external entity injection (XXE) in the parser for requests to a REST interface. During testing with an authenticated session, the server resolved an external entity and made an HTTP request to an external resource.…
    Misconfiguration & validation · 30 November 2026
  • CVE-2026-138390 Low 2
    A flaw has been found in agent0ai agent-zero up to 2.16. Affected by this vulnerability is the function InfectionChecker.gate of the file plugins/_infection_check/helpers/checker.py. Executing a manipulation can lead…
    Misconfiguration & validation · 30 November 2026
  • CVE-2026-138386 Low 0.9
    A security flaw has been discovered in Aider-AI Aider up to 0.86.2. The impacted element is the function confirm_ask of the file aider/io.py of the component Shell Command Confirmation Handler. The manipulation results…
    Misconfiguration & validation · 30 November 2026
  • CVE-2026-138333 Low 2.1
    A security vulnerability has been detected in dailydotdev daily up to d8fc89d978eb4a454992349adafa283700c52e31. This affects the function render of the file statusline/statusline.mjs of the component Statusline…
    Misconfiguration & validation · 30 November 2026
  • CVE-2026-138330 Low 1.9
    A vulnerability was identified in Anil-matcha open-duet up to 0.8.1. Impacted is the function classify_bash_command of the file backend/app/services/github_classifier.py of the component Git Risk Classifier. Such…
    Misconfiguration & validation · 29 November 2026