Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/1057791?format=api",
    "purl": "pkg:deb/debian/bash@5.0-4",
    "type": "deb",
    "namespace": "debian",
    "name": "bash",
    "version": "5.0-4",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "5.2.15-2",
    "latest_non_vulnerable_version": "5.2.15-2",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35773?format=api",
            "vulnerability_id": "VCID-556k-17z3-auc2",
            "summary": "A vulnerability in Bash may allow users to escalate privileges.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2019-18276.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2019-18276.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2019-18276",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.49613",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97812",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.49613",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9778",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.49613",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97786",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.49613",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97817",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.49613",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97811",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.49613",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97788",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.49613",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97791",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.49613",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97795",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.49613",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97798",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.49613",
                            "scoring_system": "epss",
                            "scoring_elements": "0.978",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.49613",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97802",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.49613",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97803",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.49613",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9781",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.50225",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97853",
                            "published_at": "2026-05-09T12:55:00Z"
                        },
                        {
                            "value": "0.50225",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97852",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.50225",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97851",
                            "published_at": "2026-05-07T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2019-18276"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-18276",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-18276"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.6",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1778309",
                    "reference_id": "1778309",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1778309"
                },
                {
                    "reference_url": "https://github.com/bminor/bash/commit/951bdaad7a18cc0dc1036bba86b18b90874d39ff",
                    "reference_id": "951bdaad7a18cc0dc1036bba86b18b90874d39ff",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "Track*",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-06-09T15:50:29Z/"
                        }
                    ],
                    "url": "https://github.com/bminor/bash/commit/951bdaad7a18cc0dc1036bba86b18b90874d39ff"
                },
                {
                    "reference_url": "http://packetstormsecurity.com/files/155498/Bash-5.0-Patch-11-Privilege-Escalation.html",
                    "reference_id": "Bash-5.0-Patch-11-Privilege-Escalation.html",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "Track*",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-06-09T15:50:29Z/"
                        }
                    ],
                    "url": "http://packetstormsecurity.com/files/155498/Bash-5.0-Patch-11-Privilege-Escalation.html"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202105-34",
                    "reference_id": "GLSA-202105-34",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "Track*",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-06-09T15:50:29Z/"
                        }
                    ],
                    "url": "https://security.gentoo.org/glsa/202105-34"
                },
                {
                    "reference_url": "https://security.netapp.com/advisory/ntap-20200430-0003/",
                    "reference_id": "ntap-20200430-0003",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "Track*",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-06-09T15:50:29Z/"
                        }
                    ],
                    "url": "https://security.netapp.com/advisory/ntap-20200430-0003/"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2021:1679",
                    "reference_id": "RHSA-2021:1679",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2021:1679"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5380-1/",
                    "reference_id": "USN-5380-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5380-1/"
                },
                {
                    "reference_url": "https://www.youtube.com/watch?v=-wGtxJ8opa8",
                    "reference_id": "watch?v=-wGtxJ8opa8",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "Track*",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-06-09T15:50:29Z/"
                        }
                    ],
                    "url": "https://www.youtube.com/watch?v=-wGtxJ8opa8"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/586911?format=api",
                    "purl": "pkg:deb/debian/bash@5.1-2%2Bdeb11u1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-rc3z-84wf-pygu"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/bash@5.1-2%252Bdeb11u1"
                }
            ],
            "aliases": [
                "CVE-2019-18276"
            ],
            "risk_score": 3.5,
            "exploitability": "0.5",
            "weighted_severity": "7.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-556k-17z3-auc2"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "3.5",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/bash@5.0-4"
}