Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/24712?format=api",
    "purl": "pkg:pypi/dask@2021.10.0",
    "type": "pypi",
    "namespace": "",
    "name": "dask",
    "version": "2021.10.0",
    "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/7052?format=api",
            "vulnerability_id": "VCID-3nm6-d5m2-5yd1",
            "summary": "arbitrary code execution",
            "references": [
                {
                    "reference_url": "https://docs.dask.org/en/latest/changelog.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://docs.dask.org/en/latest/changelog.html"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-j8fq-86c5-5v2r",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-j8fq-86c5-5v2r"
                },
                {
                    "reference_url": "https://github.com/dask/dask/tags",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/dask/dask/tags"
                },
                {
                    "reference_url": "https://github.com/dask/distributed",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/dask/distributed"
                },
                {
                    "reference_url": "https://github.com/dask/distributed/commit/afce4be8e05fb180e50a9d9e38465f1a82295e1b",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/dask/distributed/commit/afce4be8e05fb180e50a9d9e38465f1a82295e1b"
                },
                {
                    "reference_url": "https://github.com/dask/distributed/pull/5427",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/dask/distributed/pull/5427"
                },
                {
                    "reference_url": "https://github.com/dask/distributed/security/advisories/GHSA-hwqr-f3v9-hwxr",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/dask/distributed/security/advisories/GHSA-hwqr-f3v9-hwxr"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/dask/PYSEC-2021-387.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/dask/PYSEC-2021-387.yaml"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2496",
                    "reference_id": "AVG-2496",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2496"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-42343",
                    "reference_id": "CVE-2021-42343",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-42343"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/24712?format=api",
                    "purl": "pkg:pypi/dask@2021.10.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/dask@2021.10.0"
                }
            ],
            "aliases": [
                "CVE-2021-42343",
                "GHSA-hwqr-f3v9-hwxr",
                "GHSA-j8fq-86c5-5v2r",
                "PYSEC-2021-387",
                "PYSEC-2021-871",
                "PYSEC-2021-872"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-3nm6-d5m2-5yd1"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/dask@2021.10.0"
}