Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/432398?format=api",
    "purl": "pkg:apk/alpine/cracklib@2.9.7-r0?arch=ppc64le&distroversion=v3.17&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "cracklib",
    "version": "2.9.7-r0",
    "qualifiers": {
        "arch": "ppc64le",
        "distroversion": "v3.17",
        "reponame": "main"
    },
    "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/65429?format=api",
            "vulnerability_id": "VCID-axt4-999r-7kgj",
            "summary": "Stack-based buffer overflow in the FascistGecosUser function in lib/fascist.c in cracklib allows local users to cause a denial of service (application crash) or gain privileges via a long GECOS field, involving longbuffer.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-6318.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.0",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-6318.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-6318",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.02147",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84546",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.02147",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84571",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.02147",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84572",
                            "published_at": "2026-06-09T12:55:00Z"
                        },
                        {
                            "value": "0.02147",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84575",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.02147",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84559",
                            "published_at": "2026-06-08T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-6318"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-6318",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-6318"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.4",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:L/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://bugzilla.redhat.com/show_bug.cgi?id=1364944",
                    "reference_id": "1364944",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1364944"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=834502",
                    "reference_id": "834502",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=834502"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201612-25",
                    "reference_id": "GLSA-201612-25",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201612-25"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/432398?format=api",
                    "purl": "pkg:apk/alpine/cracklib@2.9.7-r0?arch=ppc64le&distroversion=v3.17&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/cracklib@2.9.7-r0%3Farch=ppc64le&distroversion=v3.17&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2016-6318"
            ],
            "risk_score": 1.8,
            "exploitability": "0.5",
            "weighted_severity": "3.6",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-axt4-999r-7kgj"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/cracklib@2.9.7-r0%3Farch=ppc64le&distroversion=v3.17&reponame=main"
}