Vulnerability · Published Jan 3, 2023 · Assigned by apache
CVE-2022-45143Apache Tomcat: JsonErrorReportValve escaping
High 7.5
In plain English
A high-severity security flaw in Apache Tomcat from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.7% (higher than 86% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)2.7%top 14.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | tomcat | 1:9.0.87-1.el8_10.1.alma.1 | ALSA-2024:3666 |
| AlmaLinux:8 | tomcat-admin-webapps | 1:9.0.87-1.el8_10.1.alma.1 | ALSA-2024:3666 |
| AlmaLinux:8 | tomcat-docs-webapp | 1:9.0.87-1.el8_10.1.alma.1 | ALSA-2024:3666 |
| AlmaLinux:8 | tomcat-el-3.0-api | 1:9.0.87-1.el8_10.1.alma.1 | ALSA-2024:3666 |
| AlmaLinux:8 | tomcat-jsp-2.3-api | 1:9.0.87-1.el8_10.1.alma.1 | ALSA-2024:3666 |
| AlmaLinux:8 | tomcat-lib | 1:9.0.87-1.el8_10.1.alma.1 | ALSA-2024:3666 |
| AlmaLinux:8 | tomcat-servlet-4.0-api | 1:9.0.87-1.el8_10.1.alma.1 | ALSA-2024:3666 |
| AlmaLinux:8 | tomcat-webapps | 1:9.0.87-1.el8_10.1.alma.1 | ALSA-2024:3666 |
| Debian:12 | tomcat9 | 9.0.70-1 | DEBIAN-CVE-2022-45143 |
| Debian:13 | tomcat9 | 9.0.70-1 | DEBIAN-CVE-2022-45143 |
| Debian:14 | tomcat9 | 9.0.70-1 | DEBIAN-CVE-2022-45143 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | 10.1.2 | GHSA-rq2w-37h9-vg94 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | 9.0.69 | GHSA-rq2w-37h9-vg94 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | 8.5.84 | GHSA-rq2w-37h9-vg94 |
| Maven | org.apache.tomcat:tomcat-catalina | 10.1.2 | GHSA-rq2w-37h9-vg94 |
| Maven | org.apache.tomcat:tomcat-util | 8.5.84 | GHSA-rq2w-37h9-vg94 |
| Maven | org.apache.tomcat:tomcat-util | 9.0.69 | GHSA-rq2w-37h9-vg94 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Tomcat | 10.1.0-M1 – through 10.1.19.0.40 – through 9.0.688.5.83 |
Weakness: CWE-116