CVE-2022-45143
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS Trends
Current EPSS score: 0.89%• Percentile: 76%
Techniques & Countermeasures
- CWE-116•Improper Encoding or Escaping of Output
The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.
Affected Systems
- apache software foundation•apache tomcat
≥ 10.1.0-M1, ≤ 10.1.1 | ≥ 9.0.40, ≤ 9.0.68 | 8.5.83
- Unknown•Tomcat
≥ 9.0.40, < 9.0.69 | 8.5.83 | 10.1.0:milestone1 | 10.1.0:milestone10 | 10.1.0:milestone11 | 10.1.0:milestone12 | 10.1.0:milestone13 | 10.1.0:milestone14 | 10.1.0:milestone15 | 10.1.0:milestone16 | 10.1.0:milestone17 | 10.1.0:milestone2 | 10.1.0:milestone3 | 10.1.0:milestone4 | 10.1.0:milestone5 | 10.1.0:milestone6 | 10.1.0:milestone7 | 10.1.0:milestone8 | 10.1.0:milestone9 | 10.1.1
- org.apache.tomcat•tomcat-catalina
≥ 10.1.0, < 10.1.2
- org.apache.tomcat•tomcat-util
≥ 8.5.83, < 8.5.84 | ≥ 9.0.40, < 9.0.69
- org.apache.tomcat.embed•tomcat-embed-core
≥ 8.5.83, < 8.5.84 | ≥ 9.0.40, < 9.0.69 | ≥ 10.1.0, < 10.1.2
References (8)
- https://lists.apache.org/thread/yqkd183xrw3wqvnpcg3osbcryq85fkzj
- https://security.gentoo.org/glsa/202305-37
- https://security.netapp.com/advisory/ntap-20230216-0009/
- https://nvd.nist.gov/vuln/detail/CVE-2022-45143
- https://github.com/apache/tomcat/commit/0cab3a56bd89f70e7481bb0d68395dc7e130dbbf
- https://github.com/apache/tomcat/commit/6a0ac6a438cbbb66b6e9c5223842f53bf0cb50aa
- https://github.com/apache/tomcat/commit/b336f4e58893ea35114f1e4a415657f723b1298e
- https://github.com/apache/tomcat