Vulnerability · Published Dec 23, 2021 · Assigned by @huntrdev
CVE-2021-4118Deserialization of Untrusted Data in pytorchlightning/pytorch-lightning
High 7.8
In plain English
A high-severity unsafe deserialization in pytorchlightning/pytorch-lightning from pytorchlightning. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.0)7.8High
Exploit odds (30 days)1.0%top 36.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
pytorch-lightning is vulnerable to Deserialization of Untrusted Data
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | lightning | 1.6.0 | PYSEC-2026-3968 |
| PyPI | pytorch-lightning | 1.6.0 | GHSA-2vj5-px25-gjrp |
| PyPI | pytorch-lightning | 1.6.0 | PYSEC-2021-874 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| pytorchlightning | pytorchlightning/pytorch-lightning | unspecified – before 1.6 |
Weakness: CWE-502 · Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H