Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/69795?format=api",
    "purl": "pkg:pypi/keras@2.13.1rc0",
    "type": "pypi",
    "namespace": "",
    "name": "keras",
    "version": "2.13.1rc0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.13.1rc0",
    "latest_non_vulnerable_version": "3.13.2",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/47487?format=api",
            "vulnerability_id": "VCID-3sjs-86sn-fbe2",
            "summary": "Keras code injection vulnerability\nA arbitrary code injection vulnerability in TensorFlow's Keras framework (<2.13) allows attackers to execute arbitrary code with the same permissions as the application using a model that allow arbitrary code irrespective of the application.",
            "references": [
                {
                    "reference_url": "https://github.com/keras-team/keras",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/keras-team/keras"
                },
                {
                    "reference_url": "https://github.com/keras-team/keras/compare/r2.12...r2.13",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/keras-team/keras/compare/r2.12...r2.13"
                },
                {
                    "reference_url": "https://kb.cert.org/vuls/id/253266",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://kb.cert.org/vuls/id/253266"
                },
                {
                    "reference_url": "https://www.kb.cert.org/vuls/id/253266",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.kb.cert.org/vuls/id/253266"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-3660",
                    "reference_id": "CVE-2024-3660",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-3660"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-x4wf-678h-2pmq",
                    "reference_id": "GHSA-x4wf-678h-2pmq",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-x4wf-678h-2pmq"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/69795?format=api",
                    "purl": "pkg:pypi/keras@2.13.1rc0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/keras@2.13.1rc0"
                }
            ],
            "aliases": [
                "CVE-2024-3660",
                "GHSA-x4wf-678h-2pmq"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-3sjs-86sn-fbe2"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/keras@2.13.1rc0"
}