Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42490?format=api",
    "vulnerability_id": "VCID-w7nu-3yp1-cqej",
    "summary": "Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')\nMCMS v5.2.5 was discovered to contain a Server Side Template Injection (SSTI) vulnerability via the Template Management module.",
    "aliases": [
        {
            "alias": "CVE-2021-46063"
        },
        {
            "alias": "GHSA-gc79-gh4f-9g6w"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60294?format=api",
            "purl": "pkg:maven/net.mingsoft/ms-mcms@5.2.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-14q8-uvkd-nfga"
                },
                {
                    "vulnerability": "VCID-43n1-8njz-13cy"
                },
                {
                    "vulnerability": "VCID-kmww-m8hg-2fh7"
                },
                {
                    "vulnerability": "VCID-p6m1-wjxq-xfau"
                },
                {
                    "vulnerability": "VCID-sdrg-1mmp-ffba"
                },
                {
                    "vulnerability": "VCID-w7nu-3yp1-cqej"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/net.mingsoft/ms-mcms@5.2.5"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/ming-soft/MCMS/issues/59",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/ming-soft/MCMS/issues/59"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-46063",
            "reference_id": "CVE-2021-46063",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-46063"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-gc79-gh4f-9g6w",
            "reference_id": "GHSA-gc79-gh4f-9g6w",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-gc79-gh4f-9g6w"
        }
    ],
    "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": 74,
            "name": "Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')",
            "description": "The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted 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-w7nu-3yp1-cqej"
}