Arbitrary Code Injection Affecting npm package, versions <1:8.19.4-1.16.20.2.2.module+el8.8.0+19898+ab99ba34


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
1.48% (71st 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-CENTOS8-NPM-5848864
  • published22 Aug 2023
  • disclosed9 Aug 2023

Introduced: 9 Aug 2023

CVE-2023-32559  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade Centos:8 npm to version 1:8.19.4-1.16.20.2.2.module+el8.8.0+19898+ab99ba34 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream npm package and not the npm package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

A privilege escalation vulnerability exists in the experimental policy mechanism in all active release lines: 16.x, 18.x and, 20.x. The use of the deprecated API process.binding() can bypass the policy mechanism by requiring internal modules and eventually take advantage of process.binding(&#39;spawn_sync&#39;) run arbitrary code, outside of the limits defined in a policy.json file. Please note that at the time this CVE was issued, the policy is an experimental feature of Node.js.

CVSS Base Scores

version 3.1