10

CVE-2022-0841: ljharb ljharb/npm-lockfile OS Command Injection

CVSS: 10.0v2.0HighModified
AliasesGHSA-cr6m-62pq-hmqh
Published 03-03-2022Last modified 02-08-2024

Vulnerability summary

CVE-2022-0841 is a high (CVSS 10.0) OS Command Injection vulnerability in ljharb ljharb/npm-lockfile. EPSS estimates a 2.51% chance of exploitation in the next 30 days, higher than 84.6% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
90/100
0100
Critical · default modelHow is this calculated?
CVSS score
10.0/10
010
High · v2.0 (NVD)
EPSS score
2.51%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Timeline

  1. 03-03-2022
    PublishedVulnerability first disclosed.
  2. 02-08-2024
    Last modifiedVulnerability information updated.

Description

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

CVSS metrics

5 scores · 3 sources · 3 versions

EPSS trend

Probability

2.51%

Chance of exploitation in the next 30 days

Percentile

85%

Versus all other CVEs

30-day change

0.00 pp

From 2.51% on 22-09-2026

22-09-202622-10-2026
EPSS score
2.51%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (huntr.dev)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Ljharb1 product
Npm1 product
  • npm-lockfile≥ 2.0.3, < 2.0.5
Npm-lockfile_project1 product

3 vendors · 3 products

References

4 links