Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/27454?format=api",
    "purl": "pkg:pypi/consoleme@1.2.2",
    "type": "pypi",
    "namespace": "",
    "name": "consoleme",
    "version": "1.2.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36075?format=api",
            "vulnerability_id": "VCID-fz1e-bxja-6ben",
            "summary": "A Python format string issue leading to information disclosure and potentially remote code execution in ConsoleMe for all versions prior to 1.2.2",
            "references": [
                {
                    "reference_url": "https://github.com/advisories/GHSA-74w3-2r77-fw5h",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-74w3-2r77-fw5h"
                },
                {
                    "reference_url": "https://github.com/Netflix/security-bulletins/blob/master/advisories/nflx-2022-001.md",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/Netflix/security-bulletins/blob/master/advisories/nflx-2022-001.md"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-27177",
                    "reference_id": "CVE-2022-27177",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-27177"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/27454?format=api",
                    "purl": "pkg:pypi/consoleme@1.2.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/consoleme@1.2.2"
                }
            ],
            "aliases": [
                "CVE-2022-27177",
                "GHSA-74w3-2r77-fw5h",
                "PYSEC-2022-189"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-fz1e-bxja-6ben"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/consoleme@1.2.2"
}