Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/1044896?format=api",
    "purl": "pkg:apk/alpine/lighttpd@1.4.67-r0?arch=x86_64&distroversion=edge&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "lighttpd",
    "version": "1.4.67-r0",
    "qualifiers": {
        "arch": "x86_64",
        "distroversion": "edge",
        "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/34994?format=api",
            "vulnerability_id": "VCID-dj2j-yr1r-myej",
            "summary": "A vulnerability has been discovered in lighttpd which could result in denial of service.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-41556",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01808",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82862",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.01808",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82824",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.01808",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82863",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.01808",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82774",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01808",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82788",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.01808",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82785",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01808",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82811",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01808",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82817",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.01808",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82833",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.01808",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82829",
                            "published_at": "2026-04-12T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-41556"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-37797",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-37797"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-41556",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-41556"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2822",
                    "reference_id": "AVG-2822",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Unknown",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2822"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202210-12",
                    "reference_id": "GLSA-202210-12",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202210-12"
                },
                {
                    "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/1044896?format=api",
                    "purl": "pkg:apk/alpine/lighttpd@1.4.67-r0?arch=x86_64&distroversion=edge&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/lighttpd@1.4.67-r0%3Farch=x86_64&distroversion=edge&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2022-41556"
            ],
            "risk_score": 1.5,
            "exploitability": "0.5",
            "weighted_severity": "3.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dj2j-yr1r-myej"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/lighttpd@1.4.67-r0%3Farch=x86_64&distroversion=edge&reponame=main"
}