Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/51899?format=api",
    "purl": "pkg:gem/gnms@2.1.1",
    "type": "gem",
    "namespace": "",
    "name": "gnms",
    "version": "2.1.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37710?format=api",
            "vulnerability_id": "VCID-re6g-zcke-9yg1",
            "summary": "Command injection vulnerability\nThe file /lib/cmd_parse.rb contains a flaw that is triggered when handling shell metacharacters passed via the 'ip' variable. This may allow a remote attacker to inject arbitrary commands.",
            "references": [
                {
                    "reference_url": "http://www.vapid.dhs.org/advisories/gnms-2.1.1.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.vapid.dhs.org/advisories/gnms-2.1.1.html"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "OSVDB-108594"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-re6g-zcke-9yg1"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/gnms@2.1.1"
}