Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37542?format=api",
    "vulnerability_id": "VCID-uwx6-kq7y-dfa4",
    "summary": "Potential Command Injection\nUntrusted input passed in the call to libnotify.notify could result in execution of shell commands. Callers may be unaware of this.",
    "aliases": [
        {
            "alias": "GMS-2013-11"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/6508?format=api",
            "purl": "pkg:npm/libnotify@1.0.4",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/libnotify@1.0.4"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/6507?format=api",
            "purl": "pkg:npm/libnotify@1.0.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-tjc9-6eex-4fh7"
                },
                {
                    "vulnerability": "VCID-uwx6-kq7y-dfa4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/libnotify@1.0.3"
        }
    ],
    "references": [],
    "weaknesses": [
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-uwx6-kq7y-dfa4"
}