Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35930?format=api",
    "vulnerability_id": "VCID-s2ft-3gq2-tfgv",
    "summary": "A Buffer Overflow vulnerability exists in NumPy 1.9.x in the PyArray_NewFromDescr_int function of ctors.c when specifying arrays of large dimensions (over 32) from Python code, which could let a malicious user cause a Denial of Service.",
    "aliases": [
        {
            "alias": "CVE-2021-33430"
        },
        {
            "alias": "GHSA-6p56-wp2h-9hxr"
        },
        {
            "alias": "PYSEC-2021-854"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/10133?format=api",
            "purl": "pkg:pypi/numpy@1.10.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-86w7-qcmk-xyca"
                },
                {
                    "vulnerability": "VCID-d4gz-n249-4ucx"
                },
                {
                    "vulnerability": "VCID-vx94-afb7-ybdw"
                },
                {
                    "vulnerability": "VCID-xmpe-ucks-uubr"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/numpy@1.10.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60066?format=api",
            "purl": "pkg:pypi/numpy@1.21",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/numpy@1.21"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/10129?format=api",
            "purl": "pkg:pypi/numpy@1.9.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-86w7-qcmk-xyca"
                },
                {
                    "vulnerability": "VCID-d4gz-n249-4ucx"
                },
                {
                    "vulnerability": "VCID-s2ft-3gq2-tfgv"
                },
                {
                    "vulnerability": "VCID-trpn-8hvc-5qd8"
                },
                {
                    "vulnerability": "VCID-vx94-afb7-ybdw"
                },
                {
                    "vulnerability": "VCID-xmpe-ucks-uubr"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/numpy@1.9.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/10130?format=api",
            "purl": "pkg:pypi/numpy@1.9.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-86w7-qcmk-xyca"
                },
                {
                    "vulnerability": "VCID-d4gz-n249-4ucx"
                },
                {
                    "vulnerability": "VCID-s2ft-3gq2-tfgv"
                },
                {
                    "vulnerability": "VCID-trpn-8hvc-5qd8"
                },
                {
                    "vulnerability": "VCID-vx94-afb7-ybdw"
                },
                {
                    "vulnerability": "VCID-xmpe-ucks-uubr"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/numpy@1.9.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/10131?format=api",
            "purl": "pkg:pypi/numpy@1.9.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-86w7-qcmk-xyca"
                },
                {
                    "vulnerability": "VCID-d4gz-n249-4ucx"
                },
                {
                    "vulnerability": "VCID-s2ft-3gq2-tfgv"
                },
                {
                    "vulnerability": "VCID-trpn-8hvc-5qd8"
                },
                {
                    "vulnerability": "VCID-vx94-afb7-ybdw"
                },
                {
                    "vulnerability": "VCID-xmpe-ucks-uubr"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/numpy@1.9.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/10132?format=api",
            "purl": "pkg:pypi/numpy@1.9.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-86w7-qcmk-xyca"
                },
                {
                    "vulnerability": "VCID-d4gz-n249-4ucx"
                },
                {
                    "vulnerability": "VCID-s2ft-3gq2-tfgv"
                },
                {
                    "vulnerability": "VCID-trpn-8hvc-5qd8"
                },
                {
                    "vulnerability": "VCID-vx94-afb7-ybdw"
                },
                {
                    "vulnerability": "VCID-xmpe-ucks-uubr"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/numpy@1.9.3"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/advisories/GHSA-6p56-wp2h-9hxr",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-6p56-wp2h-9hxr"
        },
        {
            "reference_url": "https://github.com/numpy/numpy",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/numpy/numpy"
        },
        {
            "reference_url": "https://github.com/numpy/numpy/commit/ae317fd9ff3e79c0eac357d723bfc29cbd625f2e",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/numpy/numpy/commit/ae317fd9ff3e79c0eac357d723bfc29cbd625f2e"
        },
        {
            "reference_url": "https://github.com/numpy/numpy/issues/18939",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/numpy/numpy/issues/18939"
        },
        {
            "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/numpy/PYSEC-2021-854.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/pypa/advisory-database/tree/main/vulns/numpy/PYSEC-2021-854.yaml"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-33430",
            "reference_id": "CVE-2021-33430",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-33430"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 120,
            "name": "Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')",
            "description": "The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow."
        },
        {
            "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."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-s2ft-3gq2-tfgv"
}