Skip to content
Heist/ feed
Back to feed
Low

Jetty vulnerable to errant command quoting in CGI Servlet

Type: advisorySources: OSV

Eclipse Jetty Canonical Repository is the canonical repository for the Jetty project. Users of the CgiServlet with a very specific command structure may have the wrong command executed. If 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. This issue was patched in version 9.4.52, 10.0.16, 11.0.16 and 12.0.0-beta2.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-36479
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 20:12 UTC · Revision 1

Source evidence

Jetty vulnerable to errant command quoting in CGI Servlet

core-osv · Original source

Published 15 Sept 2023, 18:37 UTC

Eclipse Jetty Canonical Repository is the canonical repository for the Jetty project. Users of the CgiServlet with a very specific command structure may have the wrong command executed. If 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. This issue was patched in version 9.4.52, 10.0.16, 11.0.16 and 12.0.0-beta2.

osv:CVE-2023-36479
Complete source record
{
  "id": "ab2aaa262a72244451dd7051e6b79ef04939b12b948fb89c289b8cc52089fefa",
  "url": "https://osv.dev/vulnerability/CVE-2023-36479",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Jetty vulnerable to errant command quoting in CGI Servlet",
    "summary": "Eclipse Jetty Canonical Repository is the canonical repository for the Jetty project. Users of the CgiServlet with a very specific command structure may have the wrong command executed. If 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. This issue was patched in version 9.4.52, 10.0.16, 11.0.16 and 12.0.0-beta2.",
    "evidence": "osv:CVE-2023-36479",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2023-36479",
      "aliases": [
        "CVE-2023-36479",
        "GHSA-3gh6-v5v9-6v9j"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/jetty/jetty.project",
              "type": "GIT",
              "events": [
                {
                  "introduced": "1237b739c787a75a5f9e1f495b3f2c8284761499"
                },
                {
                  "fixed": "abdcda73818a1a2c705da276edb0bf6581e7997e"
                },
                {
                  "introduced": "b9645a17373e4e9b7f30b6c0a07defcea2cb660b"
                },
                {
                  "fixed": "a2735a9ae9d1afc124974253f1e223e5678be1f4"
                },
                {
                  "introduced": "432f896d7a4555fcc81f38108757ea0aca8788e6"
                },
                {
                  "fixed": "bedff458c4dd1a716d59e17b8cb0d2042eeab291"
                },
                {
                  "introduced": "8fe4dbc6ddb14403a9fcb3be8b84959741910a95"
                },
                {
                  "last_affected": "f98b345a28fcefbf1fa8e16dc4b44605b68f2c62"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:eclipse:jetty:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "9.0.0"
                      },
                      {
                        "fixed": "9.4.52"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:eclipse:jetty:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "10.0.0"
                      },
                      {
                        "fixed": "10.0.16"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:eclipse:jetty:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "11.0.0"
                      },
                      {
                        "fixed": "11.0.16"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:eclipse:jetty:12.0.0:alpha1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "12.0.0-alpha1"
                      },
                      {
                        "last_affected": "12.0.0-alpha1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:eclipse:jetty:12.0.0:alpha2:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "12.0.0-alpha2"
                      },
                      {
                        "last_affected": "12.0.0-alpha2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:eclipse:jetty:12.0.0:alpha3:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "12.0.0-alpha3"
                      },
                      {
                        "last_affected": "12.0.0-alpha3"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:eclipse:jetty:12.0.0:beta0:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "12.0.0-beta0"
                      },
                      {
                        "last_affected": "12.0.0-beta0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:eclipse:jetty:12.0.0:beta1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "12.0.0-beta1"
                      },
                      {
                        "last_affected": "12.0.0-beta1"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "12.0.0-alpha1",
            "12.0.0-alpha2",
            "12.0.0-alpha3",
            "12.0.0-beta0",
            "12.0.0-beta1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-36479.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:23.089288402Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2023/09/msg00039.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/36xxx/CVE-2023-36479.json",
        "https://github.com/eclipse/jetty.project/security/advisories/GHSA-3gh6-v5v9-6v9j",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-36479",
        "https://www.debian.org/security/2023/dsa-5507",
        "https://github.com/eclipse/jetty.project/pull/9516",
        "https://github.com/eclipse/jetty.project/pull/9888",
        "https://github.com/eclipse/jetty.project/pull/9889"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-149"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/36xxx/CVE-2023-36479.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-36479",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 489692,
  "published_at": "2023-09-15T18:37:35.948+00:00"
}