Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/52635?format=api",
    "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.24.1",
    "type": "maven",
    "namespace": "org.apache.struts",
    "name": "struts2-core",
    "version": "2.3.24.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.3.31",
    "latest_non_vulnerable_version": "7.1.1",
    "affected_by_vulnerabilities": [
        {
            "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.",
            "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"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2016-3081",
                "GHSA-8c6j-ffmf-q6vm"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6dfe-8yy4-kkfj"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38073?format=api",
            "vulnerability_id": "VCID-9mn7-d2mm-uqay",
            "summary": "Cross-site Scripting\nCross-site scripting (XSS) vulnerability in the `URLDecoder` function in JRE, as used in Apache Struts, when using a single byte page encoding, allows remote attackers to inject arbitrary web script or HTML via multi-byte characters in an url-encoded parameter.",
            "references": [
                {
                    "reference_url": "https://issues.apache.org/jira/browse/WW-4507",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://issues.apache.org/jira/browse/WW-4507"
                },
                {
                    "reference_url": "http://struts.apache.org/docs/s2-028.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://struts.apache.org/docs/s2-028.html"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/86311",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/86311"
                },
                {
                    "reference_url": "http://www.securitytracker.com/id/1035268",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securitytracker.com/id/1035268"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-4003",
                    "reference_id": "CVE-2016-4003",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-4003"
                }
            ],
            "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"
                }
            ],
            "aliases": [
                "CVE-2016-4003"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-9mn7-d2mm-uqay"
        },
        {
            "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.",
            "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"
                }
            ],
            "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"
                }
            ],
            "aliases": [
                "CVE-2016-3093",
                "GHSA-383p-xqxx-rrmp"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-q2ad-khtm-nqdr"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38152?format=api",
            "vulnerability_id": "VCID-qdsq-8td3-5qa1",
            "summary": "Improper Input Validation\nThe `URLValidator` class in Apache Struts 2 allows remote attackers to cause a denial of service via a `null` value for a URL field.",
            "references": [
                {
                    "reference_url": "http://jvndb.jvn.jp/jvndb/JVNDB-2016-000114",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://jvndb.jvn.jp/jvndb/JVNDB-2016-000114"
                },
                {
                    "reference_url": "http://jvn.jp/en/jp/JVN12352818/index.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://jvn.jp/en/jp/JVN12352818/index.html"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1348253",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1348253"
                },
                {
                    "reference_url": "https://struts.apache.org/docs/s2-041.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://struts.apache.org/docs/s2-041.html"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-4465",
                    "reference_id": "CVE-2016-4465",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-4465"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52808?format=api",
                    "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.29",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "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.29"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52809?format=api",
                    "purl": "pkg:maven/org.apache.struts/struts2-core@2.5.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.5.1"
                }
            ],
            "aliases": [
                "CVE-2016-4465"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-qdsq-8td3-5qa1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38100?format=api",
            "vulnerability_id": "VCID-z1jy-4da2-tyhk",
            "summary": "Improper Input Validation\n`XSLTResult` in Apache Struts allows remote attackers to execute arbitrary code via the stylesheet location parameter.",
            "references": [
                {
                    "reference_url": "http://struts.apache.org/docs/s2-031.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://struts.apache.org/docs/s2-031.html"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-3082",
                    "reference_id": "CVE-2016-3082",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-3082"
                }
            ],
            "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"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52683?format=api",
                    "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.28.1",
                    "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.28.1"
                }
            ],
            "aliases": [
                "CVE-2016-3082"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-z1jy-4da2-tyhk"
        }
    ],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38781?format=api",
            "vulnerability_id": "VCID-fwkj-x53j-yqd8",
            "summary": "Manipulation of Struts internals\nThis package allows remote attackers to manipulate Struts internals, alter user sessions, or affect container settings via vectors involving a top object.",
            "references": [
                {
                    "reference_url": "https://struts.apache.org/docs/s2-026.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://struts.apache.org/docs/s2-026.html"
                }
            ],
            "fixed_packages": [
                {
                    "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"
                }
            ],
            "aliases": [
                "CVE-2015-5209"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-fwkj-x53j-yqd8"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.24.1"
}