Improper Input Validation Affecting org.apache.tomcat:tomcat-util package, versions [8.5.83,8.5.84)[9.0.40,9.0.69)[10.1.0-M1,10.1.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. 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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGAPACHETOMCAT-3225100
  • published5 Jan 2023
  • disclosed5 Jan 2023
  • creditApache Tomcat Security Team

Introduced: 5 Jan 2023

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

How to fix?

Upgrade org.apache.tomcat:tomcat-util to version 8.5.84, 9.0.69, 10.1.2 or higher.

Overview

org.apache.tomcat:tomcat-util is a Common code shared by multiple Tomcat components.

Affected versions of this package are vulnerable to Improper Input Validation such that the JsonErrorReportValve does not escape the type, message or description values. In some circumstances these are constructed from user provided data and it is possible for users to supply values that invalidate or manipulate the JSON output.

CVSS Scores

version 3.1