Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/24442?format=api",
    "purl": "pkg:pypi/distributed@1.7.0",
    "type": "pypi",
    "namespace": "",
    "name": "distributed",
    "version": "1.7.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2026.1.0",
    "latest_non_vulnerable_version": "2026.1.0",
    "affected_by_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/24583?format=api",
                    "purl": "pkg:pypi/distributed@2021.10.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-ed1t-zjfa-t7em"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/distributed@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"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37187?format=api",
            "vulnerability_id": "VCID-ed1t-zjfa-t7em",
            "summary": "Dask distributed is a distributed task scheduler for Dask. Prior to 2026.1.0, when Jupyter Lab, jupyter-server-proxy, and Dask distributed are all run together, it is possible to craft a URL which will result in code being executed by Jupyter due to a cross-side-scripting (XSS) bug in the Dask dashboard. It is possible for attackers to craft a phishing URL that assumes Jupyter Lab and Dask may be running on localhost and using default ports. If a user clicks on the malicious link it will open an error page in the Dask Dashboard via the Jupyter Lab proxy which will cause code to be executed by the default Jupyter Python kernel. This vulnerability is fixed in 2026.1.0.",
            "references": [
                {
                    "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/ab72092a8a938923c2bb51a2cd14ca26614827fa",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        }
                    ],
                    "url": "https://github.com/dask/distributed/commit/ab72092a8a938923c2bb51a2cd14ca26614827fa"
                },
                {
                    "reference_url": "https://github.com/dask/distributed/security/advisories/GHSA-c336-7962-wfj2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        }
                    ],
                    "url": "https://github.com/dask/distributed/security/advisories/GHSA-c336-7962-wfj2"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-23528",
                    "reference_id": "CVE-2026-23528",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-23528"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-c336-7962-wfj2",
                    "reference_id": "GHSA-c336-7962-wfj2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-c336-7962-wfj2"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/47197?format=api",
                    "purl": "pkg:pypi/distributed@2026.1.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/distributed@2026.1.0"
                }
            ],
            "aliases": [
                "CVE-2026-23528",
                "GHSA-c336-7962-wfj2",
                "PYSEC-2026-169"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ed1t-zjfa-t7em"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/distributed@1.7.0"
}