Apache Tomcat JsonErrorReportValve Injection Vulnerability — CVE-2022-45143: Understanding and Remediation

Adam Rhys Heaton
1 min readJan 24, 2023

--

The Apache Tomcat JsonErrorReportValve Injection Vulnerability, identified as CVE-2022–45143, is a security vulnerability that affects certain versions of the Apache Tomcat software.

Versions Affected:
• Apache Tomcat 10.1.0-M1 to 10.1.1
• Apache Tomcat 9.0.40 to 9.0.68
• Apache Tomcat 8.5.83

This vulnerability is caused by a flaw in the way the software handles error reports, which can allow an attacker to inject malicious code into the error reports and potentially take control of the affected system.

To remediate this vulnerability, it is recommended that users upgrade to the latest version of Apache Tomcat which addresses this issue. Additionally, users should ensure that they have implemented all necessary security controls, such as firewalls, intrusion detection/prevention systems, and proper access controls, to prevent unauthorized access to the affected systems.

Users of the affected versions should apply one of the following mitigations:
• Upgrade to Apache Tomcat 10.1.2 or later
• Upgrade to Apache Tomcat 9.0.69 or later
• Upgrade to Apache Tomcat 8.5.84 or later

As an additional measure, you should also keep monitoring your system for any suspicious activity and take appropriate action if necessary.

--

--

Adam Rhys Heaton

Cybersecurity expert 🛡️ Penetration testing 🔎 Cyber Threat Intel 🚨 Educating on best practices 📚 Speaker 🗣️ Follow my blog for all things security 🛡️