CVE-2022-45143
HIGH7.5EPSS 0.89%Apache Tomcat: JsonErrorReportValve escaping
Published: 1/3/2023Modified: 4/28/2026
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.
Affected packages (5)
- Bitnami/tomcat>= 9.0.40, < 9.0.69, >= 8.5.83, < 8.5.84, >= 10.1.1, < 10.1.2
- Debian/tomcat9from 0, < 9.0.43-2~deb11u6
- Maven/org.apache.tomcat.embed:tomcat-embed-core>= 8.5.83, < 8.5.84
- Maven/org.apache.tomcat:tomcat-catalina>= 10.1.0, < 10.1.2
- Maven/org.apache.tomcat:tomcat-util>= 8.5.83, < 8.5.84
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
References (9)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-45143
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-45143
- PATCHhttps://github.com/apache/tomcat
- WEBhttps://github.com/apache/tomcat/commit/0cab3a56bd89f70e7481bb0d68395dc7e130dbbf
- WEBhttps://github.com/apache/tomcat/commit/6a0ac6a438cbbb66b6e9c5223842f53bf0cb50aa
- WEBhttps://github.com/apache/tomcat/commit/b336f4e58893ea35114f1e4a415657f723b1298e
- WEBhttps://lists.apache.org/thread/yqkd183xrw3wqvnpcg3osbcryq85fkzj
- WEBhttps://security.gentoo.org/glsa/202305-37
- WEBhttps://security.netapp.com/advisory/ntap-20230216-0009/