Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/76641?format=api",
    "purl": "pkg:npm/crypto-js@4.0.0",
    "type": "npm",
    "namespace": "",
    "name": "crypto-js",
    "version": "4.0.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "4.2.0",
    "latest_non_vulnerable_version": "4.2.0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/52228?format=api",
            "vulnerability_id": "VCID-hjvn-rwwm-qqh5",
            "summary": "Insufficient Entropy\nAn attacker is able to guess generated digits due to insufficient entropy.",
            "references": [
                {
                    "reference_url": "https://github.com/brix/crypto-js/issues/256",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/brix/crypto-js/issues/256"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/65378?format=api",
                    "purl": "pkg:npm/crypto-js@3.2.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/crypto-js@3.2.1"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/76641?format=api",
                    "purl": "pkg:npm/crypto-js@4.0.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/crypto-js@4.0.0"
                }
            ],
            "aliases": [
                "GMS-2020-4"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-hjvn-rwwm-qqh5"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/crypto-js@4.0.0"
}