2084AI Security Observatory

Infrastructure vulnerabilities

Node.js

OpenJS Foundation · 59 CVE · Critical 8 · High 28 · In CISA KEV 2

0102030402023: 2 critical, 19 other20232024: 2 critical, 4 other20242025: 0 critical, 1 other20252026: 4 critical, 27 other2026
High and belowCriticalTracked CVEs by year published

Check your version

e.g. 20.10.0 — run node -v

All tracked CVEs · 59

  • CVE-2023-32006HIGH 8.82023-08-16EPSS 2%

    The use of `module.constructor.createRequire()` can bypass the policy mechanism and require modules outside of the policy.json definition for a given module. This vulnerability affects all users using the experimental policy mechanism in all active release lines: 16.x, 18.x, and…

    • ≥ 20.0.0, ≤ 20.5.0Affected up to 20.5.0 — see vendor advisory
    • ≥ 18.0.0, ≤ 18.17.0Affected up to 18.17.0 — see vendor advisory
    • ≥ 16.0.0, ≤ 16.20.1Affected up to 16.20.1 — see vendor advisory
  • CVE-2023-32004HIGH 8.82023-08-16EPSS 2%

    A vulnerability has been discovered in Node.js version 20, specifically within the experimental permission model. This flaw relates to improper handling of Buffers in file system APIs causing a traversal path to bypass when verifying file permissions. This vulnerability affects…

    • ≥ 20.0.0, ≤ 20.5.0Affected up to 20.5.0 — see vendor advisory
  • CVE-2023-32003MED 5.32023-08-16EPSS 1%

    `fs.mkdtemp()` and `fs.mkdtempSync()` can be used to bypass the permission model check using a path traversal attack. This flaw arises from a missing check in the fs.mkdtemp() API and the impact is a malicious actor could create an arbitrary directory. This vulnerability affects…

    • ≥ 20.0.0, ≤ 20.5.0Affected up to 20.5.0 — see vendor advisory
  • CVE-2023-30589HIGH 7.52023-07-01EPSS 4%

    The llhttp parser in the http module in Node v20.2.0 does not strictly use the CRLF sequence to delimit HTTP requests. This can lead to HTTP Request Smuggling (HRS). The CR character (without LF) is sufficient to delimit HTTP header fields in the llhttp parser. According to RFC7…

    • ≥ 20.0.0, < 20.3.1Fixed in 20.3.1
    • ≥ 18.0.0, < 18.16.1Fixed in 18.16.1
    • ≥ 16.0.0, < 16.20.1Fixed in 16.20.1
  • CVE-2023-30586HIGH 7.52023-07-01EPSS 1%

    A privilege escalation vulnerability exists in Node.js 20 that allowed loading arbitrary OpenSSL engines when the experimental permission model is enabled, which can bypass and/or disable the permission model. The attack complexity is high. However, the crypto.setEngine() API ca…

    • ≥ 20.0.0, < 20.3.1Fixed in 20.3.1
  • CVE-2023-23920MED 4.22023-02-24EPSS 0%

    An untrusted search path vulnerability exists in Node.js. <19.6.1, <18.14.1, <16.19.1, and <14.21.3 that could allow an attacker to search and potentially load ICU data when running with elevated privileges.

    • ≥ 19.0.0, < 19.6.1Fixed in 19.6.1
    • ≥ 18.0.0, ≤ 18.11.0Affected up to 18.11.0 — see vendor advisory
    • ≥ 18.0.0, < 18.14.1Fixed in 18.14.1
    • ≥ 16.0.0, ≤ 16.12.0Affected up to 16.12.0 — see vendor advisory
    • ≥ 16.0.0, < 16.19.1Fixed in 16.19.1
    • ≥ 14.0.0, ≤ 14.14.0Affected up to 14.14.0 — see vendor advisory
    • ≥ 14.0.0, < 14.21.3Fixed in 14.21.3
  • CVE-2023-23919HIGH 7.52023-02-24EPSS 2%

    A cryptographic vulnerability exists in Node.js <19.2.0, <18.14.1, <16.19.1, <14.21.3 that in some cases did does not clear the OpenSSL error stack after operations that may set it. This may lead to false positive errors during subsequent cryptographic operations that happen to…

    • ≥ 19.0.0, < 19.2.0Fixed in 19.2.0
    • ≥ 18.0.0, ≤ 18.11.0Affected up to 18.11.0 — see vendor advisory
    • ≥ 18.0.0, < 18.14.1Fixed in 18.14.1
    • ≥ 16.0.0, ≤ 16.12.0Affected up to 16.12.0 — see vendor advisory
    • ≥ 16.0.0, < 16.19.1Fixed in 16.19.1
    • ≥ 14.0.0, ≤ 14.14.0Affected up to 14.14.0 — see vendor advisory
    • ≥ 14.0.0, < 14.21.3Fixed in 14.21.3
  • CVE-2023-23918HIGH 7.52023-02-24EPSS 2%

    A privilege escalation vulnerability exists in Node.js <19.6.1, <18.14.1, <16.19.1 and <14.21.3 that made it possible to bypass the experimental Permissions (https://nodejs.org/api/permissions.html) feature in Node.js and access non authorized modules by using process.mainModule…

    • ≥ 19.0.0, < 19.6.1Fixed in 19.6.1
    • ≥ 18.0.0, ≤ 18.11.0Affected up to 18.11.0 — see vendor advisory
    • ≥ 18.0.0, < 18.14.1Fixed in 18.14.1
    • ≥ 16.0.0, ≤ 16.12.0Affected up to 16.12.0 — see vendor advisory
    • ≥ 16.0.0, < 16.19.1Fixed in 16.19.1
    • ≥ 14.0.0, ≤ 14.14.0Affected up to 14.14.0 — see vendor advisory
    • ≥ 14.0.0, < 14.21.3Fixed in 14.21.3
  • CVE-2023-23936MED 5.42023-02-17EPSS 1%

    Undici is an HTTP/1.1 client for Node.js. Starting with version 2.0.0 and prior to version 5.19.1, the undici library does not protect `host` HTTP header from CRLF injection vulnerabilities. This issue is patched in Undici v5.19.1. As a workaround, sanitize the `headers.host` st…

    • ≥ 19.0.0, < 19.6.1Fixed in 19.6.1
    • ≥ 18.0.0, < 18.14.1Fixed in 18.14.1
    • ≥ 16.0.0, < 16.19.1Fixed in 16.19.1