Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37554?format=api",
    "vulnerability_id": "VCID-89az-256b-mubw",
    "summary": "Code Injection\nApache Struts 2 allows remote attackers to execute arbitrary OGNL code via a request with a crafted action name that is not properly handled during wildcard matching, a different vulnerability than CVE-2013-2135.",
    "aliases": [
        {
            "alias": "CVE-2013-2134"
        },
        {
            "alias": "GHSA-gqqm-564f-vvxq"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51514?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.14.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-dvxu-9sh6-qbef"
                },
                {
                    "vulnerability": "VCID-hrky-nmnv-g3eu"
                },
                {
                    "vulnerability": "VCID-mmth-7rgf-aqfa"
                },
                {
                    "vulnerability": "VCID-z1jy-4da2-tyhk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.14.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51513?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-el@2.3.14.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-el@2.3.14.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63089?format=api",
            "purl": "pkg:maven/org.apache.struts.xwork/xwork-core@2.3.14.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts.xwork/xwork-core@2.3.14.3"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51175?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2-alpha0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1exe-1vfk-f7bn"
                },
                {
                    "vulnerability": "VCID-1kjb-use6-23eu"
                },
                {
                    "vulnerability": "VCID-4x3k-a11x-7bee"
                },
                {
                    "vulnerability": "VCID-84ge-vq7u-j3ar"
                },
                {
                    "vulnerability": "VCID-89az-256b-mubw"
                },
                {
                    "vulnerability": "VCID-e78f-s5z5-qkgs"
                },
                {
                    "vulnerability": "VCID-emya-8et9-n7a9"
                },
                {
                    "vulnerability": "VCID-kc4z-fnyk-tkdu"
                },
                {
                    "vulnerability": "VCID-kcy9-3d45-23b1"
                },
                {
                    "vulnerability": "VCID-kmqa-hsqy-muf1"
                },
                {
                    "vulnerability": "VCID-wsvw-qwt7-qbg1"
                },
                {
                    "vulnerability": "VCID-xd9a-gdh3-97ar"
                },
                {
                    "vulnerability": "VCID-z6wr-3psx-dbfm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2-alpha0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51504?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.14.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1kjb-use6-23eu"
                },
                {
                    "vulnerability": "VCID-447s-4ag7-gyes"
                },
                {
                    "vulnerability": "VCID-89az-256b-mubw"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.14.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51511?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-el@2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1kjb-use6-23eu"
                },
                {
                    "vulnerability": "VCID-89az-256b-mubw"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-el@2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51512?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-el@2.3.14.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1kjb-use6-23eu"
                },
                {
                    "vulnerability": "VCID-89az-256b-mubw"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-el@2.3.14.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62399?format=api",
            "purl": "pkg:maven/org.apache.struts.xwork/xwork-core@2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1kjb-use6-23eu"
                },
                {
                    "vulnerability": "VCID-4x3k-a11x-7bee"
                },
                {
                    "vulnerability": "VCID-84ge-vq7u-j3ar"
                },
                {
                    "vulnerability": "VCID-89az-256b-mubw"
                },
                {
                    "vulnerability": "VCID-wsvw-qwt7-qbg1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts.xwork/xwork-core@2.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://cwiki.apache.org/confluence/display/WW/S2-015",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cwiki.apache.org/confluence/display/WW/S2-015"
        },
        {
            "reference_url": "http://security.gentoo.org/glsa/glsa-201409-04.xml",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://security.gentoo.org/glsa/glsa-201409-04.xml"
        },
        {
            "reference_url": "https://github.com/apache/struts/commit/01e6b251b4db78bfb7971033652e81d1af4cb3e0",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/apache/struts/commit/01e6b251b4db78bfb7971033652e81d1af4cb3e0"
        },
        {
            "reference_url": "https://github.com/apache/struts/commit/041206d2a693d02c0cb2e72765275e55ba14049f",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/apache/struts/commit/041206d2a693d02c0cb2e72765275e55ba14049f"
        },
        {
            "reference_url": "https://github.com/apache/struts/commit/113c47082c09818bcef65acc436a2d0c7c47aa6c",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/apache/struts/commit/113c47082c09818bcef65acc436a2d0c7c47aa6c"
        },
        {
            "reference_url": "https://github.com/apache/struts/commit/54e5c912ebd9a1599bfcf7a719da17c28127bbe3",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/apache/struts/commit/54e5c912ebd9a1599bfcf7a719da17c28127bbe3"
        },
        {
            "reference_url": "https://github.com/apache/struts/commit/711cf0201cdd319a38cf29238913312355db29ba",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/apache/struts/commit/711cf0201cdd319a38cf29238913312355db29ba"
        },
        {
            "reference_url": "https://github.com/apache/struts/commit/8b4fc81daeea3834bcbf73de5f48d0021917aa37",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/apache/struts/commit/8b4fc81daeea3834bcbf73de5f48d0021917aa37"
        },
        {
            "reference_url": "https://github.com/apache/struts/commit/cfb6e9afbae320a4dd5bdd655154ab9fe5a92c16",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/apache/struts/commit/cfb6e9afbae320a4dd5bdd655154ab9fe5a92c16"
        },
        {
            "reference_url": "https://issues.apache.org/jira/browse/WW-4090",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://issues.apache.org/jira/browse/WW-4090"
        },
        {
            "reference_url": "https://issues.apache.org/jira/browse/WW-4094",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://issues.apache.org/jira/browse/WW-4094"
        },
        {
            "reference_url": "https://issues.apache.org/jira/browse/WW-4095",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://issues.apache.org/jira/browse/WW-4095"
        },
        {
            "reference_url": "http://struts.apache.org/development/2.x/docs/s2-015.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://struts.apache.org/development/2.x/docs/s2-015.html"
        },
        {
            "reference_url": "http://struts.apache.org/docs/s2-015.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://struts.apache.org/docs/s2-015.html"
        },
        {
            "reference_url": "https://web.archive.org/web/20140226173351/http://www.securityfocus.com/bid/60346",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://web.archive.org/web/20140226173351/http://www.securityfocus.com/bid/60346"
        },
        {
            "reference_url": "https://web.archive.org/web/20140410223942/http://www.securityfocus.com/bid/64758",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://web.archive.org/web/20140410223942/http://www.securityfocus.com/bid/64758"
        },
        {
            "reference_url": "http://www.oracle.com/technetwork/topics/security/cpujan2014-1972949.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.oracle.com/technetwork/topics/security/cpujan2014-1972949.html"
        },
        {
            "reference_url": "http://www.oracle.com/technetwork/topics/security/cpuoct2013-1899837.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.oracle.com/technetwork/topics/security/cpuoct2013-1899837.html"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2013-2134",
            "reference_id": "CVE-2013-2134",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2013-2134"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-gqqm-564f-vvxq",
            "reference_id": "GHSA-gqqm-564f-vvxq",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-gqqm-564f-vvxq"
        }
    ],
    "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": 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": 94,
            "name": "Improper Control of Generation of Code ('Code Injection')",
            "description": "The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-89az-256b-mubw"
}