# CVE-2022-45143: Apache Tomcat: JsonErrorReportValve escaping

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.21%, higher than 83% of CVEs (2026-11-30)
- Published: 2023-01-03T18:12:28.351Z
- Modified: 2026-09-08T08:48:20.943Z
- Also known as: GHSA-rq2w-37h9-vg94, BIT-TOMCAT-2022-45143
- Weaknesses: CWE-74, CWE-116
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Tomcat: from 10.1.0-M1 up to 10.1.1; from 9.0.40 up to 9.0.68; 8.5.83
- org.apache.tomcat.embed:tomcat-embed-core (Maven): from 8.5.83 before 8.5.84; from 9.0.40 before 9.0.69; from 10.1.0 before 10.1.2
- org.apache.tomcat:tomcat-catalina (Maven): from 10.1.0 before 10.1.2
- org.apache.tomcat:tomcat-util (Maven): from 8.5.83 before 8.5.84; from 9.0.40 before 9.0.69
- apache tomcat: from 9.0.40 before 9.0.69; 8.5.83; 10.1.0; 10.1.1
- tomcat (Bitnami): from 9.0.40 before 9.0.69; from 8.5.83 before 8.5.84; from 10.1.1 before 10.1.2

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://lists.apache.org/thread/yqkd183xrw3wqvnpcg3osbcryq85fkzj> (advisory, mailing-list, vendor-advisory, web)
- <https://security.gentoo.org/glsa/202305-37> (advisory, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20230216-0009/> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-45143> (advisory, web)
- <https://github.com/apache/tomcat/commit/0cab3a56bd89f70e7481bb0d68395dc7e130dbbf> (web)
- <https://github.com/apache/tomcat/commit/6a0ac6a438cbbb66b6e9c5223842f53bf0cb50aa> (web)
- <https://github.com/apache/tomcat/commit/b336f4e58893ea35114f1e4a415657f723b1298e> (web)
- <https://github.com/apache/tomcat> (package)

## Sources

- CVE List: [CVE-2022-45143](https://www.cve.org/CVERecord?id=CVE-2022-45143), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-rq2w-37h9-vg94](https://github.com/advisories/GHSA-rq2w-37h9-vg94), CC-BY-4.0, modified 2024-04-23
- NVD: [CVE-2022-45143](https://nvd.nist.gov/vuln/detail/CVE-2022-45143), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-TOMCAT-2022-45143](https://osv.dev/vulnerability/BIT-TOMCAT-2022-45143), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-45143 · Whole record: https://cve.day/CVE-2022-45143.json · Rebuilt by cve.day 2026-11-25T22:58:18.004Z
