Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/30480?format=api",
    "vulnerability_id": "VCID-tjc9-6eex-4fh7",
    "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.\n\n### Example\n```\nvar libnotify = require('libnotify')\nlibnotify.notify('UNTRUSTED INPUT', { title: \\\"\\\" }, function () {\n    console.log(arguments);\n})\n```\n\nSpecial thanks to Neal Poole for submitting the pull request to fix this issue.",
    "aliases": [
        {
            "alias": "CVE-2013-7381"
        }
    ],
    "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": [
        {
            "reference_url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/20.json",
            "reference_id": "20",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/20.json"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": "5.3 - 5.3",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-tjc9-6eex-4fh7"
}