{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-4118","id":"CVE-2021-4118","title":"Deserialization of Untrusted Data in pytorchlightning/pytorch-lightning","description":"pytorch-lightning is vulnerable to Deserialization of Untrusted Data","descriptionLong":"pytorch-lightning is vulnerable to Deserialization of Untrusted Data","published":"2021-12-23T17:15:11.000Z","updated":"2026-10-24T10:50:09.110905879Z","reserved":"2021-12-14T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"@huntrdev","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"high","source":"GitHub"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"@huntrdev"},{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"huntr.dev"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["pytorchlightning/pytorch-lightning"],"affectedProducts":[{"vendor":"pytorchlightning","product":"pytorchlightning/pytorch-lightning","defaultStatus":null,"versions":[{"lessThan":"1.6","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"pytorch-lightning","purl":"pkg:pypi/pytorch-lightning","ranges":["<1.6.0"],"fixed":["1.6.0"],"advisory":"GHSA-2vj5-px25-gjrp"},{"ecosystem":"PyPI","name":"lightning","purl":"pkg:pypi/lightning","ranges":["<1.6.0"],"fixed":["1.6.0"],"advisory":"PYSEC-2026-3968"}],"cwes":["CWE-502"],"aliases":["GHSA-2vj5-px25-gjrp","PYSEC-2021-874","PYSEC-2026-3968"],"references":[{"url":"https://huntr.dev/bounties/31832f0c-e5bb-4552-a12c-542f81f111e6","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/pytorchlightning/pytorch-lightning/commit/62f1e82e032eb16565e676d39e0db0cac7e34ace","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4118","tags":["advisory"]},{"url":"https://github.com/PyTorchLightning/pytorch-lightning/issues/11045","tags":["web"]},{"url":"https://github.com/PyTorchLightning/pytorch-lightning/pull/11099","tags":["web"]},{"url":"https://github.com/PyTorchLightning/pytorch-lightning/releases/tag/1.6.0","tags":["web"]},{"url":"https://github.com/advisories/GHSA-2vj5-px25-gjrp","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pytorch-lightning/PYSEC-2021-874.yaml","tags":["web"]},{"url":"https://github.com/pytorchlightning/pytorch-lightning","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01019,"epssPercentile":0.6409,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-4118","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4118","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-4118","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2vj5-px25-gjrp","ok":true,"note":"GHSA-2vj5-px25-gjrp"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-4118","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}