CVE-2024-22020 Affecting nodejs-20 package, versions <20.15.1-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-WOLFILATEST-NODEJS20-7446060
  • published12 Jul 2024
  • disclosed9 Jul 2024

Introduced: 9 Jul 2024

CVE-2024-22020  (opens in a new tab)

How to fix?

Upgrade Wolfi nodejs-20 to version 20.15.1-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs-20 package and not the nodejs-20 package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

A security flaw in Node.js allows a bypass of network import restrictions. By embedding non-network imports in data URLs, an attacker can execute arbitrary code, compromising system security. Verified on various platforms, the vulnerability is mitigated by forbidding data URLs in network imports. Exploiting this flaw can violate network import security, posing a risk to developers and servers.

CVSS Scores

version 3.1