Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35880?format=api",
    "vulnerability_id": "VCID-y965-s4eq-vfee",
    "summary": "Cobbler before 3.3.0 allows arbitrary file write operations via upload_log_data.",
    "aliases": [
        {
            "alias": "CVE-2021-40324"
        },
        {
            "alias": "GHSA-4cfr-gjfx-fj3x"
        },
        {
            "alias": "PYSEC-2021-374"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/23876?format=api",
            "purl": "pkg:pypi/cobbler@3.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-gxpd-rmnn-67cm"
                },
                {
                    "vulnerability": "VCID-n8d7-2mjk-wbc8"
                },
                {
                    "vulnerability": "VCID-nrb3-t9dq-x7hw"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/cobbler@3.3.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/23872?format=api",
            "purl": "pkg:pypi/cobbler@0.6.3.post2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3uqv-f4em-4qag"
                },
                {
                    "vulnerability": "VCID-gxpd-rmnn-67cm"
                },
                {
                    "vulnerability": "VCID-hpkx-7ure-6qbf"
                },
                {
                    "vulnerability": "VCID-n8d7-2mjk-wbc8"
                },
                {
                    "vulnerability": "VCID-nrb3-t9dq-x7hw"
                },
                {
                    "vulnerability": "VCID-y965-s4eq-vfee"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/cobbler@0.6.3.post2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/23873?format=api",
            "purl": "pkg:pypi/cobbler@3.1.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3uqv-f4em-4qag"
                },
                {
                    "vulnerability": "VCID-gxpd-rmnn-67cm"
                },
                {
                    "vulnerability": "VCID-hpkx-7ure-6qbf"
                },
                {
                    "vulnerability": "VCID-n8d7-2mjk-wbc8"
                },
                {
                    "vulnerability": "VCID-nrb3-t9dq-x7hw"
                },
                {
                    "vulnerability": "VCID-y965-s4eq-vfee"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/cobbler@3.1.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/23874?format=api",
            "purl": "pkg:pypi/cobbler@3.2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3uqv-f4em-4qag"
                },
                {
                    "vulnerability": "VCID-gxpd-rmnn-67cm"
                },
                {
                    "vulnerability": "VCID-hpkx-7ure-6qbf"
                },
                {
                    "vulnerability": "VCID-n8d7-2mjk-wbc8"
                },
                {
                    "vulnerability": "VCID-nrb3-t9dq-x7hw"
                },
                {
                    "vulnerability": "VCID-y965-s4eq-vfee"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/cobbler@3.2.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/23875?format=api",
            "purl": "pkg:pypi/cobbler@3.2.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3uqv-f4em-4qag"
                },
                {
                    "vulnerability": "VCID-gxpd-rmnn-67cm"
                },
                {
                    "vulnerability": "VCID-hpkx-7ure-6qbf"
                },
                {
                    "vulnerability": "VCID-n8d7-2mjk-wbc8"
                },
                {
                    "vulnerability": "VCID-nrb3-t9dq-x7hw"
                },
                {
                    "vulnerability": "VCID-y965-s4eq-vfee"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/cobbler@3.2.2"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/advisories/GHSA-4cfr-gjfx-fj3x",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-4cfr-gjfx-fj3x"
        },
        {
            "reference_url": "https://github.com/cobbler/cobbler",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/cobbler/cobbler"
        },
        {
            "reference_url": "https://github.com/cobbler/cobbler/commit/d8f60bbf14a838c8c8a1dba98086b223e35fe70a",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/cobbler/cobbler/commit/d8f60bbf14a838c8c8a1dba98086b223e35fe70a"
        },
        {
            "reference_url": "https://github.com/cobbler/cobbler/releases/tag/v3.3.0",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/cobbler/cobbler/releases/tag/v3.3.0"
        },
        {
            "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/cobbler/PYSEC-2021-374.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/pypa/advisory-database/tree/main/vulns/cobbler/PYSEC-2021-374.yaml"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-40324",
            "reference_id": "CVE-2021-40324",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-40324"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 434,
            "name": "Unrestricted Upload of File with Dangerous Type",
            "description": "The product allows the attacker to upload or transfer files of dangerous types that can be automatically processed within the product's environment."
        },
        {
            "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-y965-s4eq-vfee"
}