Apache Tomcat: Incomplete escaping of JSON access logs
Apache Software Foundation Apache Tomcat
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.tomcat:tomcat-catalina Maven |
|
|
| org.apache.tomcat:tomcat Maven |
Apache Software Foundation Apache Tomcat
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.tomcat:tomcat-catalina Maven |
|
|
| org.apache.tomcat:tomcat Maven |
|
|
| org.apache.tomcat.embed:tomcat-embed-core Maven |
|
|
Improper Encoding or Escaping of Output vulnerability in the JsonAccessLogValve component of Apache Tomcat.
This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.20, from 10.1.0-M1 through 10.1.53, from 9.0.40 through 9.0.116.
Users are recommended to upgrade to version 11.0.21, 10.1.54 or 9.0.117 , which fix the issue.
From the CVE record · apache
Apache Tomcat’s JsonAccessLogValve improperly encodes or escapes output in affected versions. This may allow attacker-controlled content to appear improperly escaped in JSON access logs. The input does not specify whether exploitation requires network or local access, authentication, or user interaction.
Operators using Apache Tomcat or the Maven packages tomcat-catalina, tomcat, or tomcat-embed-core should check versions from 9.0.40, 10.1.0-M1, or 11.0.0-M1 up to the applicable fixed release.