Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/23216?format=api",
    "purl": "pkg:pypi/jupyterlab@3.0.7",
    "type": "pypi",
    "namespace": "",
    "name": "jupyterlab",
    "version": "3.0.7",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.0.17",
    "latest_non_vulnerable_version": "4.5.7",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5313?format=api",
            "vulnerability_id": "VCID-evfb-eau7-9ybb",
            "summary": "cross-site scripting",
            "references": [
                {
                    "reference_url": "https://github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed"
                },
                {
                    "reference_url": "https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crx",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crx"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/jupyterlab/PYSEC-2021-130.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/jupyterlab/PYSEC-2021-130.yaml"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-202108-10",
                    "reference_id": "ASA-202108-10",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-202108-10"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2266",
                    "reference_id": "AVG-2266",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2266"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32797",
                    "reference_id": "CVE-2021-32797",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32797"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-4952-p58q-6crx",
                    "reference_id": "GHSA-4952-p58q-6crx",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-4952-p58q-6crx"
                },
                {
                    "reference_url": "https://github.com/google/security-research/security/advisories/GHSA-c469-p3jp-2vhx",
                    "reference_id": "GHSA-c469-p3jp-2vhx",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/google/security-research/security/advisories/GHSA-c469-p3jp-2vhx"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/23232?format=api",
                    "purl": "pkg:pypi/jupyterlab@3.0.17",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/jupyterlab@3.0.17"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/23233?format=api",
                    "purl": "pkg:pypi/jupyterlab@3.1.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/jupyterlab@3.1.4"
                }
            ],
            "aliases": [
                "CVE-2021-32797",
                "GHSA-4952-p58q-6crx",
                "PYSEC-2021-130"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-evfb-eau7-9ybb"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/jupyterlab@3.0.7"
}