# CVE-2022-45143: Apache Tomcat improperly escapes input from JsonErrorReportValve

Source: https://junglewise.ai/threats/cve-2022-45143-apache-tomcat-improperly-escapes-input-from-jsonerrorreportvalve  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-01-03  
License: CC BY 4.0 with a link back

CVE-2022-45143 · Severity: low · CVSS 3.1 · Published 2023-01-03

Apache Tomcat improperly escapes input from JsonErrorReportValve

Technologies: [org.apache.tomcat:tomcat-catalina (Maven)](https://junglewise.ai/threats/technologies/org-apache-tomcat-tomcat-catalina), [org.apache.tomcat:tomcat-util (Maven)](https://junglewise.ai/threats/technologies/org-apache-tomcat-tomcat-util), [org.apache.tomcat.embed:tomcat-embed-core (Maven)](https://junglewise.ai/threats/technologies/org-apache-tomcat-embed-tomcat-embed-core). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2022-45143 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-45143 being exploited in the wild.

**How severe is CVE-2022-45143?** Low severity, with a CVSS score of 3.1, published 3 January 2023.

**Which products and versions are affected?** org.apache.tomcat:tomcat-catalina (Maven) ECOSYSTEM:introduced=10.1.0,fixed=10.1.2; org.apache.tomcat:tomcat-util (Maven) ECOSYSTEM:introduced=8.5.83,fixed=8.5.84; org.apache.tomcat.embed:tomcat-embed-core (Maven) ECOSYSTEM:introduced=8.5.83,fixed=8.5.84.

**Is there a fix for CVE-2022-45143?** Yes. org.apache.tomcat:tomcat-catalina (Maven): upgrade to 10.1.2 or later; org.apache.tomcat:tomcat-util (Maven): upgrade to 8.5.84 or later; org.apache.tomcat.embed:tomcat-embed-core (Maven): upgrade to 8.5.84 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-45143?** Check whether you run org.apache.tomcat:tomcat-catalina (Maven), org.apache.tomcat:tomcat-util (Maven) or org.apache.tomcat.embed:tomcat-embed-core (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.apache.tomcat:tomcat-catalina (Maven): upgrade to 10.1.2 or later

  ```sh
  # set org.apache.tomcat:tomcat-catalina to 10.1.2 in your pom.xml or build.gradle
  ```

- org.apache.tomcat:tomcat-util (Maven): upgrade to 8.5.84 or later

  ```sh
  # set org.apache.tomcat:tomcat-util to 8.5.84 in your pom.xml or build.gradle
  ```

- org.apache.tomcat.embed:tomcat-embed-core (Maven): upgrade to 8.5.84 or later

  ```sh
  # set org.apache.tomcat.embed:tomcat-embed-core to 8.5.84 in your pom.xml or build.gradle
  ```


## Affected products

- org.apache.tomcat:tomcat-catalina (Maven) ECOSYSTEM:introduced=10.1.0,fixed=10.1.2
- org.apache.tomcat:tomcat-util (Maven) ECOSYSTEM:introduced=8.5.83,fixed=8.5.84
- org.apache.tomcat.embed:tomcat-embed-core (Maven) ECOSYSTEM:introduced=8.5.83,fixed=8.5.84

## Identifiers

- CVE-2022-45143
- GHSA-rq2w-37h9-vg94

## Related threats

- [Apache Tomcat FORM authentication authorization bypass](https://junglewise.ai/threats/cve-2026-68525-apache-tomcat-form-authentication-authorization-bypass)
- [Apache Tomcat DIGEST authenticator authentication bypass](https://junglewise.ai/threats/cve-2026-65905-apache-tomcat-digest-authenticator-authentication-bypass)
- [Apache Tomcat improper input validation in incomplete fix](https://junglewise.ai/threats/cve-2026-65637-apache-tomcat-improper-input-validation-in-incomplete-fix)
- [Apache Tomcat security constraint bypass](https://junglewise.ai/threats/cve-2026-65182-apache-tomcat-security-constraint-bypass)
- [Apache Tomcat authentication bypass in JNDIRealm](https://junglewise.ai/threats/cve-2026-55957-apache-tomcat-authentication-bypass-in-jndirealm)
