Browse / Unsafe Model Loading and Supply Chain / CVE-2021-4118
pytorch-lightning is vulnerable to Deserialization of Untrusted Data
- Class
- Unsafe Model Loading and Supply Chain (filed by a model that read the advisory)
- Technique
- Unsafe deserialisation
- Affected
- pytorch-lightning (PyPI)
- CVSS
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 1.0% chance of exploitation in 30 days
How it works, in short
Untrusted data is deserialised unsafely by pytorch-lightning, so a crafted file can trigger attacker-controlled behaviour. (Our summary, written by a model. The source text is below.)
Details
pytorch-lightning is vulnerable to Deserialization of Untrusted Data.
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-4118
- https://github.com/PyTorchLightning/pytorch-lightning/issues/11045
- https://github.com/PyTorchLightning/pytorch-lightning/pull/11099
- https://github.com/pytorchlightning/pytorch-lightning/commit/62f1e82e032eb16565e676d39e0db0cac7e34ace
- https://github.com/PyTorchLightning/pytorch-lightning/releases/tag/1.6.0
- https://github.com/advisories/GHSA-2vj5-px25-gjrp
- https://github.com/pypa/advisory-database/tree/main/vulns/pytorch-lightning/PYSEC-2021-874.yaml
- https://github.com/pytorchlightning/pytorch-lightning
- https://huntr.dev/bounties/31832f0c-e5bb-4552-a12c-542f81f111e6
Source: GitHub Advisory Database, used under CC BY 4.0.