Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35222?format=api",
    "vulnerability_id": "VCID-jgps-sj55-xyfj",
    "summary": "aaugustin websockets version 4 contains a CWE-409: Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in Servers and clients, unless configured with compression=None that can result in Denial of Service by memory exhaustion. This attack appear to be exploitable via Sending a specially crafted frame on an established connection. This vulnerability appears to have been fixed in 5.",
    "aliases": [
        {
            "alias": "CVE-2018-1000518"
        },
        {
            "alias": "GHSA-6g87-ff9q-v847"
        },
        {
            "alias": "PYSEC-2018-79"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/11534?format=api",
            "purl": "pkg:pypi/websockets@5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-66rg-p1q7-hken"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@5.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/11517?format=api",
            "purl": "pkg:pypi/websockets@0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-66rg-p1q7-hken"
                },
                {
                    "vulnerability": "VCID-jgps-sj55-xyfj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/11518?format=api",
            "purl": "pkg:pypi/websockets@1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-66rg-p1q7-hken"
                },
                {
                    "vulnerability": "VCID-jgps-sj55-xyfj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/11519?format=api",
            "purl": "pkg:pypi/websockets@2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-66rg-p1q7-hken"
                },
                {
                    "vulnerability": "VCID-jgps-sj55-xyfj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/11520?format=api",
            "purl": "pkg:pypi/websockets@2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-66rg-p1q7-hken"
                },
                {
                    "vulnerability": "VCID-jgps-sj55-xyfj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@2.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/11521?format=api",
            "purl": "pkg:pypi/websockets@2.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-66rg-p1q7-hken"
                },
                {
                    "vulnerability": "VCID-jgps-sj55-xyfj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@2.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/11522?format=api",
            "purl": "pkg:pypi/websockets@2.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-66rg-p1q7-hken"
                },
                {
                    "vulnerability": "VCID-jgps-sj55-xyfj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@2.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/11523?format=api",
            "purl": "pkg:pypi/websockets@2.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-66rg-p1q7-hken"
                },
                {
                    "vulnerability": "VCID-jgps-sj55-xyfj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@2.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/11524?format=api",
            "purl": "pkg:pypi/websockets@2.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-66rg-p1q7-hken"
                },
                {
                    "vulnerability": "VCID-jgps-sj55-xyfj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@2.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/11525?format=api",
            "purl": "pkg:pypi/websockets@2.6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-66rg-p1q7-hken"
                },
                {
                    "vulnerability": "VCID-jgps-sj55-xyfj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@2.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/11526?format=api",
            "purl": "pkg:pypi/websockets@2.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-66rg-p1q7-hken"
                },
                {
                    "vulnerability": "VCID-jgps-sj55-xyfj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@2.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/11527?format=api",
            "purl": "pkg:pypi/websockets@3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-66rg-p1q7-hken"
                },
                {
                    "vulnerability": "VCID-jgps-sj55-xyfj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/11528?format=api",
            "purl": "pkg:pypi/websockets@3.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-66rg-p1q7-hken"
                },
                {
                    "vulnerability": "VCID-jgps-sj55-xyfj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@3.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/11529?format=api",
            "purl": "pkg:pypi/websockets@3.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-66rg-p1q7-hken"
                },
                {
                    "vulnerability": "VCID-jgps-sj55-xyfj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@3.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/11530?format=api",
            "purl": "pkg:pypi/websockets@3.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-66rg-p1q7-hken"
                },
                {
                    "vulnerability": "VCID-jgps-sj55-xyfj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@3.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/11531?format=api",
            "purl": "pkg:pypi/websockets@3.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-66rg-p1q7-hken"
                },
                {
                    "vulnerability": "VCID-jgps-sj55-xyfj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@3.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/11532?format=api",
            "purl": "pkg:pypi/websockets@4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-66rg-p1q7-hken"
                },
                {
                    "vulnerability": "VCID-jgps-sj55-xyfj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@4.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/11533?format=api",
            "purl": "pkg:pypi/websockets@4.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-66rg-p1q7-hken"
                },
                {
                    "vulnerability": "VCID-jgps-sj55-xyfj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/websockets@4.0.1"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/aaugustin/websockets",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/aaugustin/websockets"
        },
        {
            "reference_url": "https://github.com/aaugustin/websockets/pull/407",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/aaugustin/websockets/pull/407"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-6g87-ff9q-v847",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-6g87-ff9q-v847"
        },
        {
            "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/websockets/PYSEC-2018-79.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "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": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000518"
        }
    ],
    "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": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-jgps-sj55-xyfj"
}