Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/45487?format=api",
    "purl": "pkg:pypi/python-a2a@0.4.6",
    "type": "pypi",
    "namespace": "",
    "name": "python-a2a",
    "version": "0.4.6",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "0.5.6",
    "latest_non_vulnerable_version": "0.5.6",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37084?format=api",
            "vulnerability_id": "VCID-jq54-y288-f7f8",
            "summary": "A vulnerability classified as critical has been found in themanojdesai python-a2a up to 0.5.5. Affected is the function create_workflow of the file python_a2a/agent_flow/server/api.py. The manipulation leads to path traversal. Upgrading to version 0.5.6 is able to address this issue. It is recommended to upgrade the affected component.",
            "references": [
                {
                    "reference_url": "https://github.com/themanojdesai/python-a2a/issues/40",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://github.com/themanojdesai/python-a2a/issues/40"
                },
                {
                    "reference_url": "https://github.com/themanojdesai/python-a2a/issues/40#issuecomment-2904804388",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://github.com/themanojdesai/python-a2a/issues/40#issuecomment-2904804388"
                },
                {
                    "reference_url": "https://github.com/themanojdesai/python-a2a/releases/tag/v0.5.6",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://github.com/themanojdesai/python-a2a/releases/tag/v0.5.6"
                },
                {
                    "reference_url": "https://vuldb.com/?ctiid.312642",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://vuldb.com/?ctiid.312642"
                },
                {
                    "reference_url": "https://vuldb.com/?id.312642",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://vuldb.com/?id.312642"
                },
                {
                    "reference_url": "https://vuldb.com/?submit.593613",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://vuldb.com/?submit.593613"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/45494?format=api",
                    "purl": "pkg:pypi/python-a2a@0.5.6",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/python-a2a@0.5.6"
                }
            ],
            "aliases": [
                "CVE-2025-6167",
                "PYSEC-2025-64"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-jq54-y288-f7f8"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/python-a2a@0.4.6"
}