Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/951120?format=api",
    "purl": "pkg:apk/alpine/lighttpd@1.4.64-r0?arch=armv7&distroversion=v3.19&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "lighttpd",
    "version": "1.4.64-r0",
    "qualifiers": {
        "arch": "armv7",
        "distroversion": "v3.19",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.4.67-r0",
    "latest_non_vulnerable_version": "1.4.67-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/90981?format=api",
            "vulnerability_id": "VCID-nabb-9r87-mbhw",
            "summary": "security update",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-22707",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01488",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8099",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01488",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81013",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.01488",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81012",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01488",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8104",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01488",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81047",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.01488",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81064",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.01488",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81051",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.01488",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81043",
                            "published_at": "2026-04-13T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-22707"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22707",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-22707"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5903-1/",
                    "reference_id": "USN-5903-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5903-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/951120?format=api",
                    "purl": "pkg:apk/alpine/lighttpd@1.4.64-r0?arch=armv7&distroversion=v3.19&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/lighttpd@1.4.64-r0%3Farch=armv7&distroversion=v3.19&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2022-22707"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-nabb-9r87-mbhw"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/lighttpd@1.4.64-r0%3Farch=armv7&distroversion=v3.19&reponame=main"
}