Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35929?format=api",
    "vulnerability_id": "VCID-trpn-8hvc-5qd8",
    "summary": "Incomplete string comparison in the numpy.core component in NumPy1.9.x, which allows attackers to fail the APIs via constructing specific string objects.",
    "aliases": [
        {
            "alias": "CVE-2021-34141"
        },
        {
            "alias": "GHSA-fpfv-jqm9-f5jm"
        },
        {
            "alias": "PYSEC-2021-855"
        }
    ],
    "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/59867?format=api",
            "purl": "pkg:pypi/numpy@1.22.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/numpy@1.22.0"
        }
    ],
    "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-fpfv-jqm9-f5jm",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-fpfv-jqm9-f5jm"
        },
        {
            "reference_url": "https://github.com/numpy/numpy/issues/18993",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/numpy/numpy/issues/18993"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-34141",
            "reference_id": "CVE-2021-34141",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-34141"
        }
    ],
    "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": 697,
            "name": "Incorrect Comparison",
            "description": "The product compares two entities in a security-relevant context, but the comparison is incorrect, which may lead to resultant weaknesses."
        },
        {
            "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": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-trpn-8hvc-5qd8"
}