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


0.0
high

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Integrity High

    Threat Intelligence

    EPSS 0.04% (9th percentile)
Expand this section
Red Hat
8.1 high
Expand this section
SUSE
7.8 high

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 ID SNYK-UPSTREAM-NODE-6252332
  • published 18 Feb 2024
  • disclosed 16 Feb 2024
  • credit Tobias Nießen

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).