Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/45079?format=api",
    "purl": "pkg:pypi/ironic@16.0.3",
    "type": "pypi",
    "namespace": "",
    "name": "ironic",
    "version": "16.0.3",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "29.0.1",
    "latest_non_vulnerable_version": "29.0.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37055?format=api",
            "vulnerability_id": "VCID-pqfj-a8pk-2fbx",
            "summary": "OpenStack Ironic before 29.0.1 can write unintended files to a target node disk during image handling (if a deployment was performed via the API). A malicious project assigned as a node owner can provide a path to any local file (readable by ironic-conductor), which may then be written to the target node disk. This is difficult to exploit in practice, because a node deployed in this manner should never reach the ACTIVE state, but it still represents a danger in environments running with non-default, insecure configurations such as with automated cleaning disabled. The fixed versions are 24.1.3, 26.1.1, and 29.0.1.",
            "references": [
                {
                    "reference_url": "https://bugs.launchpad.net/ironic/+bug/2107847",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.launchpad.net/ironic/+bug/2107847"
                },
                {
                    "reference_url": "https://security.openstack.org/ossa/OSSA-2025-001.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.openstack.org/ossa/OSSA-2025-001.html"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/45137?format=api",
                    "purl": "pkg:pypi/ironic@29.0.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ironic@29.0.1"
                }
            ],
            "aliases": [
                "CVE-2025-44021",
                "PYSEC-2025-38"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-pqfj-a8pk-2fbx"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ironic@16.0.3"
}