Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/272295?format=api",
    "purl": "pkg:npm/renovate@19.222.0",
    "type": "npm",
    "namespace": "",
    "name": "renovate",
    "version": "19.222.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "19.38.7",
    "latest_non_vulnerable_version": "43.102.11",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/53612?format=api",
            "vulnerability_id": "VCID-59up-4yun-eqgj",
            "summary": "Azure DevOps token leakage in logs\n### Impact\n\nApplies to Azure DevOps users only. The bot's token may be exposed in server or pipeline logs due to the `http.extraheader=AUTHORIZATION` parameter being logged without redaction. It is recommended that Azure DevOps users revoke their existing bot credentials and generate new ones after upgrading if there's a potential that logs have been saved to a location that others can view.\n\n### Patches\n\nFixed \n\n### Workarounds\n\nDo not share Renovate logs with anyone who cannot be trusted with access to the token.\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Email us at [security@renovatebot.com](mailto:security@renovatebot.com)",
            "references": [
                {
                    "reference_url": "https://github.com/renovatebot/renovate",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/renovatebot/renovate"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-36rh-ggpr-j3gj",
                    "reference_id": "GHSA-36rh-ggpr-j3gj",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-36rh-ggpr-j3gj"
                },
                {
                    "reference_url": "https://github.com/renovatebot/renovate/security/advisories/GHSA-36rh-ggpr-j3gj",
                    "reference_id": "GHSA-36rh-ggpr-j3gj",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/renovatebot/renovate/security/advisories/GHSA-36rh-ggpr-j3gj"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/78676?format=api",
                    "purl": "pkg:npm/renovate@23.25.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/renovate@23.25.1"
                }
            ],
            "aliases": [
                "GHSA-36rh-ggpr-j3gj",
                "GMS-2020-460"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-59up-4yun-eqgj"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/renovate@19.222.0"
}