Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/5241?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5241?format=api", "vulnerability_id": "VCID-bh4x-5gt2-myah", "summary": "denial of service", "aliases": [ { "alias": "CVE-2021-32839" }, { "alias": "GHSA-p5w8-wqhj-9hhf" }, { "alias": "PYSEC-2021-333" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/2221?format=api", "purl": "pkg:alpm/archlinux/python-sqlparse@0.4.2-1", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/python-sqlparse@0.4.2-1" }, { "url": "http://public2.vulnerablecode.io/api/packages/23588?format=api", "purl": "pkg:pypi/sqlparse@0.4.2", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-tcmp-pret-ekgr" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/sqlparse@0.4.2" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/2220?format=api", "purl": "pkg:alpm/archlinux/python-sqlparse@0.4.1-3", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-bh4x-5gt2-myah" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/python-sqlparse@0.4.1-3" }, { "url": "http://public2.vulnerablecode.io/api/packages/23586?format=api", "purl": "pkg:pypi/sqlparse@0.4.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-bh4x-5gt2-myah" }, { "vulnerability": "VCID-tcmp-pret-ekgr" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/sqlparse@0.4.0" }, { "url": "http://public2.vulnerablecode.io/api/packages/23587?format=api", "purl": "pkg:pypi/sqlparse@0.4.1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-bh4x-5gt2-myah" }, { "vulnerability": "VCID-tcmp-pret-ekgr" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/sqlparse@0.4.1" } ], "references": [ { "reference_url": "https://github.com/andialbrecht/sqlparse", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/andialbrecht/sqlparse" }, { "reference_url": "https://github.com/andialbrecht/sqlparse/commit/8238a9e450ed1524e40cb3a8b0b3c00606903aeb", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/andialbrecht/sqlparse/commit/8238a9e450ed1524e40cb3a8b0b3c00606903aeb" }, { "reference_url": "https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-p5w8-wqhj-9hhf", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-p5w8-wqhj-9hhf" }, { "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/sqlparse/PYSEC-2021-333.yaml", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/pypa/advisory-database/tree/main/vulns/sqlparse/PYSEC-2021-333.yaml" }, { "reference_url": "https://lists.debian.org/debian-lts-announce/2024/12/msg00022.html", "reference_id": "", "reference_type": "", "scores": [], "url": "https://lists.debian.org/debian-lts-announce/2024/12/msg00022.html" }, { "reference_url": "https://securitylab.github.com/advisories/GHSL-2021-107-andialbrecht-sqlparse", "reference_id": "", "reference_type": "", "scores": [], "url": "https://securitylab.github.com/advisories/GHSL-2021-107-andialbrecht-sqlparse" }, { "reference_url": "https://security.archlinux.org/AVG-2401", "reference_id": "AVG-2401", "reference_type": "", "scores": [ { "value": "High", "scoring_system": "archlinux", "scoring_elements": "" } ], "url": "https://security.archlinux.org/AVG-2401" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32839", "reference_id": "CVE-2021-32839", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32839" }, { "reference_url": "https://github.com/advisories/GHSA-p5w8-wqhj-9hhf", "reference_id": "GHSA-p5w8-wqhj-9hhf", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-p5w8-wqhj-9hhf" } ], "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": null, "weighted_severity": null, "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-bh4x-5gt2-myah" }