Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/397491?format=api",
    "purl": "pkg:apk/alpine/pjproject@2.11.1-r0?arch=loongarch64&distroversion=v3.21&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "pjproject",
    "version": "2.11.1-r0",
    "qualifiers": {
        "arch": "loongarch64",
        "distroversion": "v3.21",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.12-r0",
    "latest_non_vulnerable_version": "2.14-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/31357?format=api",
            "vulnerability_id": "VCID-epzp-dpmr-33df",
            "summary": "Multiple vulnerabilities have been found in PJSIP, the worst of which could result in arbitrary code execution.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-32686",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.02081",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83919",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.02081",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83934",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.02696",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85889",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.02769",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85995",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.02769",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86015",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.02769",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86025",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.02769",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86039",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.02769",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86037",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.02769",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86032",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.02769",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85996",
                            "published_at": "2026-04-04T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-32686"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32558",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32558"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32686",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32686"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014998",
                    "reference_id": "1014998",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014998"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991931",
                    "reference_id": "991931",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991931"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202210-37",
                    "reference_id": "GLSA-202210-37",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202210-37"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/8122-1/",
                    "reference_id": "USN-8122-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/8122-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/397491?format=api",
                    "purl": "pkg:apk/alpine/pjproject@2.11.1-r0?arch=loongarch64&distroversion=v3.21&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/pjproject@2.11.1-r0%3Farch=loongarch64&distroversion=v3.21&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2021-32686"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-epzp-dpmr-33df"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/pjproject@2.11.1-r0%3Farch=loongarch64&distroversion=v3.21&reponame=main"
}