Improper Encoding or Escaping of Output Affecting tomcat9 package, versions <9.0.43-2~deb11u6


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.34% (73rd 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-DEBIAN11-TOMCAT9-3187657
  • published4 Jan 2023
  • disclosed3 Jan 2023

Introduced: 3 Jan 2023

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

How to fix?

Upgrade Debian:11 tomcat9 to version 9.0.43-2~deb11u6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tomcat9 package and not the tomcat9 package as distributed by Debian. See How to fix? for Debian:11 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 Scores

version 3.1