Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/80238?format=api",
    "vulnerability_id": "VCID-cafq-79j3-uue5",
    "summary": "binutils: infinite loop while demangling rust symbols",
    "aliases": [
        {
            "alias": "CVE-2021-3648"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/373275?format=api",
            "purl": "pkg:alpm/archlinux/binutils@2.38-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/binutils@2.38-1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/373274?format=api",
            "purl": "pkg:alpm/archlinux/binutils@2.36.1-3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4uea-bxbr-2kdz"
                },
                {
                    "vulnerability": "VCID-cafq-79j3-uue5"
                },
                {
                    "vulnerability": "VCID-uv5p-15z7-fqcn"
                },
                {
                    "vulnerability": "VCID-znqk-35mz-dqfk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/binutils@2.36.1-3"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-3648.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-3648.json"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "3.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1982320",
            "reference_id": "1982320",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1982320"
        },
        {
            "reference_url": "https://security.archlinux.org/AVG-1540",
            "reference_id": "AVG-1540",
            "reference_type": "",
            "scores": [
                {
                    "value": "Medium",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-1540"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 835,
            "name": "Loop with Unreachable Exit Condition ('Infinite Loop')",
            "description": "The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop."
        }
    ],
    "exploits": [],
    "severity_range_score": "3.3 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-cafq-79j3-uue5"
}