Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/980200?format=api",
    "purl": "pkg:apk/alpine/asterisk@16.3.0-r0?arch=s390x&distroversion=v3.21&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "asterisk",
    "version": "16.3.0-r0",
    "qualifiers": {
        "arch": "s390x",
        "distroversion": "v3.21",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "16.4.1-r0",
    "latest_non_vulnerable_version": "20.11.1-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/94225?format=api",
            "vulnerability_id": "VCID-qksp-5hqu-7qad",
            "summary": "An Integer Signedness issue (for a return code) in the res_pjsip_sdp_rtp module in Digium Asterisk versions 15.7.1 and earlier and 16.1.1 and earlier allows remote authenticated users to crash Asterisk via a specially crafted SDP protocol violation.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2019-7251",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.04411",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89019",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.04411",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89022",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.04411",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88965",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.04411",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88973",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.04411",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88989",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.04411",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88992",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.04411",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8901",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.04411",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89015",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.04411",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89026",
                            "published_at": "2026-04-11T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2019-7251"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-7251",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-7251"
                },
                {
                    "reference_url": "https://downloads.asterisk.org/pub/security/AST-2019-001.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://downloads.asterisk.org/pub/security/AST-2019-001.html"
                },
                {
                    "reference_url": "https://issues.asterisk.org/jira/browse/ASTERISK-28260",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://issues.asterisk.org/jira/browse/ASTERISK-28260"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923690",
                    "reference_id": "923690",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923690"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:digium:asterisk:*:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:digium:asterisk:*:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:digium:asterisk:*:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-7251",
                    "reference_id": "CVE-2019-7251",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.0",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:L/Au:S/C:N/I:N/A:P"
                        },
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-7251"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/980200?format=api",
                    "purl": "pkg:apk/alpine/asterisk@16.3.0-r0?arch=s390x&distroversion=v3.21&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/asterisk@16.3.0-r0%3Farch=s390x&distroversion=v3.21&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2019-7251"
            ],
            "risk_score": 3.0,
            "exploitability": "0.5",
            "weighted_severity": "5.9",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-qksp-5hqu-7qad"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/asterisk@16.3.0-r0%3Farch=s390x&distroversion=v3.21&reponame=main"
}