Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/26831?format=api",
    "purl": "pkg:pypi/archivy@1.7.0",
    "type": "pypi",
    "namespace": "",
    "name": "archivy",
    "version": "1.7.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.7.1",
    "latest_non_vulnerable_version": "1.7.1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36048?format=api",
            "vulnerability_id": "VCID-yur4-b8gw-8qda",
            "summary": "Open Redirect in GitHub repository archivy/archivy prior to 1.7.0.",
            "references": [
                {
                    "reference_url": "https://github.com/advisories/GHSA-28mg-98xm-q493",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-28mg-98xm-q493"
                },
                {
                    "reference_url": "https://github.com/archivy/archivy",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/archivy/archivy"
                },
                {
                    "reference_url": "https://github.com/archivy/archivy/commit/2d8cb29853190d42572b36deb61127e68d6be574",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/archivy/archivy/commit/2d8cb29853190d42572b36deb61127e68d6be574"
                },
                {
                    "reference_url": "https://github.com/archivy/archivy/releases/tag/v1.7.1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/archivy/archivy/releases/tag/v1.7.1"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/archivy/PYSEC-2022-161.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/archivy/PYSEC-2022-161.yaml"
                },
                {
                    "reference_url": "https://huntr.dev/bounties/2d0301a2-10ff-48f4-a346-5a0e8707835b",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://huntr.dev/bounties/2d0301a2-10ff-48f4-a346-5a0e8707835b"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-0697",
                    "reference_id": "CVE-2022-0697",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-0697"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/26831?format=api",
                    "purl": "pkg:pypi/archivy@1.7.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/archivy@1.7.0"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/60913?format=api",
                    "purl": "pkg:pypi/archivy@1.7.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/archivy@1.7.1"
                }
            ],
            "aliases": [
                "CVE-2022-0697",
                "GHSA-28mg-98xm-q493",
                "PYSEC-2022-161"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-yur4-b8gw-8qda"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/archivy@1.7.0"
}