Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/4948?format=api",
    "vulnerability_id": "VCID-tmd3-e1h3-nfb6",
    "summary": "",
    "aliases": [
        {
            "alias": "CVE-2021-4156"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/2089?format=api",
            "purl": "pkg:alpm/archlinux/lib32-libsndfile@1.1.0-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/lib32-libsndfile@1.1.0-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/2091?format=api",
            "purl": "pkg:alpm/archlinux/libsndfile@1.1.0-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/libsndfile@1.1.0-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61078?format=api",
            "purl": "pkg:conan/libsndfile@1.2.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:conan/libsndfile@1.2.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1339?format=api",
            "purl": "pkg:alpm/archlinux/lib32-libsndfile@1.0.31-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-781a-ff7s-zuc1"
                },
                {
                    "vulnerability": "VCID-tmd3-e1h3-nfb6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/lib32-libsndfile@1.0.31-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/2090?format=api",
            "purl": "pkg:alpm/archlinux/libsndfile@1.0.31-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-781a-ff7s-zuc1"
                },
                {
                    "vulnerability": "VCID-tmd3-e1h3-nfb6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/libsndfile@1.0.31-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61077?format=api",
            "purl": "pkg:conan/libsndfile@1.1.10",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-tmd3-e1h3-nfb6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:conan/libsndfile@1.1.10"
        }
    ],
    "references": [
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2027690",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2027690"
        },
        {
            "reference_url": "https://github.com/libsndfile/libsndfile/issues/731",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/libsndfile/libsndfile/issues/731"
        },
        {
            "reference_url": "https://github.com/libsndfile/libsndfile/pull/732/commits/4c30646abf7834e406f7e2429c70bc254e18beab",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/libsndfile/libsndfile/pull/732/commits/4c30646abf7834e406f7e2429c70bc254e18beab"
        },
        {
            "reference_url": "https://security.archlinux.org/AVG-2704",
            "reference_id": "AVG-2704",
            "reference_type": "",
            "scores": [
                {
                    "value": "High",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-2704"
        },
        {
            "reference_url": "https://security.archlinux.org/AVG-2705",
            "reference_id": "AVG-2705",
            "reference_type": "",
            "scores": [
                {
                    "value": "High",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-2705"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-4156",
            "reference_id": "CVE-2021-4156",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-4156"
        }
    ],
    "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": 125,
            "name": "Out-of-bounds Read",
            "description": "The product reads data past the end, or before the beginning, of the intended 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": "7.0 - 8.9",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-tmd3-e1h3-nfb6"
}