Description
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.
Remediation
References
https://lists.apache.org/thread/yqkd183xrw3wqvnpcg3osbcryq85fkzj
https://security.gentoo.org/glsa/202305-37
Related Vulnerabilities
CVE-2021-43785 Vulnerability in npm package @joeattardi/emoji-button
CVE-2021-35515 Vulnerability in maven package org.apache.commons:commons-compress
CVE-2020-11022 Vulnerability in maven package org.webjars.bowergithub.jquery:jquery
CVE-2022-23106 Vulnerability in maven package io.jenkins:configuration-as-code
CVE-2019-0205 Vulnerability in maven package org.webjars.npm:thrift