Live threats

All CVEs / Npm-lockfile Project

CVE-2022-0841Npm-lockfile Project Npm-lockfile

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
2.9%
probability of exploitation in 30 days · percentile 88
Auth required
No
Published
Mar 3, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-78
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

OS Command Injection in GitHub repository ljharb/npm-lockfile in v2.0.3 and v2.0.4.

Original NVD text.

What to do

  1. Apply the vendor's security update for Npm-lockfile.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm npm-lockfile ≥ 2.0.3 < 2.0.5 2.0.5 npm install npm-lockfile@2.0.5

Per OSV / GitHub Advisories (GHSA-cr6m-62pq-hmqh). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
npm-lockfile_projectnpm-lockfile2.0.3
npm-lockfile_projectnpm-lockfile2.0.4

Official sources

References

Links published by the sources. Open them with care.