Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/2221?format=api",
    "purl": "pkg:alpm/archlinux/python-sqlparse@0.4.2-1",
    "type": "alpm",
    "namespace": "archlinux",
    "name": "python-sqlparse",
    "version": "0.4.2-1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5241?format=api",
            "vulnerability_id": "VCID-bh4x-5gt2-myah",
            "summary": "denial of service",
            "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"
                }
            ],
            "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"
                }
            ],
            "aliases": [
                "CVE-2021-32839",
                "GHSA-p5w8-wqhj-9hhf",
                "PYSEC-2021-333"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-bh4x-5gt2-myah"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/python-sqlparse@0.4.2-1"
}