Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/14780?format=api",
    "vulnerability_id": "VCID-k32h-zep8-sfer",
    "summary": "Unrestricted Upload of File with Dangerous Type\nMCMS v5.2.4 was discovered to have an arbitrary file upload vulnerability in the New Template module, which allows attackers to execute arbitrary code via a crafted ZIP file.",
    "aliases": [
        {
            "alias": "CVE-2022-22929"
        },
        {
            "alias": "GHSA-77hh-p7r6-66pv"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59237?format=api",
            "purl": "pkg:maven/net.mingsoft/ms-mcms@5.2.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5d5m-8jty-kyax"
                },
                {
                    "vulnerability": "VCID-d4nr-adct-cqh8"
                },
                {
                    "vulnerability": "VCID-js75-4xnd-9ua6"
                },
                {
                    "vulnerability": "VCID-k32h-zep8-sfer"
                },
                {
                    "vulnerability": "VCID-mzkf-x1bf-pyas"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/net.mingsoft/ms-mcms@5.2.4"
        }
    ],
    "references": [
        {
            "reference_url": "https://web.archive.org/web/20230521040336/https://gitee.com/mingSoft/MCMS/issues/I4Q4NV",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://web.archive.org/web/20230521040336/https://gitee.com/mingSoft/MCMS/issues/I4Q4NV"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-22929",
            "reference_id": "CVE-2022-22929",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-22929"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-77hh-p7r6-66pv",
            "reference_id": "GHSA-77hh-p7r6-66pv",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-77hh-p7r6-66pv"
        }
    ],
    "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": 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": 78,
            "name": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')",
            "description": "The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component."
        },
        {
            "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-k32h-zep8-sfer"
}