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

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), org.apache.tomcat:tomcat-util (Maven), org.apache.tomcat.embed:tomcat-embed-core (Maven). 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
    # 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
    # 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
    # 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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.