Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37548?format=api",
    "vulnerability_id": "VCID-wsvw-qwt7-qbg1",
    "summary": "Remote command execution due to flaw in the includeParams attribute of URL and Anchor tags\nThis package allows remote attackers to execute arbitrary OGNL code via a crafted request that is not properly handled when using the includeParams attribute in the URL or A tag. NOTE: this issue is due to an incomplete fix for CVE-2013-1966.",
    "aliases": [
        {
            "alias": "CVE-2013-2115"
        },
        {
            "alias": "GHSA-7ghm-rpc7-p7g5"
        }
    ],
    "fixed_packages": [
        {
            "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/62400?format=api",
            "purl": "pkg:maven/org.apache.struts.xwork/xwork-core@2.3.14.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts.xwork/xwork-core@2.3.14.2"
        }
    ],
    "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/51503?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.14.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4x3k-a11x-7bee"
                },
                {
                    "vulnerability": "VCID-wsvw-qwt7-qbg1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.14.1"
        },
        {
            "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://bugzilla.redhat.com/show_bug.cgi?id=967656",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=967656"
        },
        {
            "reference_url": "https://cwiki.apache.org/confluence/display/WW/S2-013",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cwiki.apache.org/confluence/display/WW/S2-013"
        },
        {
            "reference_url": "https://cwiki.apache.org/confluence/display/WW/S2-014",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cwiki.apache.org/confluence/display/WW/S2-014"
        },
        {
            "reference_url": "https://github.com/apache/struts/commit/d7804297e319c7a12245e1b536e565fcea6d650",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/apache/struts/commit/d7804297e319c7a12245e1b536e565fcea6d650"
        },
        {
            "reference_url": "https://github.com/apache/struts/commit/d934c6e7430b7b98e43a0a085a2304bd31a75c3d",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/apache/struts/commit/d934c6e7430b7b98e43a0a085a2304bd31a75c3d"
        },
        {
            "reference_url": "https://github.com/apache/struts/commit/ea96d18d0f75c390d2595648efa3563785c272c6",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/apache/struts/commit/ea96d18d0f75c390d2595648efa3563785c272c6"
        },
        {
            "reference_url": "https://github.com/apache/struts/commit/fed4f8e8a4ec69b5e7612b92d8ce3e476680474",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/apache/struts/commit/fed4f8e8a4ec69b5e7612b92d8ce3e476680474"
        },
        {
            "reference_url": "https://issues.apache.org/jira/browse/WW-4063",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://issues.apache.org/jira/browse/WW-4063"
        },
        {
            "reference_url": "http://struts.apache.org/development/2.x/docs/s2-014.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://struts.apache.org/development/2.x/docs/s2-014.html"
        },
        {
            "reference_url": "http://struts.apache.org/docs/s2-014.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://struts.apache.org/docs/s2-014.html"
        },
        {
            "reference_url": "https://web.archive.org/web/20140212000331/http://www.securityfocus.com/bid/60167",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://web.archive.org/web/20140212000331/http://www.securityfocus.com/bid/60167"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2013-2115",
            "reference_id": "CVE-2013-2115",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2013-2115"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-7ghm-rpc7-p7g5",
            "reference_id": "GHSA-7ghm-rpc7-p7g5",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-7ghm-rpc7-p7g5"
        }
    ],
    "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": 79,
            "name": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
            "description": "The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-wsvw-qwt7-qbg1"
}