Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/64768?format=api",
    "purl": "pkg:maven/org.eclipse.jetty/jetty-server@12.0.1",
    "type": "maven",
    "namespace": "org.eclipse.jetty",
    "name": "jetty-server",
    "version": "12.0.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "12.0.32",
    "latest_non_vulnerable_version": "12.1.6",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46032?format=api",
            "vulnerability_id": "VCID-3vps-uq7s-nfb7",
            "summary": "Improper Handling of Length Parameter Inconsistency\nJetty is a Java based web server and servlet engine. Prior to versions 9.4.52, 10.0.16, 11.0.16, and 12.0.1, Jetty accepts the `+` character proceeding the content-length value in a HTTP/1 header field. This is more permissive than allowed by the RFC and other servers routinely reject such requests with 400 responses. There is no known exploit scenario, but it is conceivable that request smuggling could result if jetty is used in combination with a server that does not close the connection after sending such a 400 response. Versions 9.4.52, 10.0.16, 11.0.16, and 12.0.1 contain a patch for this issue. There is no workaround as there is no known exploit scenario.",
            "references": [
                {
                    "reference_url": "https://www.rfc-editor.org/rfc/rfc9110#section-8.6",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.rfc-editor.org/rfc/rfc9110#section-8.6"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-40167",
                    "reference_id": "CVE-2023-40167",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-40167"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-hmr7-m48g-48f6",
                    "reference_id": "GHSA-hmr7-m48g-48f6",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-hmr7-m48g-48f6"
                },
                {
                    "reference_url": "https://github.com/eclipse/jetty.project/security/advisories/GHSA-hmr7-m48g-48f6",
                    "reference_id": "GHSA-hmr7-m48g-48f6",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/eclipse/jetty.project/security/advisories/GHSA-hmr7-m48g-48f6"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/66965?format=api",
                    "purl": "pkg:maven/org.eclipse.jetty/jetty-server@9.4.52.v20230823",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.eclipse.jetty/jetty-server@9.4.52.v20230823"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/66966?format=api",
                    "purl": "pkg:maven/org.eclipse.jetty/jetty-server@10.0.16",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.eclipse.jetty/jetty-server@10.0.16"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/66967?format=api",
                    "purl": "pkg:maven/org.eclipse.jetty/jetty-server@11.0.16",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.eclipse.jetty/jetty-server@11.0.16"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64768?format=api",
                    "purl": "pkg:maven/org.eclipse.jetty/jetty-server@12.0.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.eclipse.jetty/jetty-server@12.0.1"
                }
            ],
            "aliases": [
                "CVE-2023-40167",
                "GHSA-hmr7-m48g-48f6"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-3vps-uq7s-nfb7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44972?format=api",
            "vulnerability_id": "VCID-gua7-n9ne-t3hk",
            "summary": "Exposure of Sensitive Information to an Unauthorized Actor\nJetty is a java based web server and servlet engine. Nonstandard cookie parsing in Jetty may allow an attacker to smuggle cookies within other cookies, or otherwise perform unintended behavior by tampering with the cookie parsing mechanism. If Jetty sees a cookie VALUE that starts with `\"` (double quote), it will continue to read the cookie string until it sees a closing quote -- even if a semicolon is encountered. So, a cookie header such as: `DISPLAY_LANGUAGE=\"b; JSESSIONID=1337; c=d\"` will be parsed as one cookie, with the name DISPLAY_LANGUAGE and a value of b; JSESSIONID=1337; c=d instead of 3 separate cookies. This has security implications because if, say, JSESSIONID is an HttpOnly cookie, and the DISPLAY_LANGUAGE cookie value is rendered on the page, an attacker can smuggle the JSESSIONID cookie into the DISPLAY_LANGUAGE cookie and thereby exfiltrate it. This is significant when an intermediary is enacting some policy based on cookies, so a smuggled cookie can bypass that policy yet still be seen by the Jetty server or its logging system. This issue has been addressed in versions 9.4.51, 10.0.14, 11.0.14, and 12.0.0.beta0 and users are advised to upgrade. There are no known workarounds for this issue.",
            "references": [
                {
                    "reference_url": "https://github.com/eclipse/jetty.project/pull/9339",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/eclipse/jetty.project/pull/9339"
                },
                {
                    "reference_url": "https://github.com/eclipse/jetty.project/pull/9352",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/eclipse/jetty.project/pull/9352"
                },
                {
                    "reference_url": "https://www.rfc-editor.org/rfc/rfc2965",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.rfc-editor.org/rfc/rfc2965"
                },
                {
                    "reference_url": "https://www.rfc-editor.org/rfc/rfc6265",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.rfc-editor.org/rfc/rfc6265"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-26049",
                    "reference_id": "CVE-2023-26049",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-26049"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-p26g-97m4-6q7c",
                    "reference_id": "GHSA-p26g-97m4-6q7c",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-p26g-97m4-6q7c"
                },
                {
                    "reference_url": "https://github.com/eclipse/jetty.project/security/advisories/GHSA-p26g-97m4-6q7c",
                    "reference_id": "GHSA-p26g-97m4-6q7c",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/eclipse/jetty.project/security/advisories/GHSA-p26g-97m4-6q7c"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64765?format=api",
                    "purl": "pkg:maven/org.eclipse.jetty/jetty-server@9.4.51.v20230217",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.eclipse.jetty/jetty-server@9.4.51.v20230217"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64766?format=api",
                    "purl": "pkg:maven/org.eclipse.jetty/jetty-server@10.0.14",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.eclipse.jetty/jetty-server@10.0.14"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64767?format=api",
                    "purl": "pkg:maven/org.eclipse.jetty/jetty-server@11.0.14",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.eclipse.jetty/jetty-server@11.0.14"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64768?format=api",
                    "purl": "pkg:maven/org.eclipse.jetty/jetty-server@12.0.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.eclipse.jetty/jetty-server@12.0.1"
                }
            ],
            "aliases": [
                "CVE-2023-26049",
                "GHSA-p26g-97m4-6q7c"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-gua7-n9ne-t3hk"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46014?format=api",
            "vulnerability_id": "VCID-w2z8-sxzw-rugp",
            "summary": "Jetty vulnerable to errant command quoting in CGI Servlet\nIf a user sends a request to a `org.eclipse.jetty.servlets.CGI` Servlet for a binary with a space in its name, the servlet will escape the command by wrapping it in quotation marks. This wrapped command, plus an optional command prefix, will then be executed through a call to Runtime.exec. If the original binary name provided by the user contains a quotation mark followed by a space, the resulting command line will contain multiple tokens instead of one. For example, if a request references a binary called file” name “here, the escaping algorithm will generate the command line string “file” name “here”, which will invoke the binary named file, not the one that the user requested.\n\n```java\nif (execCmd.length() > 0 && execCmd.charAt(0) != '\"' && execCmd.contains(\" \"))\nexecCmd = \"\\\"\" + execCmd + \"\\\"\";\n```",
            "references": [
                {
                    "reference_url": "https://github.com/eclipse/jetty.project",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/eclipse/jetty.project"
                },
                {
                    "reference_url": "https://github.com/eclipse/jetty.project/pull/9516",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/eclipse/jetty.project/pull/9516"
                },
                {
                    "reference_url": "https://github.com/eclipse/jetty.project/pull/9888",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/eclipse/jetty.project/pull/9888"
                },
                {
                    "reference_url": "https://github.com/eclipse/jetty.project/pull/9889",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/eclipse/jetty.project/pull/9889"
                },
                {
                    "reference_url": "https://lists.debian.org/debian-lts-announce/2023/09/msg00039.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.debian.org/debian-lts-announce/2023/09/msg00039.html"
                },
                {
                    "reference_url": "https://www.debian.org/security/2023/dsa-5507",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.debian.org/security/2023/dsa-5507"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-36479",
                    "reference_id": "CVE-2023-36479",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-36479"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-3gh6-v5v9-6v9j",
                    "reference_id": "GHSA-3gh6-v5v9-6v9j",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-3gh6-v5v9-6v9j"
                },
                {
                    "reference_url": "https://github.com/eclipse/jetty.project/security/advisories/GHSA-3gh6-v5v9-6v9j",
                    "reference_id": "GHSA-3gh6-v5v9-6v9j",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/eclipse/jetty.project/security/advisories/GHSA-3gh6-v5v9-6v9j"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/66965?format=api",
                    "purl": "pkg:maven/org.eclipse.jetty/jetty-server@9.4.52.v20230823",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.eclipse.jetty/jetty-server@9.4.52.v20230823"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/66966?format=api",
                    "purl": "pkg:maven/org.eclipse.jetty/jetty-server@10.0.16",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.eclipse.jetty/jetty-server@10.0.16"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/66967?format=api",
                    "purl": "pkg:maven/org.eclipse.jetty/jetty-server@11.0.16",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.eclipse.jetty/jetty-server@11.0.16"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64768?format=api",
                    "purl": "pkg:maven/org.eclipse.jetty/jetty-server@12.0.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.eclipse.jetty/jetty-server@12.0.1"
                }
            ],
            "aliases": [
                "CVE-2023-36479",
                "GHSA-3gh6-v5v9-6v9j"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-w2z8-sxzw-rugp"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.eclipse.jetty/jetty-server@12.0.1"
}