Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.tomcat/tomcat-catalina
  4. ›
  5. CVE-2022-45143

CVE-2022-45143: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

January 3, 2023 (updated June 27, 2023)

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.

References

  • lists.apache.org/thread/yqkd183xrw3wqvnpcg3osbcryq85fkzj
  • nvd.nist.gov/vuln/detail/CVE-2022-45143

Code Behaviors & Features

Detect and mitigate CVE-2022-45143 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

Version 8.5.83, all versions starting from 9.0.40 before 9.0.69, all versions starting from 10.1.0 up to 10.1.1

Fixed versions

  • 8.5.84
  • 9.0.69
  • 10.1.2

Solution

Upgrade to versions 8.5.84, 9.0.69, 10.1.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-116: Improper Encoding or Escaping of Output

Source file

maven/org.apache.tomcat/tomcat-catalina/CVE-2022-45143.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:42 +0000.