NetSight
high7.5

CVE-2022-45143

Apache Tomcat improperly escapes input from JsonErrorReportValve

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
mavenorg.apache.tomcat.embed:tomcat-embed-core= 8.5.838.5.84
mavenorg.apache.tomcat:tomcat-catalina>= 10.1.0, <= 10.1.110.1.2
mavenorg.apache.tomcat:tomcat-util= 8.5.838.5.84

Affected products

VendorProductAffected versions
ApacheTomcat
from 9.0.40 before 9.0.69
Versions 8.5.83, 10.1.0, 10.1.1

Weakness classification

References