Improper Encoding or Escaping of Output Affecting tomcat package, versions <1:9.0.87-1.el8_10.1.alma.1


Severity

Recommended
0.0
high
0
10

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
2.67% (86th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX8-TOMCAT-21743302
  • published27 Oct 2026
  • disclosed6 Jun 2024

Introduced: 6 Jun 2024

CVE-2022-45143  (opens in a new tab)
CWE-116  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 tomcat to version 1:9.0.87-1.el8_10.1.alma.1 or higher.
This issue was patched in ALSA-2024:3666.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tomcat package and not the tomcat package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

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 Base Scores

version 3.1