Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/7265?format=api",
    "vulnerability_id": "VCID-5h3s-6g7x-y7ev",
    "summary": "arbitrary code execution",
    "aliases": [
        {
            "alias": "CVE-2021-3598"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/3943?format=api",
            "purl": "pkg:alpm/archlinux/openexr@3.0.5-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/openexr@3.0.5-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/58349?format=api",
            "purl": "pkg:conan/openexr@3.1.4",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:conan/openexr@3.1.4"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/3942?format=api",
            "purl": "pkg:alpm/archlinux/openexr@3.0.4-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5h3s-6g7x-y7ev"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/openexr@3.0.4-1"
        }
    ],
    "references": [
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1970987",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1970987"
        },
        {
            "reference_url": "https://security.archlinux.org/ASA-202107-14",
            "reference_id": "ASA-202107-14",
            "reference_type": "",
            "scores": [],
            "url": "https://security.archlinux.org/ASA-202107-14"
        },
        {
            "reference_url": "https://security.archlinux.org/AVG-2071",
            "reference_id": "AVG-2071",
            "reference_type": "",
            "scores": [
                {
                    "value": "Medium",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-2071"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3598",
            "reference_id": "CVE-2021-3598",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3598"
        }
    ],
    "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": 119,
            "name": "Improper Restriction of Operations within the Bounds of a Memory Buffer",
            "description": "The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer."
        },
        {
            "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": "4.0 - 6.9",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5h3s-6g7x-y7ev"
}