Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/59737?format=api",
    "purl": "pkg:npm/%40fabiocaccamo/utils.js@0.17.2",
    "type": "npm",
    "namespace": "@fabiocaccamo",
    "name": "utils.js",
    "version": "0.17.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "0.17.2",
    "latest_non_vulnerable_version": "0.17.2",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41821?format=api",
            "vulnerability_id": "VCID-ak83-ue8d-hbhe",
            "summary": "utils.js is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')",
            "references": [
                {
                    "reference_url": "https://github.com/fabiocaccamo/utils.js/commit/102efafb291ce1916985514440d3bf8a6826890a",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/fabiocaccamo/utils.js/commit/102efafb291ce1916985514440d3bf8a6826890a"
                },
                {
                    "reference_url": "https://huntr.dev/bounties/20f48c63-f078-4173-bcac-a9f34885f2c0",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://huntr.dev/bounties/20f48c63-f078-4173-bcac-a9f34885f2c0"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3815",
                    "reference_id": "CVE-2021-3815",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3815"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/59737?format=api",
                    "purl": "pkg:npm/%40fabiocaccamo/utils.js@0.17.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540fabiocaccamo/utils.js@0.17.2"
                }
            ],
            "aliases": [
                "CVE-2021-3815"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ak83-ue8d-hbhe"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540fabiocaccamo/utils.js@0.17.2"
}