Summary
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)
Fixed packages 4
| Release | Package | Fixed in |
|---|---|---|
| Ubuntu · Pro 16.04 LTS Pro:16.04:LTS | undertow | 1.3.16-1ubuntu0.1~esm2 |
| Ubuntu · Pro 22.04 LTS Pro:22.04:LTS | undertow | 2.2.16-1ubuntu0.1~esm2 |
| Ubuntu · Pro 24.04 LTS Pro:24.04:LTS | undertow | 2.3.8-2ubuntu0.1~esm2 |
| Ubuntu · Pro 26.04 LTS Pro:26.04:LTS | undertow | 2.3.20-1ubuntu1+esm1 |
Vulnerabilities 7
-
High 8.7
Undertow: undertow: request smuggling via `\r\r\r` as a header block terminator
A flaw was found in Undertow. A remote attacker can exploit this vulnerability by sending `\r\r\r` as a header block terminator. This can be used for request smuggling with certain proxy servers, such as older versions of Apache Traffic Server and Google Clou…
-
High 8.7
Undertow: undertow: request smuggling via inconsistent header parsing
A flaw was found in Undertow. This vulnerability allows a remote attacker to construct specially crafted requests where header names are parsed differently by Undertow compared to upstream proxies. This discrepancy in header interpretation can be exploited to…
-
High 8.7
Undertow: undertow: request smuggling via malformed http request headers
A flaw was found in Undertow. When Undertow receives an HTTP request where the first header line starts with one or more spaces, it incorrectly processes the request by stripping these leading spaces. This behavior, which violates HTTP standards, can be explo…
-
High 8.6
Improper Authorization in Undertoe
A file inclusion vulnerability was found in the AJP connector enabled with a default AJP configuration port of 8009 in Undertow version 2.0.29.Final and before and was fixed in 2.0.30.Final. A remote, unauthenticated attacker could exploit this vulnerability …
-
High 7.5
Moderate severity vulnerability that affects io.undertow:undertow-core
It was found in Undertow before 1.3.28 that with non-clean TCP close, the Websocket server gets into infinite loop on every IO thread, effectively causing DoS.
-
Medium 6.5CVE-2017-2666 Public exploit
Undertow-core vulnerable to HTTP Request Smuggling
It was discovered in Undertow that the code that parsed the HTTP request line permitted invalid characters. This could be exploited, in conjunction with a proxy that also permitted the invalid characters but with a different interpretation, to inject data int…
-
Medium 5.3
Credential exposure through log files in Undertow
A vulnerability was found in Undertow web server before 2.0.21. An information exposure of plain text credentials through log files because Connectors.executeRootHandler:402 logs the HttpServerExchange object at ERROR level using UndertowLogger.REQUEST_LOGGER…
References
-
report
https://ubuntu.com/security/CVE-2017-2666
-
report
https://ubuntu.com/security/CVE-2017-2670
-
report
https://ubuntu.com/security/CVE-2019-3888
-
report
https://ubuntu.com/security/CVE-2020-1745
-
report
https://ubuntu.com/security/CVE-2026-28367
-
report
https://ubuntu.com/security/CVE-2026-28368
-
report
https://ubuntu.com/security/CVE-2026-28369