USN-9404-1: Undertow vulnerabilities

Published Dec 2, 2026
·
Updated

Radim Hatlapatka discovered that Undertow permitted invalid characters when parsing the HTTP request line. When Undertow was used with a proxy that interpreted these characters differently, a remote attacker could possibly use this issue to inject data into HTTP responses, which could be used to poison web caches, perform cross-site scripting attacks, or obtain sensitive information. This issue only affected Ubuntu 16.04 LTS. (CVE-2017-2666) It was discovered that Undertow incorrectly handled WebSocket connections that were not closed cleanly. A remote attacker could possibly use this issue to cause Undertow to consume excessive resources, resulting in a denial of service. This issue only affected Ubuntu 16.04 LTS. (CVE-2017-2670) It was discovered that Undertow logged request details, including plain text credentials, when a request failed. An attacker with access to the log files could possibly use this issue to obtain sensitive information. This issue only affected Ubuntu 16.04 LTS. (CVE-2019-3888) It was discovered that the AJP connector in Undertow accepted arbitrary request attributes. A remote attacker could possibly use this issue to read web application files or, if the server allowed file uploads, execute arbitrary code. This issue only affected Ubuntu 16.04 LTS. (CVE-2020-1745) It was discovered that Undertow accepted carriage return characters as the end of HTTP header blocks. When Undertow was used behind certain proxy servers, a remote attacker could possibly use this issue to perform HTTP request smuggling attacks. This issue only affected Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS. (CVE-2026-28367) It was discovered that Undertow parsed certain HTTP header names differently than upstream proxies. A remote attacker could possibly use this issue to perform HTTP request smuggling attacks. This issue only affected Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS. (CVE-2026-28368) It was discovered that Undertow incorrectly stripped leading spaces from the first header line of HTTP requests. A remote attacker could possibly use this issue to perform HTTP request smuggling attacks. This issue only affected Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS. (CVE-2026-28369)

Affected Software

8 affected componentsFixes available
All of the following
ubuntu/libundertow-java<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=26.04
All of the following
ubuntu/libundertow-java<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=24.04
All of the following
ubuntu/libundertow-java<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libundertow-java<1.3.16-1ubuntu0.1~esm2
1.3.16-1ubuntu0.1~esm2
Ubuntu Ubuntu=16.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/libundertow-java to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  2. Upgrade

    Upgrade ubuntu/libundertow-java to a version that resolves this vulnerability.

    Fixed in 1.3.16-1ubuntu0.1~esm2

Event History

Dec 2, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software

Frequently Asked Questions

1

Which systems are affected by the issues with stated platform scope?

The CVE-2017-2666, CVE-2017-2670, and CVE-2019-3888 issues described affect Ubuntu 16.04 LTS only.

2

What deployment condition is required for the HTTP request-line issue to be exploitable?

Undertow must be used behind a proxy that interprets the invalid HTTP request-line characters differently. That parsing discrepancy could permit response injection, cache poisoning, cross-site scripting, or disclosure of sensitive information.

3

Does obtaining credentials from failed-request logging require direct access to Undertow?

The attacker needs access to the log files containing failed-request details. Those logs may include plain-text credentials.

4

What attacker behavior triggers the resource-consumption issue?

A remote attacker can use WebSocket connections that are not closed cleanly, causing Undertow to consume excessive resources and potentially resulting in denial of service.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203