Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/547819?format=api",
    "purl": "pkg:apk/alpine/expat@2.1.1-r2?arch=armhf&distroversion=v3.4&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "expat",
    "version": "2.1.1-r2",
    "qualifiers": {
        "arch": "armhf",
        "distroversion": "v3.4",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.2.0-r0",
    "latest_non_vulnerable_version": "2.2.0-r1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/48162?format=api",
            "vulnerability_id": "VCID-h5xc-cubs-5fgu",
            "summary": "Multiple vulnerabilities have been found in Expat, the worst of\n    which may allow execution of arbitrary code.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-4472.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-4472.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-4472",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.02271",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84666",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.02271",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84649",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.02271",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84645",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.02271",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8457",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.02271",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84584",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.02271",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84605",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.02271",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84607",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.02271",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84629",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.02271",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84635",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.02271",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84654",
                            "published_at": "2026-04-11T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-4472"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-4472",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-4472"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.8",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:M/Au:N/C:P/I:P/A:P"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://kc.mcafee.com/corporate/index?page=content&id=SB10365",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://kc.mcafee.com/corporate/index?page=content&id=SB10365"
                },
                {
                    "reference_url": "https://sourceforge.net/p/expat/code_git/ci/f0bec73b018caa07d3e75ec8dd967f3785d71bde",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://sourceforge.net/p/expat/code_git/ci/f0bec73b018caa07d3e75ec8dd967f3785d71bde"
                },
                {
                    "reference_url": "https://www.tenable.com/security/tns-2016-20",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.tenable.com/security/tns-2016-20"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/91528",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/91528"
                },
                {
                    "reference_url": "http://www.ubuntu.com/usn/USN-3013-1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.ubuntu.com/usn/USN-3013-1"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1344251",
                    "reference_id": "1344251",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1344251"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:mcafee:policy_auditor:*:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:mcafee:policy_auditor:*:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:mcafee:policy_auditor:*:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:python:python:*:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*",
                    "reference_id": "cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-4472",
                    "reference_id": "CVE-2016-4472",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.8",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:M/Au:N/C:P/I:P/A:P"
                        },
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-4472"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201701-21",
                    "reference_id": "GLSA-201701-21",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201701-21"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3013-1/",
                    "reference_id": "USN-3013-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3013-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/7199-1/",
                    "reference_id": "USN-7199-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/7199-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/USN-5455-1/",
                    "reference_id": "USN-USN-5455-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/USN-5455-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/547819?format=api",
                    "purl": "pkg:apk/alpine/expat@2.1.1-r2?arch=armhf&distroversion=v3.4&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/expat@2.1.1-r2%3Farch=armhf&distroversion=v3.4&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2016-4472"
            ],
            "risk_score": 3.6,
            "exploitability": "0.5",
            "weighted_severity": "7.3",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-h5xc-cubs-5fgu"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/expat@2.1.1-r2%3Farch=armhf&distroversion=v3.4&reponame=main"
}