Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/37776?format=api",
    "purl": "pkg:pypi/transmute-core@0.4.11",
    "type": "pypi",
    "namespace": "",
    "name": "transmute-core",
    "version": "0.4.11",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.13.5",
    "latest_non_vulnerable_version": "1.13.5",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36597?format=api",
            "vulnerability_id": "VCID-kqub-x1cw-7bh9",
            "summary": "Unsafe YAML deserialization in yaml.Loader in transmute-core before 1.13.5 allows attackers to execute arbitrary Python code.",
            "references": [
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/transmute-core/PYSEC-2023-223.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/transmute-core/PYSEC-2023-223.yaml"
                },
                {
                    "reference_url": "https://github.com/toumorokoshi/transmute-core",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/toumorokoshi/transmute-core"
                },
                {
                    "reference_url": "https://github.com/toumorokoshi/transmute-core/commit/29bf82eb8ed9926d31eec90aec482ecc0dcb23f0",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/toumorokoshi/transmute-core/commit/29bf82eb8ed9926d31eec90aec482ecc0dcb23f0"
                },
                {
                    "reference_url": "https://github.com/toumorokoshi/transmute-core/pull/58",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/toumorokoshi/transmute-core/pull/58"
                },
                {
                    "reference_url": "https://github.com/toumorokoshi/transmute-core/releases/tag/v1.13.5",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/toumorokoshi/transmute-core/releases/tag/v1.13.5"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-47204",
                    "reference_id": "CVE-2023-47204",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-47204"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-w9cp-3x79-2p8p",
                    "reference_id": "GHSA-w9cp-3x79-2p8p",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-w9cp-3x79-2p8p"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/37815?format=api",
                    "purl": "pkg:pypi/transmute-core@1.13.5",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/transmute-core@1.13.5"
                }
            ],
            "aliases": [
                "CVE-2023-47204",
                "GHSA-w9cp-3x79-2p8p",
                "PYSEC-2023-223"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-kqub-x1cw-7bh9"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/transmute-core@0.4.11"
}