Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44122?format=api",
    "vulnerability_id": "VCID-q2ad-khtm-nqdr",
    "summary": "Improper Input Validation\nApache Struts 2.0.0 through 2.3.24.1 does not properly cache method references when used with OGNL before 3.0.12, which allows remote attackers to cause a denial of service (block access to a web site) via unspecified vectors.",
    "aliases": [
        {
            "alias": "CVE-2016-3093"
        },
        {
            "alias": "GHSA-383p-xqxx-rrmp"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52636?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.24.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-dvxu-9sh6-qbef"
                },
                {
                    "vulnerability": "VCID-hrky-nmnv-g3eu"
                },
                {
                    "vulnerability": "VCID-mmth-7rgf-aqfa"
                },
                {
                    "vulnerability": "VCID-qdsq-8td3-5qa1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.24.3"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52634?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3bjt-18pc-vfe8"
                },
                {
                    "vulnerability": "VCID-4bzw-ges2-d7ek"
                },
                {
                    "vulnerability": "VCID-7hxh-btrk-skhg"
                },
                {
                    "vulnerability": "VCID-8cmt-z8g9-duf2"
                },
                {
                    "vulnerability": "VCID-9mn7-d2mm-uqay"
                },
                {
                    "vulnerability": "VCID-dbzr-zyeu-73g8"
                },
                {
                    "vulnerability": "VCID-gvwn-8r4r-47gm"
                },
                {
                    "vulnerability": "VCID-mvdz-exud-3ybz"
                },
                {
                    "vulnerability": "VCID-nztp-y8p8-cqc6"
                },
                {
                    "vulnerability": "VCID-q2ad-khtm-nqdr"
                },
                {
                    "vulnerability": "VCID-z1jy-4da2-tyhk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52635?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.24.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6dfe-8yy4-kkfj"
                },
                {
                    "vulnerability": "VCID-9mn7-d2mm-uqay"
                },
                {
                    "vulnerability": "VCID-q2ad-khtm-nqdr"
                },
                {
                    "vulnerability": "VCID-qdsq-8td3-5qa1"
                },
                {
                    "vulnerability": "VCID-z1jy-4da2-tyhk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.24.1"
        }
    ],
    "references": [
        {
            "reference_url": "https://lists.apache.org/thread.html/940b4c3fef002461b89a050935337056d4a036a65ef68e0bbd4621ef@%3Cdev.struts.apache.org%3E",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.apache.org/thread.html/940b4c3fef002461b89a050935337056d4a036a65ef68e0bbd4621ef@%3Cdev.struts.apache.org%3E"
        },
        {
            "reference_url": "http://struts.apache.org/docs/s2-034.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://struts.apache.org/docs/s2-034.html"
        },
        {
            "reference_url": "http://www-01.ibm.com/support/docview.wss?uid=swg21987854",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www-01.ibm.com/support/docview.wss?uid=swg21987854"
        },
        {
            "reference_url": "http://www.securityfocus.com/bid/90961",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/bid/90961"
        },
        {
            "reference_url": "http://www.securitytracker.com/id/1036018",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securitytracker.com/id/1036018"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-3093",
            "reference_id": "CVE-2016-3093",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-3093"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-383p-xqxx-rrmp",
            "reference_id": "GHSA-383p-xqxx-rrmp",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-383p-xqxx-rrmp"
        }
    ],
    "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": 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."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-q2ad-khtm-nqdr"
}