Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/52096?format=api",
    "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.20",
    "type": "maven",
    "namespace": "org.apache.struts",
    "name": "struts2-core",
    "version": "2.3.20",
    "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/37884?format=api",
            "vulnerability_id": "VCID-4t8h-s9mh-p7c4",
            "summary": "Wrong excludeParams overrides those defined in DefaultExcludedPatternsChecker\nThe default exclude patterns (excludeParams) in this package allow remote attackers to \"compromise internal state of an application\" via unspecified vectors.",
            "references": [
                {
                    "reference_url": "https://struts.apache.org/docs/s2-024.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://struts.apache.org/docs/s2-024.html"
                },
                {
                    "reference_url": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-1831",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-1831"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52325?format=api",
                    "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.20.1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "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.20.1"
                }
            ],
            "aliases": [
                "CVE-2015-1831"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-4t8h-s9mh-p7c4"
        },
        {
            "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/52682?format=api",
                    "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.20.3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "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.20.3"
                },
                {
                    "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/43925?format=api",
            "vulnerability_id": "VCID-4ywn-n1my-83ev",
            "summary": "Improper Input Validation\nThe TextParseUtil.translateVariables method in Apache Struts 2.x before 2.3.20 allows remote attackers to execute arbitrary code via a crafted OGNL expression with ANTLR tooling.",
            "references": [
                {
                    "reference_url": "https://security.netapp.com/advisory/ntap-20180629-0005/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.netapp.com/advisory/ntap-20180629-0005/"
                },
                {
                    "reference_url": "https://struts.apache.org/docs/s2-027.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://struts.apache.org/docs/s2-027.html"
                },
                {
                    "reference_url": "https://web.archive.org/web/20210123095942/http://www.securityfocus.com/bid/85131",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://web.archive.org/web/20210123095942/http://www.securityfocus.com/bid/85131"
                },
                {
                    "reference_url": "https://web.archive.org/web/20211206100940/https://www.securitytracker.com/id/1035267",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://web.archive.org/web/20211206100940/https://www.securitytracker.com/id/1035267"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-3090",
                    "reference_id": "CVE-2016-3090",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-3090"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-ggmp-fxfg-277r",
                    "reference_id": "GHSA-ggmp-fxfg-277r",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-ggmp-fxfg-277r"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52096?format=api",
                    "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.20",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-4t8h-s9mh-p7c4"
                        },
                        {
                            "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.20"
                }
            ],
            "aliases": [
                "CVE-2016-3090",
                "GHSA-ggmp-fxfg-277r"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-4ywn-n1my-83ev"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38868?format=api",
            "vulnerability_id": "VCID-m39c-3bv2-6ugy",
            "summary": "Cross-Site Scripting vulnerability on \"Problem Report\" screen\nWhen Debug mode is turned on, under certain conditions an arbitrary script may be executed in the `Problem Report` screen. Also if JSP files are exposed to be accessed directly it's possible to execute an arbitrary script.",
            "references": [
                {
                    "reference_url": "https://struts.apache.org/docs/s2-025.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://struts.apache.org/docs/s2-025.html"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52096?format=api",
                    "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.20",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-4t8h-s9mh-p7c4"
                        },
                        {
                            "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.20"
                }
            ],
            "aliases": [
                "CVE-2015-5169"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-m39c-3bv2-6ugy"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37781?format=api",
            "vulnerability_id": "VCID-wtca-5ffw-w7bc",
            "summary": "Predictable CSRF token\nThis package uses predictable `<s:token/>` values, which allows remote attackers to bypass the CSRF protection mechanism.",
            "references": [
                {
                    "reference_url": "http://blog.h3xstream.com/2014/12/predicting-struts-csrf-token-cve-2014.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://blog.h3xstream.com/2014/12/predicting-struts-csrf-token-cve-2014.html"
                },
                {
                    "reference_url": "http://struts.apache.org/docs/s2-023.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://struts.apache.org/docs/s2-023.html"
                },
                {
                    "reference_url": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-7809",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-7809"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52096?format=api",
                    "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.20",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-4t8h-s9mh-p7c4"
                        },
                        {
                            "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.20"
                }
            ],
            "aliases": [
                "CVE-2014-7809"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-wtca-5ffw-w7bc"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.20"
}