Skip to content
Heist/ feed
Back to feed
High

undertow — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2024-6162

A vulnerability was found in Undertow, where URL-encoded request paths can be mishandled during concurrent requests on the AJP listener. This issue arises because the same buffer is used to decode the paths for multiple requests simultaneously, leading to incorrect path information being processed. As a result, the server may attempt to access the wrong path, causing errors such as "404 Not Found" or other application failures. This flaw can potentially lead to a denial of service, as legitimate resources become inaccessible due to the path mix-up.

Products
undertow
Affected versions
1.3.11-1, 1.3.16-1, 1.3.16-1ubuntu0.1~esm1, 1.3.4-1, 1.3.5-1, 1.3.7-1, 1.4.20-1, 1.4.21-1, 1.4.22-1, 1.4.23-1, 1.4.23-2build1, 1.4.23-3, 1.4.23-3ubuntu0.1~esm1, 2.0.23-1, 2.0.27-1, 2.0.28-1, 2.0.29-1, 2.0.29-1ubuntu0.1~esm1, 2.2.12-1, 2.2.13-1, 2.2.14-1, 2.2.16-1, 2.2.16-1ubuntu0.1~esm1, 2.2.8-1, 2.3.18-1, 2.3.18-2, 2.3.20-1, 2.3.20-1ubuntu1, 2.3.8-2, 2.3.8-2ubuntu0.1~esm1
Fixed versions
Not specified
CVEs
CVE-2024-6162
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:10 UTC · Revision 1

Source evidence

UBUNTU-CVE-2024-6162

core-osv · Original source

Published 20 Jun 2024, 15:15 UTC

A vulnerability was found in Undertow, where URL-encoded request paths can be mishandled during concurrent requests on the AJP listener. This issue arises because the same buffer is used to decode the paths for multiple requests simultaneously, leading to incorrect path information being processed. As a result, the server may attempt to access the wrong path, causing errors such as "404 Not Found" or other application failures. This flaw can potentially lead to a denial of service, as legitimate resources become inaccessible due to the path mix-up.

osv:UBUNTU-CVE-2024-6162

undertow

Fixed versions: Not specified

undertow

Fixed versions: Not specified

undertow

Fixed versions: Not specified

undertow

Fixed versions: Not specified

undertow

Fixed versions: Not specified

undertow

Fixed versions: Not specified

undertow

Fixed versions: Not specified

undertow

Fixed versions: Not specified

Complete source record
{
  "id": "7dc33429eeeb7c16b9f2ac94e3144d1e010e130e97ffe18466c2386734626435",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-6162",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2024-6162",
    "summary": "A vulnerability was found in Undertow, where URL-encoded request paths can be mishandled during concurrent requests on the AJP listener. This issue arises because the same buffer is used to decode the paths for multiple requests simultaneously, leading to incorrect path information being processed. As a result, the server may attempt to access the wrong path, causing errors such as \"404 Not Found\" or other application failures. This flaw can potentially lead to a denial of service, as legitimate resources become inaccessible due to the path mix-up.",
    "evidence": "osv:UBUNTU-CVE-2024-6162",
    "products": [
      {
        "name": {
          "value": "undertow",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.4-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.3.5-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.3.7-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.3.11-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.3.16-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.3.16-1ubuntu0.1~esm1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "undertow",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.4.20-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.4.21-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.4.22-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.4.23-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.4.23-2build1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.4.23-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.4.23-3ubuntu0.1~esm1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "undertow",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.0.23-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.0.27-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.0.28-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.0.29-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.0.29-1ubuntu0.1~esm1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "undertow",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.2.8-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.2.12-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.2.13-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.2.14-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.2.16-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.2.16-1ubuntu0.1~esm1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "undertow",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.3.8-2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.3.8-2ubuntu0.1~esm1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "undertow",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.3.18-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "2.3.18-2",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "undertow",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.3.20-1ubuntu1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "undertow",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.3.18-2",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "2.3.20-1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "2.3.20-1ubuntu1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2024-6162",
      "aliases": [
        "UBUNTU-CVE-2024-6162"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "undertow",
            "purl": "pkg:deb/ubuntu/undertow?arch=source&distro=esm-apps%2Fxenial",
            "ecosystem": "Ubuntu:Pro:16.04:LTS"
          },
          "versions": [
            "1.3.4-1",
            "1.3.5-1",
            "1.3.7-1",
            "1.3.11-1",
            "1.3.16-1",
            "1.3.16-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6162.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libundertow-java",
                "binary_version": "1.3.16-1ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "undertow",
            "purl": "pkg:deb/ubuntu/undertow?arch=source&distro=esm-apps%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "versions": [
            "1.4.20-1",
            "1.4.21-1",
            "1.4.22-1",
            "1.4.23-1",
            "1.4.23-2build1",
            "1.4.23-3",
            "1.4.23-3ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6162.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libundertow-java",
                "binary_version": "1.4.23-3ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "undertow",
            "purl": "pkg:deb/ubuntu/undertow?arch=source&distro=esm-apps%2Ffocal",
            "ecosystem": "Ubuntu:Pro:20.04:LTS"
          },
          "versions": [
            "2.0.23-1",
            "2.0.27-1",
            "2.0.28-1",
            "2.0.29-1",
            "2.0.29-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6162.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libundertow-java",
                "binary_version": "2.0.29-1ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "undertow",
            "purl": "pkg:deb/ubuntu/undertow?arch=source&distro=esm-apps%2Fjammy",
            "ecosystem": "Ubuntu:Pro:22.04:LTS"
          },
          "versions": [
            "2.2.8-1",
            "2.2.12-1",
            "2.2.13-1",
            "2.2.14-1",
            "2.2.16-1",
            "2.2.16-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6162.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libundertow-java",
                "binary_version": "2.2.16-1ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "undertow",
            "purl": "pkg:deb/ubuntu/undertow?arch=source&distro=esm-apps%2Fnoble",
            "ecosystem": "Ubuntu:Pro:24.04:LTS"
          },
          "versions": [
            "2.3.8-2",
            "2.3.8-2ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6162.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libundertow-java",
                "binary_version": "2.3.8-2ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "undertow",
            "purl": "pkg:deb/ubuntu/undertow?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "2.3.18-1",
            "2.3.18-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6162.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libundertow-java",
                "binary_version": "2.3.18-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "undertow",
            "purl": "pkg:deb/ubuntu/undertow?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "2.3.20-1ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6162.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libundertow-java",
                "binary_version": "2.3.20-1ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "undertow",
            "purl": "pkg:deb/ubuntu/undertow?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "2.3.18-2",
            "2.3.20-1",
            "2.3.20-1ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6162.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libundertow-java",
                "binary_version": "2.3.20-1ubuntu1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:40.499298846Z",
      "provider": "osv",
      "upstream": [
        "CVE-2024-6162"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2024-6162",
        "https://www.cve.org/CVERecord?id=CVE-2024-6162",
        "https://access.redhat.com/security/cve/CVE-2024-6162"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2024-6162",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 355946,
  "published_at": "2024-06-20T15:15:00+00:00"
}