Lookup for vulnerable packages by Package URL.

GET /api/packages/279412?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/packages/279412?format=api",
    "purl": "pkg:nuget/SharpZipLib@1.0.0-rc2",
    "type": "nuget",
    "namespace": "",
    "name": "SharpZipLib",
    "version": "1.0.0-rc2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.3.3",
    "latest_non_vulnerable_version": "1.3.3",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/12462?format=api",
            "vulnerability_id": "VCID-fxh1-kq9x-6bbz",
            "summary": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')\nSharpZipLib (or #ziplib) is a Zip, GZip, Tar and BZip2 library. A TAR file entry `../evil.txt` may be extracted in the parent directory of `destFolder`. This leads to arbitrary file write that may lead to code execution.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-32840",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01545",
                            "scoring_system": "epss",
                            "scoring_elements": "0.814",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.01545",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81464",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.01545",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81336",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01545",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8143",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.01545",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81429",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.01545",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81358",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.01545",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81357",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01545",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81386",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01545",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81391",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.01545",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81412",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.01545",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81392",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.01545",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8146",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.01545",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81452",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.01545",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81327",
                            "published_at": "2026-04-01T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-32840"
                },
                {
                    "reference_url": "https://github.com/icsharpcode/SharpZipLib",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/icsharpcode/SharpZipLib"
                },
                {
                    "reference_url": "https://github.com/icsharpcode/SharpZipLib/commit/a0e96de70b5264f4c919b09253b1522bc7a221cc",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-22T15:51:52Z/"
                        }
                    ],
                    "url": "https://github.com/icsharpcode/SharpZipLib/commit/a0e96de70b5264f4c919b09253b1522bc7a221cc"
                },
                {
                    "reference_url": "https://github.com/icsharpcode/SharpZipLib/releases/tag/v1.3.3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-22T15:51:52Z/"
                        }
                    ],
                    "url": "https://github.com/icsharpcode/SharpZipLib/releases/tag/v1.3.3"
                },
                {
                    "reference_url": "https://securitylab.github.com/advisories/GHSL-2021-125-sharpziplib",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://securitylab.github.com/advisories/GHSL-2021-125-sharpziplib"
                },
                {
                    "reference_url": "https://securitylab.github.com/advisories/GHSL-2021-125-sharpziplib/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-22T15:51:52Z/"
                        }
                    ],
                    "url": "https://securitylab.github.com/advisories/GHSL-2021-125-sharpziplib/"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32840",
                    "reference_id": "CVE-2021-32840",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32840"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-m22m-h4rf-pwq3",
                    "reference_id": "GHSA-m22m-h4rf-pwq3",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-m22m-h4rf-pwq3"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/44462?format=api",
                    "purl": "pkg:nuget/SharpZipLib@1.3.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/SharpZipLib@1.3.3"
                }
            ],
            "aliases": [
                "CVE-2021-32840",
                "GHSA-m22m-h4rf-pwq3"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-fxh1-kq9x-6bbz"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/SharpZipLib@1.0.0-rc2"
}