Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/201451?format=api",
    "vulnerability_id": "VCID-5ycj-g4t7-hfd9",
    "summary": "websockets is vulnerable to denial of service by memory exhaustion",
    "aliases": [
        {
            "alias": "CVE-2018-1000518"
        },
        {
            "alias": "GHSA-6g87-ff9q-v847"
        },
        {
            "alias": "PYSEC-2018-79"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/13649?format=api",
            "purl": "pkg:pypi/websockets@5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-vd9d-qr6h-7ubz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@5.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51335?format=api",
            "purl": "pkg:pypi/websockets@0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5ycj-g4t7-hfd9"
                },
                {
                    "vulnerability": "VCID-vd9d-qr6h-7ubz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51336?format=api",
            "purl": "pkg:pypi/websockets@1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5ycj-g4t7-hfd9"
                },
                {
                    "vulnerability": "VCID-vd9d-qr6h-7ubz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51337?format=api",
            "purl": "pkg:pypi/websockets@2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5ycj-g4t7-hfd9"
                },
                {
                    "vulnerability": "VCID-vd9d-qr6h-7ubz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51338?format=api",
            "purl": "pkg:pypi/websockets@2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5ycj-g4t7-hfd9"
                },
                {
                    "vulnerability": "VCID-vd9d-qr6h-7ubz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@2.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51339?format=api",
            "purl": "pkg:pypi/websockets@2.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5ycj-g4t7-hfd9"
                },
                {
                    "vulnerability": "VCID-vd9d-qr6h-7ubz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@2.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51340?format=api",
            "purl": "pkg:pypi/websockets@2.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5ycj-g4t7-hfd9"
                },
                {
                    "vulnerability": "VCID-vd9d-qr6h-7ubz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@2.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51341?format=api",
            "purl": "pkg:pypi/websockets@2.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5ycj-g4t7-hfd9"
                },
                {
                    "vulnerability": "VCID-vd9d-qr6h-7ubz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@2.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51342?format=api",
            "purl": "pkg:pypi/websockets@2.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5ycj-g4t7-hfd9"
                },
                {
                    "vulnerability": "VCID-vd9d-qr6h-7ubz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@2.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51343?format=api",
            "purl": "pkg:pypi/websockets@2.6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5ycj-g4t7-hfd9"
                },
                {
                    "vulnerability": "VCID-vd9d-qr6h-7ubz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@2.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51344?format=api",
            "purl": "pkg:pypi/websockets@2.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5ycj-g4t7-hfd9"
                },
                {
                    "vulnerability": "VCID-vd9d-qr6h-7ubz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@2.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51345?format=api",
            "purl": "pkg:pypi/websockets@3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5ycj-g4t7-hfd9"
                },
                {
                    "vulnerability": "VCID-vd9d-qr6h-7ubz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51346?format=api",
            "purl": "pkg:pypi/websockets@3.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5ycj-g4t7-hfd9"
                },
                {
                    "vulnerability": "VCID-vd9d-qr6h-7ubz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@3.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51347?format=api",
            "purl": "pkg:pypi/websockets@3.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5ycj-g4t7-hfd9"
                },
                {
                    "vulnerability": "VCID-vd9d-qr6h-7ubz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@3.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51348?format=api",
            "purl": "pkg:pypi/websockets@3.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5ycj-g4t7-hfd9"
                },
                {
                    "vulnerability": "VCID-vd9d-qr6h-7ubz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@3.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51349?format=api",
            "purl": "pkg:pypi/websockets@3.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5ycj-g4t7-hfd9"
                },
                {
                    "vulnerability": "VCID-vd9d-qr6h-7ubz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@3.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/13648?format=api",
            "purl": "pkg:pypi/websockets@4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5ycj-g4t7-hfd9"
                },
                {
                    "vulnerability": "VCID-vd9d-qr6h-7ubz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@4.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51350?format=api",
            "purl": "pkg:pypi/websockets@4.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5ycj-g4t7-hfd9"
                },
                {
                    "vulnerability": "VCID-vd9d-qr6h-7ubz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@4.0.1"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-1000518",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00168",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37932",
                    "published_at": "2026-06-13T12:55:00Z"
                },
                {
                    "value": "0.00168",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37728",
                    "published_at": "2026-06-11T12:55:00Z"
                },
                {
                    "value": "0.00168",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37906",
                    "published_at": "2026-06-12T12:55:00Z"
                },
                {
                    "value": "0.00168",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37919",
                    "published_at": "2026-06-14T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-1000518"
        },
        {
            "reference_url": "https://github.com/aaugustin/websockets",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "8.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/aaugustin/websockets"
        },
        {
            "reference_url": "https://github.com/aaugustin/websockets/pull/407",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "8.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/aaugustin/websockets/pull/407"
        },
        {
            "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/websockets/PYSEC-2018-79.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "8.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/pypa/advisory-database/tree/main/vulns/websockets/PYSEC-2018-79.yaml"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000518",
            "reference_id": "CVE-2018-1000518",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "8.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000518"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-6g87-ff9q-v847",
            "reference_id": "GHSA-6g87-ff9q-v847",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-6g87-ff9q-v847"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 400,
            "name": "Uncontrolled Resource Consumption",
            "description": "The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        },
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5ycj-g4t7-hfd9"
}