Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/583977?format=api",
    "purl": "pkg:deb/debian/asterisk@1:13.20.0~dfsg-1?distro=sid",
    "type": "deb",
    "namespace": "debian",
    "name": "asterisk",
    "version": "1:13.20.0~dfsg-1",
    "qualifiers": {
        "distro": "sid"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1:13.22.0~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/73685?format=api",
            "vulnerability_id": "VCID-ggu9-8qd1-4ffx",
            "summary": "security update",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-7286",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.54632",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98016",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.54632",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98021",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.54632",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98023",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.54632",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98024",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.54632",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98028",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.54632",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98029",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.54632",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98034",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.54632",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98035",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.54632",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9804",
                            "published_at": "2026-04-16T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-7286"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-12227",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-12227"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-17281",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-17281"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7284",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7284"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7286",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7286"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891228",
                    "reference_id": "891228",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891228"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/dos/44181.py",
                    "reference_id": "CVE-2018-7286",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/dos/44181.py"
                },
                {
                    "reference_url": "https://raw.githubusercontent.com/EnableSecurity/advisories/master/ES2018-04-asterisk-pjsip-tcp-segfault/README.md",
                    "reference_id": "CVE-2018-7286",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://raw.githubusercontent.com/EnableSecurity/advisories/master/ES2018-04-asterisk-pjsip-tcp-segfault/README.md"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/583977?format=api",
                    "purl": "pkg:deb/debian/asterisk@1:13.20.0~dfsg-1?distro=sid",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/asterisk@1:13.20.0~dfsg-1%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-2018-7286"
            ],
            "risk_score": 1.0,
            "exploitability": "2.0",
            "weighted_severity": "0.5",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ggu9-8qd1-4ffx"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/73684?format=api",
            "vulnerability_id": "VCID-rwug-45gf-s3bz",
            "summary": "security update",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-7284",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.65243",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98469",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.65243",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98471",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.65243",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98474",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.65243",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98475",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.65243",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98479",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.65243",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9848",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.65243",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98483",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.65243",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98482",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.65243",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98488",
                            "published_at": "2026-04-16T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-7284"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-12227",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-12227"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-17281",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-17281"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7284",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7284"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7286",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7286"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891227",
                    "reference_id": "891227",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891227"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/dos/44184.py",
                    "reference_id": "CVE-2018-7284",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/dos/44184.py"
                },
                {
                    "reference_url": "https://raw.githubusercontent.com/EnableSecurity/advisories/master/ES2018-01-asterisk-pjsip-subscribe-stack-corruption/README.md",
                    "reference_id": "CVE-2018-7284",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://raw.githubusercontent.com/EnableSecurity/advisories/master/ES2018-01-asterisk-pjsip-subscribe-stack-corruption/README.md"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/583977?format=api",
                    "purl": "pkg:deb/debian/asterisk@1:13.20.0~dfsg-1?distro=sid",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/asterisk@1:13.20.0~dfsg-1%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-2018-7284"
            ],
            "risk_score": 1.2,
            "exploitability": "2.0",
            "weighted_severity": "0.6",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-rwug-45gf-s3bz"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/asterisk@1:13.20.0~dfsg-1%3Fdistro=sid"
}