Apache Tomcat improperly escapes input from JsonErrorReportValve
The JsonErrorReportValve in Apache Tomcat 8.5.83, 9.0.40 to 9.0.68 and 10.1.0-M1 to 10.1.1 does 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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.tomcat.embed:tomcat-embed-core | >= 8.5.83, < 8.5.84, >= 9.0.40, < 9.0.69, >= 10.1.0, < 10.1.2 | 8.5.84, 9.0.69, 10.1.2 |
| Java / Kotlin (Maven) | org.apache.tomcat:tomcat-catalina | >= 10.1.0, < 10.1.2 | 10.1.2 |
| Java / Kotlin (Maven) | org.apache.tomcat:tomcat-util | >= 8.5.83, < 8.5.84, >= 9.0.40, < 9.0.69 | 8.5.84, 9.0.69 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-45143
- https://github.com/apache/tomcat/commit/0cab3a56bd89f70e7481bb0d68395dc7e130dbbf
- https://github.com/apache/tomcat/commit/6a0ac6a438cbbb66b6e9c5223842f53bf0cb50aa
- https://github.com/apache/tomcat/commit/b336f4e58893ea35114f1e4a415657f723b1298e
- https://github.com/apache/tomcat
- https://lists.apache.org/thread/yqkd183xrw3wqvnpcg3osbcryq85fkzj
- https://security.gentoo.org/glsa/202305-37
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N- Weakness (CWE)
CWE-116, CWE-74- Platform
- Java / Kotlin (Maven)
- Package
org.apache.tomcat.embed:tomcat-embed-core, org.apache.tomcat:tomcat-catalina, org.apache.tomcat:tomcat-util- Disclosed
- 03.01.2023
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-rq2w-37h9-vg94 - CC BY 4.0
Vulnerability history: org.apache.tomcat:tomcat-catalina
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 41
- First → latest
- 05.2019 08.2026
- Without a fix
- 0
- Exploited in attacks
- 3
Severity breakdown
- Critical 9
- High 16
- Medium 11
- Low 5
Disclosures per year
- 2019: 1
- 2020: 1
- 2021: 0
- 2022: 8
- 2023: 6
- 2024: 3
- 2025: 11
- 2026: 11
-
Apache Tomcat improperly escapes input from JsonErrorReportValve this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.