Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/397247?format=api",
    "purl": "pkg:apk/alpine/pjproject@2.11-r0?arch=armhf&distroversion=v3.16&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "pjproject",
    "version": "2.11-r0",
    "qualifiers": {
        "arch": "armhf",
        "distroversion": "v3.16",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.11.1-r0",
    "latest_non_vulnerable_version": "2.12.1-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46650?format=api",
            "vulnerability_id": "VCID-1gsq-daax-mfey",
            "summary": "Multiple vulnerabilities have been found in PJSIP, the worst of\n    which could result in a Denial of Service condition.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-15260",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00185",
                            "scoring_system": "epss",
                            "scoring_elements": "0.40124",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00185",
                            "scoring_system": "epss",
                            "scoring_elements": "0.40274",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00185",
                            "scoring_system": "epss",
                            "scoring_elements": "0.40299",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00185",
                            "scoring_system": "epss",
                            "scoring_elements": "0.40221",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00185",
                            "scoring_system": "epss",
                            "scoring_elements": "0.40285",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00185",
                            "scoring_system": "epss",
                            "scoring_elements": "0.40296",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00185",
                            "scoring_system": "epss",
                            "scoring_elements": "0.40258",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00185",
                            "scoring_system": "epss",
                            "scoring_elements": "0.40239",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00185",
                            "scoring_system": "epss",
                            "scoring_elements": "0.40286",
                            "published_at": "2026-04-16T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-15260"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15260",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15260"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986815",
                    "reference_id": "986815",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986815"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202107-42",
                    "reference_id": "GLSA-202107-42",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202107-42"
                },
                {
                    "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/397247?format=api",
                    "purl": "pkg:apk/alpine/pjproject@2.11-r0?arch=armhf&distroversion=v3.16&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/pjproject@2.11-r0%3Farch=armhf&distroversion=v3.16&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2020-15260"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1gsq-daax-mfey"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46651?format=api",
            "vulnerability_id": "VCID-dvf7-hwzb-4kg9",
            "summary": "Multiple vulnerabilities have been found in PJSIP, the worst of\n    which could result in a Denial of Service condition.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-21375",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01311",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79755",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.01311",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79762",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01311",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79784",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.01311",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7977",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01311",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79799",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01311",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79806",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.01311",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79828",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.01311",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79812",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.01311",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79805",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.01311",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79832",
                            "published_at": "2026-04-16T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-21375"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21375",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21375"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986815",
                    "reference_id": "986815",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986815"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202107-42",
                    "reference_id": "GLSA-202107-42",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202107-42"
                },
                {
                    "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/397247?format=api",
                    "purl": "pkg:apk/alpine/pjproject@2.11-r0?arch=armhf&distroversion=v3.16&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/pjproject@2.11-r0%3Farch=armhf&distroversion=v3.16&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2021-21375"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dvf7-hwzb-4kg9"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/pjproject@2.11-r0%3Farch=armhf&distroversion=v3.16&reponame=main"
}