Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/40616?format=api",
    "purl": "pkg:pypi/rpyc@3.2.1",
    "type": "pypi",
    "namespace": "",
    "name": "rpyc",
    "version": "3.2.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "6.0.0",
    "latest_non_vulnerable_version": "6.0.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36748?format=api",
            "vulnerability_id": "VCID-8a5v-fvm4-zqa7",
            "summary": "In RPyC before 6.0.0, when a server exposes a method that calls the attribute named __array__ for a client-provided netref (e.g., np.array(client_netref)), a remote attacker can craft a class that results in remote code execution.",
            "references": [
                {
                    "reference_url": "https://gist.github.com/renbou/957f70d27470982994f12a1d70153d09",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://gist.github.com/renbou/957f70d27470982994f12a1d70153d09"
                },
                {
                    "reference_url": "https://github.com/tomerfiliba-org/rpyc",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tomerfiliba-org/rpyc"
                },
                {
                    "reference_url": "https://github.com/tomerfiliba-org/rpyc/blob/5.3.1/rpyc/core/netref.py#L252-L255",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tomerfiliba-org/rpyc/blob/5.3.1/rpyc/core/netref.py#L252-L255"
                },
                {
                    "reference_url": "https://github.com/tomerfiliba-org/rpyc/commit/9f45f8269d4106905db61d82cd529cacdb178911",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tomerfiliba-org/rpyc/commit/9f45f8269d4106905db61d82cd529cacdb178911"
                },
                {
                    "reference_url": "https://github.com/tomerfiliba-org/rpyc/commit/bba1d3562e6f9f1256ec64048cc23001c0bb7516",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tomerfiliba-org/rpyc/commit/bba1d3562e6f9f1256ec64048cc23001c0bb7516"
                },
                {
                    "reference_url": "https://github.com/tomerfiliba-org/rpyc/security/advisories/GHSA-h5cg-53g7-gqjw",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tomerfiliba-org/rpyc/security/advisories/GHSA-h5cg-53g7-gqjw"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-27758",
                    "reference_id": "CVE-2024-27758",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-27758"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-h5cg-53g7-gqjw",
                    "reference_id": "GHSA-h5cg-53g7-gqjw",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-h5cg-53g7-gqjw"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/40639?format=api",
                    "purl": "pkg:pypi/rpyc@6.0.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/rpyc@6.0.0"
                }
            ],
            "aliases": [
                "CVE-2024-27758",
                "GHSA-h5cg-53g7-gqjw",
                "PYSEC-2024-44"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-8a5v-fvm4-zqa7"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/rpyc@3.2.1"
}