Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/73368?format=api",
    "purl": "pkg:npm/renovate@35.63.0",
    "type": "npm",
    "namespace": "",
    "name": "renovate",
    "version": "35.63.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "37.199.0",
    "latest_non_vulnerable_version": "43.4.4",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/49687?format=api",
            "vulnerability_id": "VCID-t99z-u8z3-ybbe",
            "summary": "Renovate vulnerable to arbitrary command injection via npm manager and malicious Renovate configuration\nThe user-provided string `packageName` in the `npm` manager is appended to the `npm install` command during lock maintenance without proper sanitization.",
            "references": [
                {
                    "reference_url": "https://github.com/renovatebot/renovate",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/renovatebot/renovate"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-fr4j-65pv-gjjj",
                    "reference_id": "GHSA-fr4j-65pv-gjjj",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-fr4j-65pv-gjjj"
                },
                {
                    "reference_url": "https://github.com/renovatebot/renovate/security/advisories/GHSA-fr4j-65pv-gjjj",
                    "reference_id": "GHSA-fr4j-65pv-gjjj",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/renovatebot/renovate/security/advisories/GHSA-fr4j-65pv-gjjj"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/73324?format=api",
                    "purl": "pkg:npm/renovate@40.33.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/renovate@40.33.0"
                }
            ],
            "aliases": [
                "GHSA-fr4j-65pv-gjjj"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-t99z-u8z3-ybbe"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/renovate@35.63.0"
}