Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/19447?format=api",
    "purl": "pkg:pypi/autobahn@0.17.0",
    "type": "pypi",
    "namespace": "",
    "name": "autobahn",
    "version": "0.17.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "20.12.3",
    "latest_non_vulnerable_version": "20.12.3",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35699?format=api",
            "vulnerability_id": "VCID-8e6c-2rvm-sqfc",
            "summary": "Autobahn|Python before 20.12.3 allows redirect header injection.",
            "references": [
                {
                    "reference_url": "https://autobahn.readthedocs.io/en/latest/changelog.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://autobahn.readthedocs.io/en/latest/changelog.html"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-gwp7-vqr5-h33h",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-gwp7-vqr5-h33h"
                },
                {
                    "reference_url": "https://github.com/crossbario/autobahn-python",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/crossbario/autobahn-python"
                },
                {
                    "reference_url": "https://github.com/crossbario/autobahn-python/compare/v20.12.2...v20.12.3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/crossbario/autobahn-python/compare/v20.12.2...v20.12.3"
                },
                {
                    "reference_url": "https://github.com/crossbario/autobahn-python/pull/1439",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/crossbario/autobahn-python/pull/1439"
                },
                {
                    "reference_url": "https://pypi.org/project/autobahn/20.12.3/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://pypi.org/project/autobahn/20.12.3/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/19506?format=api",
                    "purl": "pkg:pypi/autobahn@20.12.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/autobahn@20.12.3"
                }
            ],
            "aliases": [
                "CVE-2020-35678",
                "GHSA-gwp7-vqr5-h33h",
                "PYSEC-2020-25"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-8e6c-2rvm-sqfc"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/autobahn@0.17.0"
}