Code Injection Affecting node package, versions [,18.19.1)[19.0.0,20.11.1)[21.0.0,21.6.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.12% (33rd 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 Learn

Learn about Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UPSTREAM-NODE-6252332
  • published18 Feb 2024
  • disclosed16 Feb 2024
  • creditTobias Nießen

Introduced: 16 Feb 2024

CVE-2024-21892  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade node to version 18.19.1, 20.11.1, 21.6.2 or higher.

Overview

node is a JavaScript runtime built on Chrome's V8 JavaScript engine.

Affected versions of this package are vulnerable to Code Injection due to the incorrect handling of environment variables on Linux when the process is running with elevated privileges that the current user lacks (does not apply to CAP_NET_BIND_SERVICE).

CVSS Base Scores

version 3.1