CVE-2022-45143
JSON

7.5high

Apache Tomcat: JsonErrorReportValve escaping

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
2.21% (higher than 83% of CVEs)
Published
Last changed
Assigned by
apache
Also known as
GHSA-rq2w-37h9-vg94BIT-TOMCAT-2022-45143

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

Affected

Product or packageVersionsReported by
Apache Software Foundation Apache Tomcatfrom 10.1.0-M1 up to 10.1.1, from 9.0.40 up to 9.0.68, 8.5.83CVE List
org.apache.tomcat.embed:tomcat-embed-core (Maven)from 8.5.83 before 8.5.84, from 9.0.40 before 9.0.69, from 10.1.0 before 10.1.2GitHub Advisory Database
org.apache.tomcat:tomcat-catalina (Maven)from 10.1.0 before 10.1.2GitHub Advisory Database
org.apache.tomcat:tomcat-util (Maven)from 8.5.83 before 8.5.84, from 9.0.40 before 9.0.69GitHub Advisory Database
apache tomcatfrom 9.0.40 before 9.0.69, 8.5.83, 10.1.0, 10.1.1NVD
tomcat (Bitnami)from 9.0.40 before 9.0.69, from 8.5.83 before 8.5.84, from 10.1.1 before 10.1.2Bitnami Vulnerability Database

All scores

GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Bitnami Vulnerability Databasehigh rating

Classification

CWE-74CWE-116

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

JsonErrorReportValve en Apache Tomcat 8.5.83, 9.0.40 a 9.0.68 y 10.1.0-M1 a 10.1.1 no escapó de los valores de tipo, mensaje o descripción. En algunas circunstancias, estos se construyen a partir de datos proporcionados por el usuario y, por lo tanto, era posible que los usuarios proporcionaran valores que invalidaban o manipulaban la salida JSON.

Bitnami Vulnerability Database

The JsonErrorReportValve in Apache Tomcat 8.5.83, 9.0.40 to 9.0.68 and 10.1.0 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.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-45143 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-rq2w-37h9-vg94 changed 2024-04-23CC-BY-4.0
NVDCVE-2022-45143 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-TOMCAT-2022-45143 changed 2026-09-08Apache-2.0