CVE-2022-45143: Apache Tomcat: JsonErrorReportValve escaping

Published Jan 3, 2023
·
Updated

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.

Other sources

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.

MITRE

Affected Software

30 affected componentsFixes available
maven/org.apache.tomcat:tomcat-util>=9.0.40<9.0.69
9.0.69
maven/org.apache.tomcat:tomcat-util=8.5.83
8.5.84
maven/org.apache.tomcat:tomcat-catalina>=10.1.0<=10.1.1
10.1.2
maven/org.apache.tomcat.embed:tomcat-embed-core>=10.1.0<=10.1.1
10.1.2
maven/org.apache.tomcat.embed:tomcat-embed-core>=9.0.40<=9.0.68
9.0.69
maven/org.apache.tomcat.embed:tomcat-embed-core=8.5.83
8.5.84
redhat/tomcat<10.1.2
10.1.2
redhat/tomcat<9.0.69
9.0.69
redhat/tomcat<8.5.84
8.5.84
Apache Tomcat>=9.0.40<9.0.69
Apache Tomcat=8.5.83
Apache Tomcat=10.1.0-milestone1
Apache Tomcat=10.1.0-milestone10
Apache Tomcat=10.1.0-milestone11
Apache Tomcat=10.1.0-milestone12
Apache Tomcat=10.1.0-milestone13
Apache Tomcat=10.1.0-milestone14
Apache Tomcat=10.1.0-milestone15
Apache Tomcat=10.1.0-milestone16
Apache Tomcat=10.1.0-milestone17
Apache Tomcat=10.1.0-milestone2
Apache Tomcat=10.1.0-milestone3
Apache Tomcat=10.1.0-milestone4
Apache Tomcat=10.1.0-milestone5
Apache Tomcat=10.1.0-milestone6
Apache Tomcat=10.1.0-milestone7
Apache Tomcat=10.1.0-milestone8
Apache Tomcat=10.1.0-milestone9
Apache Tomcat=10.1.1
IBM Edge Application Manager<=4.5

Event History

Jan 3, 2023
CVE Published
via MITRE·06:12 PM
Data Sourced
via MITRE·06:12 PM
DescriptionWeakness
Advisory Published
via GitHub·09:30 PM
Aug 20, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-45143?

CVE-2022-45143 is a vulnerability in Apache Tomcat versions 8.5.83, 9.0.40 to 9.0.68, and 10.1.0-M1 to 10.1.1 that allows users to supply values that invalidate or execute arbitrary code.

2

How severe is CVE-2022-45143?

CVE-2022-45143 has a severity rating of 7.5 (High).

3

What is the affected software by CVE-2022-45143?

The affected software by CVE-2022-45143 includes Apache Tomcat versions 8.5.83, 9.0.40 to 9.0.68, and 10.1.0-M1 to 10.1.1.

4

How can I fix CVE-2022-45143?

To fix CVE-2022-45143, you should upgrade to Apache Tomcat version 10.1.2, 9.0.69, or 8.5.84.

5

Where can I find more information about CVE-2022-45143?

You can find more information about CVE-2022-45143 on the NVD website, Apache Tomcat mailing list, and the Apache Tomcat GitHub commit.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203