CVE-2022-45143: 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.
High CVSS 7.5
- CVE id
- CVE-2022-45143
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Apache Tomcat Runtimes and servers |
>= 9.0.40, < 9.0.69 | 9.0.69 |
How to fix it
Upgrade Apache Tomcat to 9.0.69 or later.
catalina.sh version
- Install the patched Tomcat release of your branch (the tomcat image tag, or your tomcat packages) and restart it.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2022-45143 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2022-45143
- Web: https://lists.apache.org/thread/yqkd183xrw3wqvnpcg3osbcryq85fkzj
- Web: https://security.gentoo.org/glsa/202305-37
- Web: https://lists.apache.org/thread/yqkd183xrw3wqvnpcg3osbcryq85fkzj
- Web: https://security.gentoo.org/glsa/202305-37
- Web: https://security.netapp.com/advisory/ntap-20230216-0009/
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.