CVE-2021-4118
HIGH 7.8CVSS 3.1pytorch-lightning is vulnerable to Deserialization of Untrusted Data
pytorch-lightning is vulnerable to Deserialization of Untrusted Data
- Published
- 23 Dec 2021
- Last modified
- 10 Sep 2026
- Assigned by
- security@huntr.dev
- NVD status
- Modified
- Weakness
- CWE-502
- Also known as
- GHSA-2vj5-px25-gjrpPYSEC-2021-874PYSEC-2026-3968
- Sources
- NVDJSONOSV GHSA-2vj5-px25-gjrpJSONOSV PYSEC-2021-874JSONOSV PYSEC-2026-3968JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | HIGH 7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | lightningai | pytorch_lightningcpe:2.3:a:lightningai:pytorch_lightning:*:*:*:*:*:python:*:* |
< 1.6.0 | 1.6.0 |
| OSV | PyPI | pytorch-lightning | < 1.6.0 | 1.6.0 |
| OSV | PyPI | lightning | < 1.6.0 | 1.6.0 |
References
- https://github.com/pytorchlightning/pytorch-lightning/commit/62f1e82e032eb16565e676d39e0db0cac7e34ace · Patch, Third Party Advisory, WEB, FIX
- https://huntr.dev/bounties/31832f0c-e5bb-4552-a12c-542f81f111e6 · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-4118 · ADVISORY
- https://github.com/PyTorchLightning/pytorch-lightning/issues/11045 · WEB
- https://github.com/PyTorchLightning/pytorch-lightning/pull/11099 · WEB
- https://github.com/PyTorchLightning/pytorch-lightning/releases/tag/1.6.0 · WEB
- https://github.com/advisories/GHSA-2vj5-px25-gjrp · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/pytorch-lightning/PYSEC-2021-874.yaml · WEB
- https://github.com/pytorchlightning/pytorch-lightning · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 23 Dec 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Sep 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Dec 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 Jan 2022)