Lookup for vulnerabilities affecting packages.

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

{
    "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.",
    "aliases": [
        {
            "alias": "OSVDB-108594"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51899?format=api",
            "purl": "pkg:gem/gnms@2.1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-re6g-zcke-9yg1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/gnms@2.1.1"
        }
    ],
    "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"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": "0.5",
    "weighted_severity": "0.0",
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-re6g-zcke-9yg1"
}