CVEfocus › CVE database › CVE-2022-45143

CVE-2022-45143Apache Tomcat: JsonErrorReportValve escaping

EPSS 2.2% (higher than 83% of CVEs)Published 2023-01-03Updated 2024-08-03Assigner: apache

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.

CWE-116

What to do

Fixed builds are available from AlmaLinux, Debian, Maven, Red Hat: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

30Fixed
8Fix pending
20Will not fix
4Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04tomcat10Not affected
vulnerable_code_not_present
Ubuntu 26.04tomcat9Not affected
vulnerable_code_not_present
Ubuntu 25.10tomcat10Not affected
vulnerable_code_not_present
Ubuntu 25.10tomcat9Not affected
vulnerable_code_not_present
Ubuntu 22.04tomcat9Fix pendingUBUNTU-CVE-2022-45143
Ubuntu 16.04tomcat6Fix pending
Ubuntu 16.04tomcat7Fix pending
Ubuntu 16.04tomcat8Fix pending
Debian 14tomcat9Fixed9.0.70-1DEBIAN-CVE-2022-45143
Debian 13tomcat9Fixed9.0.70-1DEBIAN-CVE-2022-45143
Debian 12tomcat9Fixed9.0.70-1DEBIAN-CVE-2022-45143
Red Hat Enterprise Linux 9pki-servlet-4.0-apiFix pending
Fix deferred
Red Hat Enterprise Linux 9pki-servlet-engineFix pending
Fix deferred
Red Hat Enterprise Linux 9tomcatFixed1:9.0.87-1.el9_4.1RHSA-2024:3307
Red Hat Enterprise Linux 9tomcat-admin-webappsFixed1:9.0.87-1.el9_4.1RHSA-2024:3307
Red Hat Enterprise Linux 9tomcat-docs-webappFixed1:9.0.87-1.el9_4.1RHSA-2024:3307
Red Hat Enterprise Linux 9tomcat-el-3.0-apiFixed1:9.0.87-1.el9_4.1RHSA-2024:3307
Red Hat Enterprise Linux 9tomcat-jsp-2.3-apiFixed1:9.0.87-1.el9_4.1RHSA-2024:3307
Red Hat Enterprise Linux 9tomcat-libFixed1:9.0.87-1.el9_4.1RHSA-2024:3307
Red Hat Enterprise Linux 9tomcat-servlet-4.0-apiFixed1:9.0.87-1.el9_4.1RHSA-2024:3307
Red Hat Enterprise Linux 9tomcat-webappsFixed1:9.0.87-1.el9_4.1RHSA-2024:3307
Red Hat Enterprise Linux 8pki-servlet-4.0-apiFix pending
Fix deferred
Red Hat Enterprise Linux 8pki-servlet-engineFix pending
Fix deferred
Red Hat Enterprise Linux 8tomcatFixed1:9.0.87-1.el8_10.1RHSA-2024:3666
Red Hat Enterprise Linux 8tomcat-admin-webappsFixed1:9.0.87-1.el8_10.1RHSA-2024:3666
Red Hat Enterprise Linux 8tomcat-docs-webappFixed1:9.0.87-1.el8_10.1RHSA-2024:3666
Red Hat Enterprise Linux 8tomcat-el-3.0-apiFixed1:9.0.87-1.el8_10.1RHSA-2024:3666
Red Hat Enterprise Linux 8tomcat-jsp-2.3-apiFixed1:9.0.87-1.el8_10.1RHSA-2024:3666
Red Hat Enterprise Linux 8tomcat-libFixed1:9.0.87-1.el8_10.1RHSA-2024:3666
Red Hat Enterprise Linux 8tomcat-servlet-4.0-apiFixed1:9.0.87-1.el8_10.1RHSA-2024:3666
Red Hat Enterprise Linux 8tomcat-webappsFixed1:9.0.87-1.el8_10.1RHSA-2024:3666
Red Hat Enterprise Linux 7tomcatWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-admin-webappsWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-docs-webappWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-el-2.2-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-javadocWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-jsp-2.2-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-jsvcWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-libWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-servlet-3.0-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-webappsWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6Will not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-admin-webappsWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-docs-webappWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-el-2.1-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-javadocWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-jsp-2.1-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-libWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-log4jWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-servlet-2.5-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-webappsWill not fix
Out of support scope
AlmaLinux 8tomcatFixed1:9.0.87-1.el8_10.1.alma.1ALSA-2024:3666
AlmaLinux 8tomcat-admin-webappsFixed1:9.0.87-1.el8_10.1.alma.1ALSA-2024:3666
AlmaLinux 8tomcat-docs-webappFixed1:9.0.87-1.el8_10.1.alma.1ALSA-2024:3666
AlmaLinux 8tomcat-el-3.0-apiFixed1:9.0.87-1.el8_10.1.alma.1ALSA-2024:3666
AlmaLinux 8tomcat-jsp-2.3-apiFixed1:9.0.87-1.el8_10.1.alma.1ALSA-2024:3666
AlmaLinux 8tomcat-libFixed1:9.0.87-1.el8_10.1.alma.1ALSA-2024:3666
AlmaLinux 8tomcat-servlet-4.0-apiFixed1:9.0.87-1.el8_10.1.alma.1ALSA-2024:3666
AlmaLinux 8tomcat-webappsFixed1:9.0.87-1.el8_10.1.alma.1ALSA-2024:3666
Maven libraryorg.apache.tomcat.embed:tomcat-embed-coreFixed9.0.69GHSA-rq2w-37h9-vg94
Maven libraryorg.apache.tomcat:tomcat-catalinaFixed10.1.2GHSA-rq2w-37h9-vg94
Maven libraryorg.apache.tomcat:tomcat-utilFixed8.5.84GHSA-rq2w-37h9-vg94

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.