CVE-2022-0845 json
Code Injection in pytorchlightning/pytorch-lightning
published 2022-03-05 4 y ago modified 2026-09-10 59 d ago also GHSA-r5qj-cvf9-p85h , PYSEC-2022-181 , PYSEC-2026-3969 , EUVD-2022-0222
- cvss
- 7.3
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 63%
- public exploits
- 0
- none known
Summary
Code Injection in GitHub repository pytorchlightning/pytorch-lightning prior to 1.6.0.
Patch / fix
- pypi pytorch-lightning 1.6.0
- pypi lightning 1.6.0
- pytorchlightning pytorchlightning/pytorch-lightning 1.6.0
Exploit prediction
1.01% chance of exploitation in the next 30 days, higher than 63% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- huntr.dev https://huntr.dev/bounties/a795bf93-c91e-4c79-aae8-f7d8bda92e2a referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 7.3 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | pytorch-lightning | <1.6.0 |
1.6.0 |
| pypi | lightning | <1.6.0 |
1.6.0 |
Affected products
- pytorchlightning pytorchlightning/pytorch-lightning
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/pytorchlightning/pytorch-lightning/commit/8b7a12c52e52a06408e9231647839ddb4665e8ae
web, patch, third-party-advisory
-
huntr.dev
/bounties/a795bf93-c91e-4c79-aae8-f7d8bda92e2a
web, exploit, issue-tracking, patch, third-party-advisory
-
github.com
/PyTorchLightning/pytorch-lightning/pull/12212
web
-
nvd.nist.gov
/vuln/detail/CVE-2022-0845
advisory
-
github.com
/advisories/GHSA-r5qj-cvf9-p85h
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/pytorch-lightning/PYSEC-2022-181.yaml
web
-
github.com
/pytorchlightning/pytorch-lightning
web
Sources
- CVE List CVE-2022-0845
- GitHub Advisory GHSA-r5qj-cvf9-p85h
- NVD CVE-2022-0845
- OSV PYSEC-2022-181
- OSV PYSEC-2026-3969
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.