Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/978810?format=api",
    "purl": "pkg:apk/alpine/shadow@4.5-r0?arch=ppc64le&distroversion=v3.10&reponame=community",
    "type": "apk",
    "namespace": "alpine",
    "name": "shadow",
    "version": "4.5-r0",
    "qualifiers": {
        "arch": "ppc64le",
        "distroversion": "v3.10",
        "reponame": "community"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/56592?format=api",
            "vulnerability_id": "VCID-m4sf-znhe-gubc",
            "summary": "A vulnerability found in Shadow may allow remote attackers to cause\n    a Denial of Service condition or produce other unspecified behaviors.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-12424.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-12424.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-12424",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00583",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69072",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.00583",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69007",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00583",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68978",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00583",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69019",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00583",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69028",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00583",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69008",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00583",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69059",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.00583",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69066",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.00633",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7036",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00633",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70293",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00633",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70345",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00633",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70384",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00633",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70306",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00633",
                            "scoring_system": "epss",
                            "scoring_elements": "0.70323",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00633",
                            "scoring_system": "epss",
                            "scoring_elements": "0.703",
                            "published_at": "2026-04-07T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-12424"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-12424",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-12424"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.7",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:L/AC:H/Au:N/C:P/I:P/A:P"
                        },
                        {
                            "value": "7",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1478359",
                    "reference_id": "1478359",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1478359"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756630",
                    "reference_id": "756630",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756630"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201710-16",
                    "reference_id": "GLSA-201710-16",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201710-16"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5254-1/",
                    "reference_id": "USN-5254-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5254-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/978810?format=api",
                    "purl": "pkg:apk/alpine/shadow@4.5-r0?arch=ppc64le&distroversion=v3.10&reponame=community",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/shadow@4.5-r0%3Farch=ppc64le&distroversion=v3.10&reponame=community"
                }
            ],
            "aliases": [
                "CVE-2017-12424"
            ],
            "risk_score": 2.0,
            "exploitability": "0.5",
            "weighted_severity": "4.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-m4sf-znhe-gubc"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/shadow@4.5-r0%3Farch=ppc64le&distroversion=v3.10&reponame=community"
}