CVE-2024-22020 Affecting nodejs20-npm package, versions <1:10.8.2-1.20.18.0.1.amzn2023.0.2


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

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-AMZN2023-NODEJS20NPM-8382005
  • published15 Nov 2024
  • disclosed9 Jul 2024

Introduced: 9 Jul 2024

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

How to fix?

Upgrade Amazon-Linux:2023 nodejs20-npm to version 1:10.8.2-1.20.18.0.1.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2024-768.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs20-npm package and not the nodejs20-npm package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 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