Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/53726?format=api",
    "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.21",
    "type": "maven",
    "namespace": "org.apache.struts",
    "name": "struts2-core",
    "version": "2.3.21",
    "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/44093?format=api",
            "vulnerability_id": "VCID-1cxn-qv1w-2kh7",
            "summary": "Improper Input Validation\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 vectors related to an ! (exclamation mark) operator to the REST Plugin.",
            "references": [
                {
                    "reference_url": "https://github.com/apache/struts/commit/6bd694b7980494c12d49ca1bf39f12aec3e03e2f",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/apache/struts/commit/6bd694b7980494c12d49ca1bf39f12aec3e03e2f"
                },
                {
                    "reference_url": "http://struts.apache.org/docs/s2-033.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://struts.apache.org/docs/s2-033.html"
                },
                {
                    "reference_url": "https://web.archive.org/web/20160616082237/http://www.securitytracker.com/id/1036017",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://web.archive.org/web/20160616082237/http://www.securitytracker.com/id/1036017"
                },
                {
                    "reference_url": "https://web.archive.org/web/20160728170709/http://www.securityfocus.com/bid/90960",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://web.archive.org/web/20160728170709/http://www.securityfocus.com/bid/90960"
                },
                {
                    "reference_url": "https://www.exploit-db.com/exploits/39919/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.exploit-db.com/exploits/39919/"
                },
                {
                    "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": "https://nvd.nist.gov/vuln/detail/CVE-2016-3087",
                    "reference_id": "CVE-2016-3087",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-3087"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-mmj6-cjj4-hpr5",
                    "reference_id": "GHSA-mmj6-cjj4-hpr5",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-mmj6-cjj4-hpr5"
                }
            ],
            "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-3087",
                "GHSA-mmj6-cjj4-hpr5"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1cxn-qv1w-2kh7"
        },
        {
            "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/38856?format=api",
            "vulnerability_id": "VCID-dvxu-9sh6-qbef",
            "summary": "Improper Input Validation\nUsing an unintentional expression in a Freemarker tag instead of string literals can lead to a RCE attack.",
            "references": [
                {
                    "reference_url": "https://struts.apache.org/docs/s2-053.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://struts.apache.org/docs/s2-053.html"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/100829",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/100829"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-12611",
                    "reference_id": "CVE-2017-12611",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-12611"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/54100?format=api",
                    "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.34",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.34"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53731?format=api",
                    "purl": "pkg:maven/org.apache.struts/struts2-core@2.5.12",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-hrky-nmnv-g3eu"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.5.12"
                }
            ],
            "aliases": [
                "CVE-2017-12611"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dvxu-9sh6-qbef"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38860?format=api",
            "vulnerability_id": "VCID-hrky-nmnv-g3eu",
            "summary": "Improper Input Validation\nIf an application allows entering a URL in a form field and built-in `URLValidator` is used, it is possible to prepare a special URL which will be used to overload server process when performing validation of the URL.",
            "references": [
                {
                    "reference_url": "https://struts.apache.org/docs/s2-050.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://struts.apache.org/docs/s2-050.html"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/100612",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/100612"
                },
                {
                    "reference_url": "http://www.securitytracker.com/id/1039261",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securitytracker.com/id/1039261"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-9804",
                    "reference_id": "CVE-2017-9804",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-9804"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52680?format=api",
                    "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.24",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-fwkj-x53j-yqd8"
                        },
                        {
                            "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"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/54100?format=api",
                    "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.34",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.34"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/54101?format=api",
                    "purl": "pkg:maven/org.apache.struts/struts2-core@2.5.13",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.5.13"
                }
            ],
            "aliases": [
                "CVE-2017-9804"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-hrky-nmnv-g3eu"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38668?format=api",
            "vulnerability_id": "VCID-mmth-7rgf-aqfa",
            "summary": "Uncontrolled Resource Consumption\nWhen using a Spring AOP functionality to secure Struts actions it is possible to perform a DoS attack.",
            "references": [
                {
                    "reference_url": "http://struts.apache.org/docs/s2-049.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://struts.apache.org/docs/s2-049.html"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/99562",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/99562"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-9787",
                    "reference_id": "CVE-2017-9787",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-9787"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53730?format=api",
                    "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.33",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "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.33"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53731?format=api",
                    "purl": "pkg:maven/org.apache.struts/struts2-core@2.5.12",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-hrky-nmnv-g3eu"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.5.12"
                }
            ],
            "aliases": [
                "CVE-2017-9787"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mmth-7rgf-aqfa"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.21"
}