High

Apache Tomcat improperly escapes input from JsonErrorReportValve

  • Disclosed: 03.01.2023
  • Updated: 11.10.2026 12:21

The JsonErrorReportValve in Apache Tomcat 8.5.83, 9.0.40 to 9.0.68 and 10.1.0-M1 to 10.1.1 does 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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (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.84, 9.0.69, 10.1.2
Java / Kotlin (Maven) org.apache.tomcat:tomcat-catalina >= 10.1.0, < 10.1.2 10.1.2
Java / Kotlin (Maven) org.apache.tomcat:tomcat-util >= 8.5.83, < 8.5.84, >= 9.0.40, < 9.0.69 8.5.84, 9.0.69

References

CVSS score 7.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness (CWE)
CWE-116, CWE-74
Platform
Java / Kotlin (Maven)
Package
org.apache.tomcat.embed:tomcat-embed-core, org.apache.tomcat:tomcat-catalina, org.apache.tomcat:tomcat-util
Disclosed
03.01.2023
Updated
11.10.2026 12:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-rq2w-37h9-vg94 - CC BY 4.0

Vulnerability history: org.apache.tomcat:tomcat-util

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
4
First → latest
05.2022 10.2023
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 2
  • Medium 2

Disclosures per year

  1. 2022: 2
  2. 2023: 2
  3. 2024: 0
  4. 2025: 0
  5. 2026: 0
  1. Medium · 5.3 CVE-2023-42795 >= 11.0.0-M1, < 11.0.0-M12, >= 10.1.0-M1, < 10.1.14, >= 9.0.0-M1, < 9.0.81, >= 8.5.0, < 8.5.94 11.0.0-M12, 10.1.14, 9.0.81, 8.5.94
  2. Apache Tomcat improperly escapes input from JsonErrorReportValve this entry
    High · 7.5 CVE-2022-45143 >= 8.5.83, < 8.5.84, >= 9.0.40, < 9.0.69 8.5.84, 9.0.69
  3. Medium CVE-2014-0099 < 6.0.40, >= 7.0.0, < 7.0.54, >= 8.0.0, < 8.0.6 6.0.40, 7.0.54, 8.0.6
  4. High · 7.5 CVE-2016-8745 >= 9.0.0.M1, < 9.0.0.M14, >= 8.5.0, < 8.5.9, >= 8.0.0-RC1, < 8.0.41, >= 7.0.0, < 7.0.75, >= 6.0.16, < 6.0.50 9.0.0.M14, 8.5.9, 8.0.41, 7.0.75, 6.0.50

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.