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 package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache Tomcat | from 10.1.0-M1 up to 10.1.1, from 9.0.40 up to 9.0.68, 8.5.83 | CVE 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.2 | GitHub Advisory Database |
| org.apache.tomcat:tomcat-catalina (Maven) | from 10.1.0 before 10.1.2 | GitHub Advisory Database |
| org.apache.tomcat:tomcat-util (Maven) | from 8.5.83 before 8.5.84, from 9.0.40 before 9.0.69 | GitHub Advisory Database |
| apache tomcat | from 9.0.40 before 9.0.69, 8.5.83, 10.1.0, 10.1.1 | NVD |
| 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.2 | Bitnami Vulnerability Database |
All scores
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-45143 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-rq2w-37h9-vg94 changed 2024-04-23 | CC-BY-4.0 |
| NVD | CVE-2022-45143 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-TOMCAT-2022-45143 changed 2026-09-08 | Apache-2.0 |