GHSA-vfww-5hm6-hx2j
Apache Tomcat Vulnerable to Improper Neutralization of Escape, Meta, or Control Sequences
At a glance
- Published
- Updated
- CVE
- CVE-2025-55754
- Aliases
- BIT-tomcat-2025-55754
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- CVSS_V4
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
Description
Tomcat did not escape ANSI escape sequences in log messages. If Tomcat was running in a console on a Windows operating system, and the console supported ANSI escape sequences, it was possible for an attacker to use a specially crafted URL to inject ANSI escape sequences to manipulate the console and the clipboard and attempt to trick an administrator into running an attacker controlled command. While no attack vector was found, it may have been possible to mount this attack on other operating systems. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.10, from 10.1.0-M1 through 10.1.44, from 9.0.40 through 9.0.108. The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.60 though 8.5.100. Other, older, EOL versions may also be affected. Users are recommended to upgrade to version 11.0.11 or later, 10.1.45 or later or 9.0.109 or later, which fix the issue.
Affected packages
| Package | Versions |
|---|---|
| Maven · org.apache.tomcat:tomcat | introduced 11.0.0-M1, fixed 11.0.11 |
| Maven · org.apache.tomcat:tomcat | introduced 10.1.0-M1, fixed 10.1.45 |
| Maven · org.apache.tomcat:tomcat | introduced 9.0.40, fixed 9.0.109 |
| Maven · org.apache.tomcat:tomcat | introduced 8.5.60, last affected 8.5.100 |
| Maven · org.apache.tomcat.embed:tomcat-embed-core | introduced 11.0.0-M1, fixed 11.0.11 |
| Maven · org.apache.tomcat.embed:tomcat-embed-core | introduced 10.1.0-M1, fixed 10.1.45 |
| Maven · org.apache.tomcat.embed:tomcat-embed-core | introduced 9.0.40, fixed 9.0.109 |
| Maven · org.apache.tomcat.embed:tomcat-embed-core | introduced 8.5.60, last affected 8.5.100 |
| Maven · org.apache.tomcat:tomcat-catalina | introduced 11.0.0-M1, fixed 11.0.11 |
| Maven · org.apache.tomcat:tomcat-catalina | introduced 10.1.0-M1, fixed 10.1.45 |
| Maven · org.apache.tomcat:tomcat-catalina | introduced 9.0.40, fixed 9.0.109 |
| Maven · org.apache.tomcat:tomcat-catalina | introduced 8.5.60, last affected 8.5.100 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-55754 ADVISORY
- https://github.com/apache/tomcat/commit/138d7f5cfaae683078948303333c080e6faa75d2 WEB
- https://github.com/apache/tomcat/commit/5a3db092982c0c58d4855304167ee757fe5e79bb WEB
- https://github.com/apache/tomcat/commit/a03cabf3a36a42d27d8d997ed31f034f50ba6cd5 WEB
- https://cert-portal.siemens.com/productcert/html/ssa-032379.html WEB
- https://github.com/apache/tomcat PACKAGE
- https://lists.apache.org/thread/j7w54hqbkfcn0xb9xy0wnx8w5nymcbqd WEB
- https://tomcat.apache.org/security-10.html#Fixed_in_Apache_Tomcat_10.1.45 WEB
- https://tomcat.apache.org/security-11.html#Fixed_in_Apache_Tomcat_11.0.11 WEB
- https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.109 WEB
- http://www.openwall.com/lists/oss-security/2025/10/27/5 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |