Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/40257?format=api",
    "purl": "pkg:pypi/orjson@3.2.1",
    "type": "pypi",
    "namespace": "",
    "name": "orjson",
    "version": "3.2.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.11.5",
    "latest_non_vulnerable_version": "3.11.6",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37190?format=api",
            "vulnerability_id": "VCID-5qf2-6yrv-yucb",
            "summary": "The orjson.dumps function in orjson thru 3.11.4 does not limit recursion for deeply nested JSON documents.",
            "references": [
                {
                    "reference_url": "https://github.com/ijl/orjson",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://github.com/ijl/orjson"
                },
                {
                    "reference_url": "https://github.com/ijl/orjson/commit/62bb185b70785ded49c79c26f8c9781f1e6fe370",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/ijl/orjson/commit/62bb185b70785ded49c79c26f8c9781f1e6fe370"
                },
                {
                    "reference_url": "https://github.com/ijl/orjson/issues/620",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/ijl/orjson/issues/620"
                },
                {
                    "reference_url": "https://github.com/kpatsakis/CVE-2025-67221/issues/1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/kpatsakis/CVE-2025-67221/issues/1"
                },
                {
                    "reference_url": "https://github.com/kpatsakis/orjson_vulnerability",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://github.com/kpatsakis/orjson_vulnerability"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-67221",
                    "reference_id": "CVE-2025-67221",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-67221"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-hx9q-6w63-j58v",
                    "reference_id": "GHSA-hx9q-6w63-j58v",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-hx9q-6w63-j58v"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/47222?format=api",
                    "purl": "pkg:pypi/orjson@3.11.5",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/orjson@3.11.5"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/73575?format=api",
                    "purl": "pkg:pypi/orjson@3.11.6",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/orjson@3.11.6"
                }
            ],
            "aliases": [
                "CVE-2025-67221",
                "GHSA-hx9q-6w63-j58v",
                "PYSEC-2026-107"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5qf2-6yrv-yucb"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36739?format=api",
            "vulnerability_id": "VCID-881g-nujb-k7ar",
            "summary": "orjson.loads in orjson before 3.9.15 does not limit recursion for deeply nested JSON documents.",
            "references": [
                {
                    "reference_url": "https://github.com/ijl/orjson",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/ijl/orjson"
                },
                {
                    "reference_url": "https://github.com/ijl/orjson/blob/master/CHANGELOG.md#3915",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/ijl/orjson/blob/master/CHANGELOG.md#3915"
                },
                {
                    "reference_url": "https://github.com/ijl/orjson/commit/b0e4d2c06ce06c6e63981bf0276e4b7c74e5845e",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/ijl/orjson/commit/b0e4d2c06ce06c6e63981bf0276e4b7c74e5845e"
                },
                {
                    "reference_url": "https://github.com/ijl/orjson/issues/458",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/ijl/orjson/issues/458"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/orjson/PYSEC-2024-40.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/orjson/PYSEC-2024-40.yaml"
                },
                {
                    "reference_url": "https://monicz.dev/CVE-2024-27454",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://monicz.dev/CVE-2024-27454"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-27454",
                    "reference_id": "CVE-2024-27454",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-27454"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-pwr2-4v36-6qpr",
                    "reference_id": "GHSA-pwr2-4v36-6qpr",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-pwr2-4v36-6qpr"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/40328?format=api",
                    "purl": "pkg:pypi/orjson@3.9.15",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-5qf2-6yrv-yucb"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/orjson@3.9.15"
                }
            ],
            "aliases": [
                "CVE-2024-27454",
                "GHSA-pwr2-4v36-6qpr",
                "PYSEC-2024-40"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-881g-nujb-k7ar"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/orjson@3.2.1"
}