USN-9404-1: Undertow vulnerabilities
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/libundertow-javato a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libundertow-javato a version that resolves this vulnerability.Fixed in 1.3.16-1ubuntu0.1~esm2
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
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.
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.
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.
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.