Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/809199?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/809199?format=api", "purl": "pkg:pypi/pytorch-lightning@2.3.3", "type": "pypi", "namespace": "", "name": "pytorch-lightning", "version": "2.3.3", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "2.4.0", "latest_non_vulnerable_version": "2.4.0", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/56893?format=api", "vulnerability_id": "VCID-d6fc-w1wu-ckc1", "summary": "PyTorch Lightning path traversal vulnerability\nIn lightning-ai/pytorch-lightning version 2.3.2, a vulnerability exists in the `LightningApp` when running on a Windows host. The vulnerability occurs at the `/api/v1/upload_file/` endpoint, allowing an attacker to write or overwrite arbitrary files by providing a crafted filename. This can lead to potential remote code execution (RCE) by overwriting critical files or placing malicious files in sensitive locations.", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-8019", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.02102", "scoring_system": "epss", "scoring_elements": "0.84407", "published_at": "2026-06-07T12:55:00Z" }, { "value": "0.02102", "scoring_system": "epss", "scoring_elements": "0.84414", "published_at": "2026-06-06T12:55:00Z" }, { "value": "0.02102", "scoring_system": "epss", "scoring_elements": "0.84411", "published_at": "2026-06-05T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-8019" }, { "reference_url": "https://github.com/lightning-ai/pytorch-lightning/commit/330af381de88cff17515418a341cbc1f9f127f9a", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.1", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H" }, { "value": "9.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2025-03-20T17:54:52Z/" } ], "url": "https://github.com/lightning-ai/pytorch-lightning/commit/330af381de88cff17515418a341cbc1f9f127f9a" }, { "reference_url": "https://github.com/pytorch/pytorch", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/pytorch/pytorch" }, { "reference_url": "https://huntr.com/bounties/2754298b-5af5-48ef-8b38-999093ddf2bd", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.1", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H" }, { "value": "9.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2025-03-20T17:54:52Z/" } ], "url": "https://huntr.com/bounties/2754298b-5af5-48ef-8b38-999093ddf2bd" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-8019", "reference_id": "CVE-2024-8019", "reference_type": "", "scores": [ { "value": "9.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-8019" }, { "reference_url": "https://github.com/advisories/GHSA-4cv3-v7pv-rfhf", "reference_id": "GHSA-4cv3-v7pv-rfhf", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-4cv3-v7pv-rfhf" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/84496?format=api", "purl": "pkg:pypi/pytorch-lightning@2.4.0", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pytorch-lightning@2.4.0" } ], "aliases": [ "CVE-2024-8019", "GHSA-4cv3-v7pv-rfhf" ], "risk_score": 4.5, "exploitability": "0.5", "weighted_severity": "9.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-d6fc-w1wu-ckc1" } ], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/56848?format=api", "vulnerability_id": "VCID-3hhe-9pgj-ryfs", "summary": "PyTorch Lightning denial of service vulnerability\nA vulnerability in lightning-ai/pytorch-lightning version 2.3.2 allows an attacker to cause a denial of service by sending an unexpected POST request to the `/api/v1/state` endpoint of `LightningApp`. This issue occurs due to improper handling of unexpected state values, which results in the server shutting down.", "references": [ { "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-8020.json", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" } ], "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-8020.json" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-8020", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00222", "scoring_system": "epss", "scoring_elements": "0.44848", "published_at": "2026-06-07T12:55:00Z" }, { "value": "0.00222", "scoring_system": "epss", "scoring_elements": "0.44863", "published_at": "2026-06-05T12:55:00Z" }, { "value": "0.00222", "scoring_system": "epss", "scoring_elements": "0.44869", "published_at": "2026-06-06T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-8020" }, { "reference_url": "https://github.com/Lightning-AI/pytorch-lightning", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/Lightning-AI/pytorch-lightning" }, { "reference_url": "https://huntr.com/bounties/8b642a78-2b80-4fb0-9b2f-8ba0ff37db6a", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2025-03-20T17:53:50Z/" } ], "url": "https://huntr.com/bounties/8b642a78-2b80-4fb0-9b2f-8ba0ff37db6a" }, { "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2353669", "reference_id": "2353669", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2353669" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-8020", "reference_id": "CVE-2024-8020", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-8020" }, { "reference_url": "https://github.com/advisories/GHSA-98fp-7v67-4v3q", "reference_id": "GHSA-98fp-7v67-4v3q", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-98fp-7v67-4v3q" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/809199?format=api", "purl": "pkg:pypi/pytorch-lightning@2.3.3", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-d6fc-w1wu-ckc1" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pytorch-lightning@2.3.3" } ], "aliases": [ "CVE-2024-8020", "GHSA-98fp-7v67-4v3q" ], "risk_score": 4.0, "exploitability": "0.5", "weighted_severity": "8.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-3hhe-9pgj-ryfs" } ], "risk_score": "4.5", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pytorch-lightning@2.3.3" }