Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/3328?format=api",
    "vulnerability_id": "VCID-stta-vvsr-1ufe",
    "summary": "multiple issues",
    "aliases": [
        {
            "alias": "CVE-2022-21716"
        },
        {
            "alias": "GHSA-rv6r-3f5q-9rgx"
        },
        {
            "alias": "PYSEC-2022-160"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/26829?format=api",
            "purl": "pkg:pypi/twisted@22.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ap46-rugq-uucz"
                },
                {
                    "vulnerability": "VCID-kadj-7rha-tuc1"
                },
                {
                    "vulnerability": "VCID-w8z5-p2mz-5ybq"
                },
                {
                    "vulnerability": "VCID-yfky-tzcp-5qgh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/twisted@22.2.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1317?format=api",
            "purl": "pkg:alpm/archlinux/python-twisted@21.7.0-4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-stta-vvsr-1ufe"
                },
                {
                    "vulnerability": "VCID-v5y5-zpkb-vygh"
                },
                {
                    "vulnerability": "VCID-yfky-tzcp-5qgh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/python-twisted@21.7.0-4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/26617?format=api",
            "purl": "pkg:pypi/twisted@21.7.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ap46-rugq-uucz"
                },
                {
                    "vulnerability": "VCID-kadj-7rha-tuc1"
                },
                {
                    "vulnerability": "VCID-stta-vvsr-1ufe"
                },
                {
                    "vulnerability": "VCID-v5y5-zpkb-vygh"
                },
                {
                    "vulnerability": "VCID-w8z5-p2mz-5ybq"
                },
                {
                    "vulnerability": "VCID-yfky-tzcp-5qgh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/twisted@21.7.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/26618?format=api",
            "purl": "pkg:pypi/twisted@22.1.0rc1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ap46-rugq-uucz"
                },
                {
                    "vulnerability": "VCID-kadj-7rha-tuc1"
                },
                {
                    "vulnerability": "VCID-stta-vvsr-1ufe"
                },
                {
                    "vulnerability": "VCID-v5y5-zpkb-vygh"
                },
                {
                    "vulnerability": "VCID-w8z5-p2mz-5ybq"
                },
                {
                    "vulnerability": "VCID-yfky-tzcp-5qgh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/twisted@22.1.0rc1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/26619?format=api",
            "purl": "pkg:pypi/twisted@22.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ap46-rugq-uucz"
                },
                {
                    "vulnerability": "VCID-kadj-7rha-tuc1"
                },
                {
                    "vulnerability": "VCID-stta-vvsr-1ufe"
                },
                {
                    "vulnerability": "VCID-w8z5-p2mz-5ybq"
                },
                {
                    "vulnerability": "VCID-yfky-tzcp-5qgh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/twisted@22.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/26828?format=api",
            "purl": "pkg:pypi/twisted@22.2.0rc1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ap46-rugq-uucz"
                },
                {
                    "vulnerability": "VCID-kadj-7rha-tuc1"
                },
                {
                    "vulnerability": "VCID-stta-vvsr-1ufe"
                },
                {
                    "vulnerability": "VCID-w8z5-p2mz-5ybq"
                },
                {
                    "vulnerability": "VCID-yfky-tzcp-5qgh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/twisted@22.2.0rc1"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/twisted/PYSEC-2022-160.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/pypa/advisory-database/tree/main/vulns/twisted/PYSEC-2022-160.yaml"
        },
        {
            "reference_url": "https://github.com/twisted/twisted",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/twisted/twisted"
        },
        {
            "reference_url": "https://github.com/twisted/twisted/commit/89c395ee794e85a9657b112c4351417850330ef9",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/twisted/twisted/commit/89c395ee794e85a9657b112c4351417850330ef9"
        },
        {
            "reference_url": "https://github.com/twisted/twisted/commit/98387b39e9f0b21462f6abc7a1325dc370fcdeb1",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/twisted/twisted/commit/98387b39e9f0b21462f6abc7a1325dc370fcdeb1"
        },
        {
            "reference_url": "https://github.com/twisted/twisted/releases/tag/twisted-22.2.0",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/twisted/twisted/releases/tag/twisted-22.2.0"
        },
        {
            "reference_url": "https://github.com/twisted/twisted/security/advisories/GHSA-rv6r-3f5q-9rgx",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/twisted/twisted/security/advisories/GHSA-rv6r-3f5q-9rgx"
        },
        {
            "reference_url": "https://lists.debian.org/debian-lts-announce/2022/03/msg00009.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.debian.org/debian-lts-announce/2022/03/msg00009.html"
        },
        {
            "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7U6KYDTOLPICAVSR34G2WRYLFBD2YW5K",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7U6KYDTOLPICAVSR34G2WRYLFBD2YW5K"
        },
        {
            "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GLKHA6WREIVAMBQD7KKWYHPHGGNKMAG6",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GLKHA6WREIVAMBQD7KKWYHPHGGNKMAG6"
        },
        {
            "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7U6KYDTOLPICAVSR34G2WRYLFBD2YW5K",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7U6KYDTOLPICAVSR34G2WRYLFBD2YW5K"
        },
        {
            "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GLKHA6WREIVAMBQD7KKWYHPHGGNKMAG6",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GLKHA6WREIVAMBQD7KKWYHPHGGNKMAG6"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/202301-02",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://security.gentoo.org/glsa/202301-02"
        },
        {
            "reference_url": "https://twistedmatrix.com/trac/ticket/10284",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://twistedmatrix.com/trac/ticket/10284"
        },
        {
            "reference_url": "https://www.oracle.com/security-alerts/cpuapr2022.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.oracle.com/security-alerts/cpuapr2022.html"
        },
        {
            "reference_url": "https://security.archlinux.org/AVG-2663",
            "reference_id": "AVG-2663",
            "reference_type": "",
            "scores": [
                {
                    "value": "Medium",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-2663"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-21716",
            "reference_id": "CVE-2022-21716",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-21716"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-rv6r-3f5q-9rgx",
            "reference_id": "GHSA-rv6r-3f5q-9rgx",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-rv6r-3f5q-9rgx"
        }
    ],
    "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": 770,
            "name": "Allocation of Resources Without Limits or Throttling",
            "description": "The product allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor."
        },
        {
            "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": "4.0 - 6.9",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-stta-vvsr-1ufe"
}