Arbitrary Code Injection Affecting nodejs:18/nodejs-full-i18n package, versions <1:18.19.1-1.module+el8.8.0+21592+14a8b93e


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise 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 Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-NODEJS-6650969
  • published18 Apr 2024
  • disclosed16 Feb 2024

Introduced: 16 Feb 2024

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

How to fix?

Upgrade RHEL:8 nodejs:18/nodejs-full-i18n to version 1:18.19.1-1.module+el8.8.0+21592+14a8b93e or higher.
This issue was patched in RHSA-2024:1880.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs:18/nodejs-full-i18n package and not the nodejs:18/nodejs-full-i18n package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

On Linux, Node.js ignores certain environment variables if those may have been set by an unprivileged user while the process is running with elevated privileges with the only exception of CAP_NET_BIND_SERVICE. Due to a bug in the implementation of this exception, Node.js incorrectly applies this exception even when certain other capabilities have been set. This allows unprivileged users to inject code that inherits the process's elevated privileges.

CVSS Scores

version 3.1