Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43465?format=api",
    "vulnerability_id": "VCID-1vy2-r1jp-5uhe",
    "summary": "Improper Input Validation in Apache Struts\nActionServlet.java in Apache Struts 1 1.x through 1.3.10 does not properly restrict the Validator configuration, which allows remote attackers to conduct cross-site scripting (XSS) attacks or cause a denial of service via crafted input, a related issue to CVE-2015-0899.",
    "aliases": [
        {
            "alias": "CVE-2016-1182"
        },
        {
            "alias": "GHSA-5ggr-mpgw-3mgx"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62323?format=api",
            "purl": "pkg:maven/org.apache.struts/struts-core@1.3.10",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1vy2-r1jp-5uhe"
                },
                {
                    "vulnerability": "VCID-n4p7-p4qb-r7a2"
                },
                {
                    "vulnerability": "VCID-renj-v5ce-2khx"
                },
                {
                    "vulnerability": "VCID-yf42-xtpw-dkbk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts-core@1.3.10"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61717?format=api",
            "purl": "pkg:maven/struts/struts@1.2.9",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1vy2-r1jp-5uhe"
                },
                {
                    "vulnerability": "VCID-23wz-c18f-3ub4"
                },
                {
                    "vulnerability": "VCID-n4p7-p4qb-r7a2"
                },
                {
                    "vulnerability": "VCID-yf42-xtpw-dkbk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/struts/struts@1.2.9"
        }
    ],
    "references": [
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1343540",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1343540"
        },
        {
            "reference_url": "https://github.com/apache/struts",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/apache/struts"
        },
        {
            "reference_url": "https://github.com/kawasima/struts1-forever/commit/eda3a79907ed8fcb0387a0496d0cb14332f250e8",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/kawasima/struts1-forever/commit/eda3a79907ed8fcb0387a0496d0cb14332f250e8"
        },
        {
            "reference_url": "https://security.netapp.com/advisory/ntap-20180629-0006",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://security.netapp.com/advisory/ntap-20180629-0006"
        },
        {
            "reference_url": "https://www.oracle.com/security-alerts/cpujan2020.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.oracle.com/security-alerts/cpujan2020.html"
        },
        {
            "reference_url": "https://www.oracle.com/security-alerts/cpujul2020.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.oracle.com/security-alerts/cpujul2020.html"
        },
        {
            "reference_url": "https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html"
        },
        {
            "reference_url": "https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html"
        },
        {
            "reference_url": "https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-1182",
            "reference_id": "CVE-2016-1182",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-1182"
        },
        {
            "reference_url": "https://security-tracker.debian.org/tracker/CVE-2016-1182",
            "reference_id": "CVE-2016-1182",
            "reference_type": "",
            "scores": [],
            "url": "https://security-tracker.debian.org/tracker/CVE-2016-1182"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-5ggr-mpgw-3mgx",
            "reference_id": "GHSA-5ggr-mpgw-3mgx",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-5ggr-mpgw-3mgx"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 20,
            "name": "Improper Input Validation",
            "description": "The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly."
        },
        {
            "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-1vy2-r1jp-5uhe"
}