All CVEs / Npm-lockfile Project
CVE-2022-0841Npm-lockfile Project Npm-lockfile
Critical 9.8 No auth needed
Follow: this CVE · Npm-lockfile Project · Npm-lockfile Project Npm-lockfile We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Npm-lockfile.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| npm-lockfile_project | npm-lockfile | 2.0.3 |
| npm-lockfile_project | npm-lockfile | 2.0.4 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- huntr.dev Exploit Patch Third Party Advisory