Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/7218?format=api",
    "vulnerability_id": "VCID-h9p6-jmet-6qc8",
    "summary": "arbitrary code execution",
    "aliases": [
        {
            "alias": "CVE-2021-37231"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/3876?format=api",
            "purl": "pkg:alpm/archlinux/atomicparsley@20210715.151551.e7ad03a-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/atomicparsley@20210715.151551.e7ad03a-1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/3875?format=api",
            "purl": "pkg:alpm/archlinux/atomicparsley@20210617.200601.1ac7c08-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8jer-gmfc-y7gc"
                },
                {
                    "vulnerability": "VCID-h9p6-jmet-6qc8"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/atomicparsley@20210617.200601.1ac7c08-1"
        }
    ],
    "references": [
        {
            "reference_url": "https://security.archlinux.org/AVG-2253",
            "reference_id": "AVG-2253",
            "reference_type": "",
            "scores": [
                {
                    "value": "Medium",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-2253"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-h9p6-jmet-6qc8"
}