HIGH 7.5 Maven

Apache Tomcat improperly escapes input from JsonErrorReportValve

GHSA-rq2w-37h9-vg94 · BIT-tomcat-2022-45143 · CVE-2022-45143

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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

Ready to move

Start Securing

Free, no credit card | First findings in minutes