Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/23287?format=api",
    "purl": "pkg:pypi/bikeshed@1.7.0",
    "type": "pypi",
    "namespace": "",
    "name": "bikeshed",
    "version": "1.7.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.0.0",
    "latest_non_vulnerable_version": "3.0.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35834?format=api",
            "vulnerability_id": "VCID-63vz-b8s1-6fdb",
            "summary": "This affects the package bikeshed before 3.0.0. This can occur when an untrusted source file containing Inline Tag Command metadata is processed. When an arbitrary OS command is executed, the command output would be included in the HTML output.",
            "references": [
                {
                    "reference_url": "https://github.com/advisories/GHSA-87cj-px37-rc3x",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-87cj-px37-rc3x"
                },
                {
                    "reference_url": "https://github.com/tabatkins/bikeshed/commit/b2f668fca204260b1cad28d5078e93471cb6b2dd",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tabatkins/bikeshed/commit/b2f668fca204260b1cad28d5078e93471cb6b2dd"
                },
                {
                    "reference_url": "https://snyk.io/vuln/SNYK-PYTHON-BIKESHED-1537646",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://snyk.io/vuln/SNYK-PYTHON-BIKESHED-1537646"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23422",
                    "reference_id": "CVE-2021-23422",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23422"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/23304?format=api",
                    "purl": "pkg:pypi/bikeshed@3.0.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/bikeshed@3.0.0"
                }
            ],
            "aliases": [
                "CVE-2021-23422",
                "GHSA-87cj-px37-rc3x",
                "PYSEC-2021-116",
                "SNYK-PYTHON-BIKESHED-1537646"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-63vz-b8s1-6fdb"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35835?format=api",
            "vulnerability_id": "VCID-h4ex-q6n4-pyh5",
            "summary": "This affects the package bikeshed before 3.0.0. This can occur when an untrusted source file containing include, include-code or include-raw block is processed. The contents of arbitrary files could be disclosed in the HTML output.",
            "references": [
                {
                    "reference_url": "https://github.com/advisories/GHSA-hf6p-4rv2-9qrp",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-hf6p-4rv2-9qrp"
                },
                {
                    "reference_url": "https://github.com/tabatkins/bikeshed/commit/b2f668fca204260b1cad28d5078e93471cb6b2dd",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tabatkins/bikeshed/commit/b2f668fca204260b1cad28d5078e93471cb6b2dd"
                },
                {
                    "reference_url": "https://snyk.io/vuln/SNYK-PYTHON-BIKESHED-1537647",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://snyk.io/vuln/SNYK-PYTHON-BIKESHED-1537647"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23423",
                    "reference_id": "CVE-2021-23423",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23423"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/23304?format=api",
                    "purl": "pkg:pypi/bikeshed@3.0.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/bikeshed@3.0.0"
                }
            ],
            "aliases": [
                "CVE-2021-23423",
                "GHSA-hf6p-4rv2-9qrp",
                "PYSEC-2021-117",
                "SNYK-PYTHON-BIKESHED-1537647"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-h4ex-q6n4-pyh5"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/bikeshed@1.7.0"
}