Improper Encoding or Escaping of Output Affecting tomcat9 package, versions <9.0.70-1


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.34% (72nd 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-DEBIANUNSTABLE-TOMCAT9-3187659
  • 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)
First added by Snyk

How to fix?

Upgrade Debian:unstable tomcat9 to version 9.0.70-1 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:unstable 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