Command Injection Affecting npm-lockfile package, versions <2.0.5


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

EPSS
0.4% (74th 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-JS-NPMLOCKFILE-2420034
  • published9 Mar 2022
  • disclosed4 Mar 2022
  • creditFeng Xiao

Introduced: 4 Mar 2022

CVE-2022-0841  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade npm-lockfile to version 2.0.5 or higher.

Overview

Affected versions of this package are vulnerable to Command Injection which does not sanitize unsafe external input and invoke sensitive command execution API with the input.

References

CVSS Scores

version 3.1