Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/33352?format=api",
    "vulnerability_id": "VCID-4wmg-m36u-fbch",
    "summary": "Withdrawn: duplicate of GHSA-2m39-62fm-q8r3",
    "aliases": [
        {
            "alias": "GHSA-wx84-69jh-jjp2"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/28744?format=api",
            "purl": "pkg:npm/sshpk@1.13.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/sshpk@1.13.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73145?format=api",
            "purl": "pkg:npm/sshpk@1.14.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/sshpk@1.14.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73144?format=api",
            "purl": "pkg:npm/sshpk@1.14.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4wmg-m36u-fbch"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/sshpk@1.14.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/joyent/node-sshpk/blob/v1.13.1/lib/formats/ssh.js#L17",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/joyent/node-sshpk/blob/v1.13.1/lib/formats/ssh.js#L17"
        },
        {
            "reference_url": "https://hackerone.com/reports/319593",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://hackerone.com/reports/319593"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-wx84-69jh-jjp2",
            "reference_id": "GHSA-wx84-69jh-jjp2",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-wx84-69jh-jjp2"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-4wmg-m36u-fbch"
}