Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/586611?format=api",
    "purl": "pkg:deb/debian/asterisk@1:13.14.1~dfsg-2?distro=sid",
    "type": "deb",
    "namespace": "debian",
    "name": "asterisk",
    "version": "1:13.14.1~dfsg-2",
    "qualifiers": {
        "distro": "sid"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1:13.17.1~dfsg-1",
    "latest_non_vulnerable_version": "1:22.9.0+dfsg+~cs6.16.60671434-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/93387?format=api",
            "vulnerability_id": "VCID-k1zu-wpsb-wyh3",
            "summary": "A memory exhaustion vulnerability exists in Asterisk Open Source 13.x before 13.15.1 and 14.x before 14.4.1 and Certified Asterisk 13.13 before 13.13-cert4, which can be triggered by sending specially crafted SCCP packets causing an infinite loop and leading to memory exhaustion (by message logging in that loop).",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-9358",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01188",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78764",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.01188",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78771",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01188",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78802",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.01188",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78784",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01188",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7881",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01188",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78817",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.01188",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78841",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.01188",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78824",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.01188",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78815",
                            "published_at": "2026-04-13T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-9358"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9358",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9358"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863906",
                    "reference_id": "863906",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863906"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/586611?format=api",
                    "purl": "pkg:deb/debian/asterisk@1:13.14.1~dfsg-2?distro=sid",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/asterisk@1:13.14.1~dfsg-2%3Fdistro=sid"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582067?format=api",
                    "purl": "pkg:deb/debian/asterisk@1:16.28.0~dfsg-0%2Bdeb11u4?distro=sid",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-r54j-ydjm-4uca"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/asterisk@1:16.28.0~dfsg-0%252Bdeb11u4%3Fdistro=sid"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/582068?format=api",
                    "purl": "pkg:deb/debian/asterisk@1:22.8.2%2Bdfsg%2B~cs6.15.60671435-1?distro=sid",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/asterisk@1:22.8.2%252Bdfsg%252B~cs6.15.60671435-1%3Fdistro=sid"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1062442?format=api",
                    "purl": "pkg:deb/debian/asterisk@1:22.9.0%2Bdfsg%2B~cs6.16.60671434-1?distro=sid",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/asterisk@1:22.9.0%252Bdfsg%252B~cs6.16.60671434-1%3Fdistro=sid"
                }
            ],
            "aliases": [
                "CVE-2017-9358"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-k1zu-wpsb-wyh3"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/asterisk@1:13.14.1~dfsg-2%3Fdistro=sid"
}