Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42196?format=api",
    "vulnerability_id": "VCID-14q8-uvkd-nfga",
    "summary": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')\nhttps://gitee.com/mingSoft/MCMS MCMS <=5.2.5 is affected by: SQL Injection. The impact is: obtain sensitive information (remote). The component is: net.mingsoft.mdiy.action.web.DictAction#list. The attack vector is: 0 or sleep(3). ΒΆΒΆ MCMS has a sql injection vulnerability through which attacker can get sensitive information from the database.",
    "aliases": [
        {
            "alias": "CVE-2021-46383"
        },
        {
            "alias": "GHSA-qqc2-pv68-q72h"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60295?format=api",
            "purl": "pkg:maven/net.mingsoft/ms-mcms@5.2.6",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/net.mingsoft/ms-mcms@5.2.6"
        }
    ],
    "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://gitee.com/mingSoft/MCMS/issues/I4QZ1I",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://gitee.com/mingSoft/MCMS/issues/I4QZ1I"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-46383",
            "reference_id": "CVE-2021-46383",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-46383"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-qqc2-pv68-q72h",
            "reference_id": "GHSA-qqc2-pv68-q72h",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-qqc2-pv68-q72h"
        }
    ],
    "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": 89,
            "name": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')",
            "description": "The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL 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-14q8-uvkd-nfga"
}