Remote Code Execution (RCE) The advisory has been revoked - it doesn't affect any version of package org.webjars.bower:npm  (opens in a new tab)


Threat Intelligence

EPSS
0.77% (73rd 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 Remote Code Execution (RCE) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGWEBJARSBOWER-1920915
  • published14 Nov 2021
  • disclosed14 Nov 2021
  • creditIgnacio Catalina

Introduced: 14 Nov 2021

CVE-2021-43616  (opens in a new tab)
CWE-94  (opens in a new tab)

Amendment

This was deemed not a vulnerability.

This is a bug in npm as the behavior of npm ci is contradicting the documentation. However, this issue isn't a vulnerability by itself, it may introduce a vulnerability only if a malicious actor has access to modify the package.json and execute the npm ci command after the modification.

Overview

org.webjars.bower:npm is a package manager for JavaScript.

Affected versions of this package are vulnerable to Remote Code Execution (RCE). The npm ci command would proceed with the installation, rather than fails when package-lock.json and package.json are in disagreement. This behavior is contradicting the documentation and potentially making it easier for attackers to install malware that was supposed to have been blocked by an exact version match requirement in package-lock.json.

References