Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37550?format=api",
    "vulnerability_id": "VCID-4x3k-a11x-7bee",
    "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.",
    "aliases": [
        {
            "alias": "CVE-2013-1966"
        },
        {
            "alias": "GHSA-737w-mh58-cxjp"
        }
    ],
    "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://github.com/apache/struts/commit/7e6f641ebb142663cbd1653dc49bed725edf7f56",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/apache/struts/commit/7e6f641ebb142663cbd1653dc49bed725edf7f56"
        },
        {
            "reference_url": "http://struts.apache.org/development/2.x/docs/s2-013.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://struts.apache.org/development/2.x/docs/s2-013.html"
        },
        {
            "reference_url": "http://struts.apache.org/docs/s2-013.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://struts.apache.org/docs/s2-013.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://nvd.nist.gov/vuln/detail/CVE-2013-1966",
            "reference_id": "CVE-2013-1966",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2013-1966"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-737w-mh58-cxjp",
            "reference_id": "GHSA-737w-mh58-cxjp",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-737w-mh58-cxjp"
        }
    ],
    "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-4x3k-a11x-7bee"
}