Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2022-45143

tomcat: JsonErrorReportValve injection

Overview

Published
3 Jan 2023
Modified
17 Jun 2026
High CVE
6 Registry packages
52 OS packages
9 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Weakness: CWE-116

Affected packages · 6

Packages affected by CVE-2022-45143
EcosystemPackageVulnerableFixed in
Bitnami tomcat >=9.0.40, <9.0.69>=8.5.83, <8.5.84>=10.1.1, <10.1.2 9.0.698.5.8410.1.2
Maven org.apache.tomcat:tomcat-catalina >=10.1.0, <10.1.2 10.1.2
Maven org.apache.tomcat:tomcat-util >=8.5.83, <8.5.84>=9.0.40, <9.0.69 8.5.849.0.69
Maven 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 8.5.849.0.6910.1.2
Seal Maven org.apache.tomcat.embed:tomcat-embed-core >=9.0.58+sp0, <9.0.58+sp2 9.0.58+sp2
Seal Maven seal.sp1.org.apache.tomcat.embed:tomcat-embed-core >=9.0.58, <9.0.58+sp999 9.0.58+sp999

Open a package to see all its vulnerabilities.

Operating systems · 21 fixes

Photon OS 1 release · 1 package

fixed 1
apache-tomcat
Photon OS fixes for CVE-2022-45143
ReleasePackageFixed in
4.0 apache-tomcat +1 8.5.84-1.ph4

Red Hat 4 releases · 3 packages

eol 1 fixed 6 affected 2
tomcat jws5-tomcat pki-servlet-4-0-api
Red Hat fixes for CVE-2022-45143
ReleasePackageFixed inAdvisory
7 tomcat +9 eol —
7 jws5-tomcat +11 0:9.0.62-13.redhat_00011.1.el7jws RHSA-2023:1663
8 jws5-tomcat +9 0:9.0.62-13.redhat_00011.1.el8jws RHSA-2023:1663
8 tomcat +7 1:9.0.87-1.el8_10.1 RHSA-2024:3666
8 tomcat +7 1:9.0.87-1.el8_8.2 RHSA-2024:3814
8 (pki-deps:10.6) pki-servlet-4-0-api +1 affected —

3 more rows

SUSE Linux Enterprise 1 release · 1 package

fixed 1
tomcat
SUSE Linux Enterprise fixes for CVE-2022-45143
ReleasePackageFixed inAdvisory
15.4 tomcat +6 9.0.43-150200.38.1 SUSE-SU-2023:1853-1

alma 1 release · 1 package

fixed 1
tomcat
alma fixes for CVE-2022-45143
ReleasePackageFixed in
8 tomcat +7 1:9.0.87-1.el8_10.1.alma.1

amazon linux 1 release · 1 package

fixed 1
tomcat9
amazon linux fixes for CVE-2022-45143
ReleasePackageFixed in
2023 tomcat9 +7 1:9.0.71-1.amzn2023.0.2

debian 4 releases · 1 package

fixed 4
tomcat9
debian fixes for CVE-2022-45143
ReleasePackageFixed in
11 tomcat9 9.0.43-2~deb11u6
12 tomcat9 9.0.70-1
13 tomcat9 9.0.70-1
14 tomcat9 9.0.70-1

echo 1 release · 1 package

fixed 1
tomcat9
echo fixes for CVE-2022-45143
ReleasePackageFixed in
tomcat9 9.0.70-1

openSUSE 1 release · 2 packages

fixed 2
tomcat10 tomcat
openSUSE fixes for CVE-2022-45143
ReleasePackageFixed inAdvisory
Tumbleweed tomcat10 +10 10.1.14-1.1 openSUSE-SU-2024:13441-1
Tumbleweed tomcat +10 9.0.43-16.1 openSUSE-SU-2024:12847-1

ubuntu 1 release · 1 package

affected 1
tomcat9
ubuntu fixes for CVE-2022-45143
ReleasePackageFixed in
22.04 tomcat9 affected

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.