Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/309803?format=api",
    "purl": "pkg:apk/alpine/vim@8.2.3500-r0?arch=x86_64&distroversion=v3.14&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "vim",
    "version": "8.2.3500-r0",
    "qualifiers": {
        "arch": "x86_64",
        "distroversion": "v3.14",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "8.2.3567-r0",
    "latest_non_vulnerable_version": "8.2.4836-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/6409?format=api",
            "vulnerability_id": "VCID-thky-gne4-uuhq",
            "summary": "arbitrary code execution",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-3875",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00467",
                            "scoring_system": "epss",
                            "scoring_elements": "0.64762",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-3875"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996593",
                    "reference_id": "996593",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996593"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2472",
                    "reference_id": "AVG-2472",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Low",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2472"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202208-32",
                    "reference_id": "GLSA-202208-32",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202208-32"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/309803?format=api",
                    "purl": "pkg:apk/alpine/vim@8.2.3500-r0?arch=x86_64&distroversion=v3.14&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/vim@8.2.3500-r0%3Farch=x86_64&distroversion=v3.14&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2021-3875"
            ],
            "risk_score": 1.4,
            "exploitability": "0.5",
            "weighted_severity": "2.7",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-thky-gne4-uuhq"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/vim@8.2.3500-r0%3Farch=x86_64&distroversion=v3.14&reponame=main"
}