Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/188212?format=api",
    "vulnerability_id": "VCID-ttmk-fs9h-hufh",
    "summary": "An issue was discovered in res_http_websocket.c in Asterisk 15.x through 15.2.1. If the HTTP server is enabled (default is disabled), WebSocket payloads of size 0 are mishandled (with a busy loop).",
    "aliases": [
        {
            "alias": "CVE-2018-7287"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/583278?format=api",
            "purl": "pkg:deb/debian/asterisk@0?distro=sid",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/asterisk@0%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"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-7287",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.33107",
                    "scoring_system": "epss",
                    "scoring_elements": "0.96867",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.33107",
                    "scoring_system": "epss",
                    "scoring_elements": "0.96874",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.33107",
                    "scoring_system": "epss",
                    "scoring_elements": "0.96879",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.33107",
                    "scoring_system": "epss",
                    "scoring_elements": "0.96884",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.33107",
                    "scoring_system": "epss",
                    "scoring_elements": "0.96892",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.33107",
                    "scoring_system": "epss",
                    "scoring_elements": "0.96893",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.33107",
                    "scoring_system": "epss",
                    "scoring_elements": "0.96896",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.33107",
                    "scoring_system": "epss",
                    "scoring_elements": "0.96898",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.33107",
                    "scoring_system": "epss",
                    "scoring_elements": "0.96899",
                    "published_at": "2026-04-13T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-7287"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ttmk-fs9h-hufh"
}