The JsonErrorReportValve in Apache Tomcat 8.5.83, 9.0.40 to 9.0.68 and 10.1.0-M1 to 10.1.1 did not escape the type, message or description values. In some circumstances these are constructed from user provided data and it was therefore possible for users to supply values that invalidated or manipulated the JSON output.
The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.
Link | Tags |
---|---|
https://lists.apache.org/thread/yqkd183xrw3wqvnpcg3osbcryq85fkzj | mailing list vendor advisory |
https://security.gentoo.org/glsa/202305-37 | third party advisory |
https://security.netapp.com/advisory/ntap-20230216-0009/ |