Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43802?format=api",
    "vulnerability_id": "VCID-6dfe-8yy4-kkfj",
    "summary": "Improper Neutralization of Special Elements used in a Command ('Command Injection')\nApache Struts 2.3.19 to 2.3.20.2, 2.3.21 to 2.3.24.1, and 2.3.25 to 2.3.28, when Dynamic Method Invocation is enabled, allow remote attackers to execute arbitrary code via method: prefix, related to chained expressions.",
    "aliases": [
        {
            "alias": "CVE-2016-3081"
        },
        {
            "alias": "GHSA-8c6j-ffmf-q6vm"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53725?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.19",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1cxn-qv1w-2kh7"
                },
                {
                    "vulnerability": "VCID-6dfe-8yy4-kkfj"
                },
                {
                    "vulnerability": "VCID-dvxu-9sh6-qbef"
                },
                {
                    "vulnerability": "VCID-hrky-nmnv-g3eu"
                },
                {
                    "vulnerability": "VCID-mmth-7rgf-aqfa"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.19"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/54131?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.20.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6dfe-8yy4-kkfj"
                },
                {
                    "vulnerability": "VCID-dvxu-9sh6-qbef"
                },
                {
                    "vulnerability": "VCID-hrky-nmnv-g3eu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.20.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53726?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.21",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1cxn-qv1w-2kh7"
                },
                {
                    "vulnerability": "VCID-6dfe-8yy4-kkfj"
                },
                {
                    "vulnerability": "VCID-dvxu-9sh6-qbef"
                },
                {
                    "vulnerability": "VCID-hrky-nmnv-g3eu"
                },
                {
                    "vulnerability": "VCID-mmth-7rgf-aqfa"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.21"
        },
        {
            "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"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53727?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.25",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1cxn-qv1w-2kh7"
                },
                {
                    "vulnerability": "VCID-6dfe-8yy4-kkfj"
                },
                {
                    "vulnerability": "VCID-dvxu-9sh6-qbef"
                },
                {
                    "vulnerability": "VCID-hrky-nmnv-g3eu"
                },
                {
                    "vulnerability": "VCID-mmth-7rgf-aqfa"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.25"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52681?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.28",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6dfe-8yy4-kkfj"
                },
                {
                    "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.28"
        }
    ],
    "references": [
        {
            "reference_url": "http://packetstormsecurity.com/files/136856/Apache-Struts-2.3.28-Dynamic-Method-Invocation-Remote-Code-Execution.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://packetstormsecurity.com/files/136856/Apache-Struts-2.3.28-Dynamic-Method-Invocation-Remote-Code-Execution.html"
        },
        {
            "reference_url": "https://struts.apache.org/docs/s2-032.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://struts.apache.org/docs/s2-032.html"
        },
        {
            "reference_url": "https://web.archive.org/web/20210123152457/http://www.securityfocus.com/bid/91787",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://web.archive.org/web/20210123152457/http://www.securityfocus.com/bid/91787"
        },
        {
            "reference_url": "https://web.archive.org/web/20210225192113/http://www.securityfocus.com/bid/87327",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://web.archive.org/web/20210225192113/http://www.securityfocus.com/bid/87327"
        },
        {
            "reference_url": "https://web.archive.org/web/20210226011418/http://www.securitytracker.com/id/1035665",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://web.archive.org/web/20210226011418/http://www.securitytracker.com/id/1035665"
        },
        {
            "reference_url": "https://www.exploit-db.com/exploits/39756/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.exploit-db.com/exploits/39756/"
        },
        {
            "reference_url": "http://www.huawei.com/en/psirt/security-advisories/huawei-sa-20160527-01-struts2-en",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.huawei.com/en/psirt/security-advisories/huawei-sa-20160527-01-struts2-en"
        },
        {
            "reference_url": "http://www.oracle.com/technetwork/security-advisory/cpujul2016-2881720.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.oracle.com/technetwork/security-advisory/cpujul2016-2881720.html"
        },
        {
            "reference_url": "http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html"
        },
        {
            "reference_url": "http://www.rapid7.com/db/modules/exploit/linux/http/struts_dmi_exec",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.rapid7.com/db/modules/exploit/linux/http/struts_dmi_exec"
        },
        {
            "reference_url": "http://www.rapid7.com/db/modules/exploit/multi/http/struts_dmi_exec",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.rapid7.com/db/modules/exploit/multi/http/struts_dmi_exec"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-3081",
            "reference_id": "CVE-2016-3081",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-3081"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-8c6j-ffmf-q6vm",
            "reference_id": "GHSA-8c6j-ffmf-q6vm",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-8c6j-ffmf-q6vm"
        }
    ],
    "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": 77,
            "name": "Improper Neutralization of Special Elements used in a Command ('Command Injection')",
            "description": "The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component."
        },
        {
            "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."
        },
        {
            "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-6dfe-8yy4-kkfj"
}