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

EcosystemPackageFixed inAdvisory
AlmaLinux:8tomcat1:9.0.87-1.el8_10.1.alma.1ALSA-2024:3666
AlmaLinux:8tomcat-admin-webapps1:9.0.87-1.el8_10.1.alma.1ALSA-2024:3666
AlmaLinux:8tomcat-docs-webapp1:9.0.87-1.el8_10.1.alma.1ALSA-2024:3666
AlmaLinux:8tomcat-el-3.0-api1:9.0.87-1.el8_10.1.alma.1ALSA-2024:3666
AlmaLinux:8tomcat-jsp-2.3-api1:9.0.87-1.el8_10.1.alma.1ALSA-2024:3666
AlmaLinux:8tomcat-lib1:9.0.87-1.el8_10.1.alma.1ALSA-2024:3666
AlmaLinux:8tomcat-servlet-4.0-api1:9.0.87-1.el8_10.1.alma.1ALSA-2024:3666
AlmaLinux:8tomcat-webapps1:9.0.87-1.el8_10.1.alma.1ALSA-2024:3666
Debian:12tomcat99.0.70-1DEBIAN-CVE-2022-45143
Debian:13tomcat99.0.70-1DEBIAN-CVE-2022-45143
Debian:14tomcat99.0.70-1DEBIAN-CVE-2022-45143
Mavenorg.apache.tomcat.embed:tomcat-embed-core10.1.2GHSA-rq2w-37h9-vg94
Mavenorg.apache.tomcat.embed:tomcat-embed-core9.0.69GHSA-rq2w-37h9-vg94
Mavenorg.apache.tomcat.embed:tomcat-embed-core8.5.84GHSA-rq2w-37h9-vg94
Mavenorg.apache.tomcat:tomcat-catalina10.1.2GHSA-rq2w-37h9-vg94
Mavenorg.apache.tomcat:tomcat-util8.5.84GHSA-rq2w-37h9-vg94
Mavenorg.apache.tomcat:tomcat-util9.0.69GHSA-rq2w-37h9-vg94

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Tomcat 10.1.0-M1 – through 10.1.19.0.40 – through 9.0.688.5.83

Weakness: CWE-116

References