Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/52844?format=api",
    "purl": "pkg:npm/growl@1.10.2",
    "type": "npm",
    "namespace": "",
    "name": "growl",
    "version": "1.10.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38175?format=api",
            "vulnerability_id": "VCID-14s5-v9gb-hkhp",
            "summary": "Command Injection\nGrowl does not properly sanitize input before passing it to exec, allowing for arbitrary command execution.",
            "references": [
                {
                    "reference_url": "https://github.com/tj/node-growl/issues/60",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tj/node-growl/issues/60"
                },
                {
                    "reference_url": "https://github.com/tj/node-growl/pull/61",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/tj/node-growl/pull/61"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52844?format=api",
                    "purl": "pkg:npm/growl@1.10.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/growl@1.10.2"
                }
            ],
            "aliases": [
                "GMS-2016-47"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-14s5-v9gb-hkhp"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/39771?format=api",
            "vulnerability_id": "VCID-ft5f-6f5r-gyb6",
            "summary": "OS Command Injection\nGrowl does not properly sanitize input before passing it to exec, allowing for arbitrary command execution.",
            "references": [
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16042",
                    "reference_id": "CVE-2017-16042",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16042"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52844?format=api",
                    "purl": "pkg:npm/growl@1.10.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/growl@1.10.2"
                }
            ],
            "aliases": [
                "CVE-2017-16042"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ft5f-6f5r-gyb6"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/growl@1.10.2"
}