Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/68055?format=api",
    "purl": "pkg:maven/org.apache.struts/struts2-config-browser-plugin@2.5.32",
    "type": "maven",
    "namespace": "org.apache.struts",
    "name": "struts2-config-browser-plugin",
    "version": "2.5.32",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.5.33",
    "latest_non_vulnerable_version": "6.3.0.2",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46547?format=api",
            "vulnerability_id": "VCID-78xk-z9kk-cqge",
            "summary": "Incomplete Cleanup\nWhen a Multipart request is performed but some of the fields exceed the maxStringLength  limit, the upload files will remain in struts.multipart.saveDir  even if the request has been denied.\nUsers are recommended to upgrade to versions Struts 2.5.32 or 6.1.2.2 or Struts 6.3.0.1 or greater, which fixe this issue.",
            "references": [
                {
                    "reference_url": "https://github.com/apache/struts",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/apache/struts"
                },
                {
                    "reference_url": "https://github.com/apache/struts/commit/3292152f8c0a77ee4827beede82b6580478a2c2a",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/apache/struts/commit/3292152f8c0a77ee4827beede82b6580478a2c2a"
                },
                {
                    "reference_url": "https://github.com/apache/struts/commit/4c044f12560e22e00520595412830f9582d6dac7",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/apache/struts/commit/4c044f12560e22e00520595412830f9582d6dac7"
                },
                {
                    "reference_url": "https://github.com/apache/struts/commit/bf54436869c264941dd192c752a4abfaa65d3711",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/apache/struts/commit/bf54436869c264941dd192c752a4abfaa65d3711"
                },
                {
                    "reference_url": "https://lists.apache.org/thread/6wj530kh3ono8phr642y9sqkl67ys2ft",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.apache.org/thread/6wj530kh3ono8phr642y9sqkl67ys2ft"
                },
                {
                    "reference_url": "https://security.netapp.com/advisory/ntap-20231013-0001",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.netapp.com/advisory/ntap-20231013-0001"
                },
                {
                    "reference_url": "https://www.openwall.com/lists/oss-security/2023/12/09/1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.openwall.com/lists/oss-security/2023/12/09/1"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-41835",
                    "reference_id": "CVE-2023-41835",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-41835"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-729q-fcgp-r5xh",
                    "reference_id": "GHSA-729q-fcgp-r5xh",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-729q-fcgp-r5xh"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/68055?format=api",
                    "purl": "pkg:maven/org.apache.struts/struts2-config-browser-plugin@2.5.32",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-config-browser-plugin@2.5.32"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/68056?format=api",
                    "purl": "pkg:maven/org.apache.struts/struts2-config-browser-plugin@6.3.0.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-config-browser-plugin@6.3.0.1"
                }
            ],
            "aliases": [
                "CVE-2023-41835",
                "GHSA-729q-fcgp-r5xh"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-78xk-z9kk-cqge"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-config-browser-plugin@2.5.32"
}