CVE-2022-45143
HIGH 7.5CVSS 3.1Apache Tomcat improperly escapes input from JsonErrorReportValve
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.
- Published
- 3 Jan 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-116CWE-74
- Also known as
- BIT-tomcat-2022-45143GHSA-rq2w-37h9-vg94
- Sources
- NVDJSONOSV GHSA-rq2w-37h9-vg94JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* |
>= 9.0.40, < 9.0.69 | 9.0.69 |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:8.5.83:*:*:*:*:*:*:* |
= 8.5.83 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone1:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone10:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone11:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone12:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone13:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone14:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone15:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone16:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone17:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone2:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone3:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone4:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone5:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone6:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone7:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone8:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone9:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.1:*:*:*:*:*:*:* |
= 10.1.1 | |
| OSV | Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 8.5.83, < 8.5.84 | 8.5.84 |
| OSV | Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 9.0.40, < 9.0.69 | 9.0.69 |
| OSV | Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 10.1.0, < 10.1.2 | 10.1.2 |
| OSV | Maven | org.apache.tomcat:tomcat-catalina | >= 10.1.0, < 10.1.2 | 10.1.2 |
| OSV | Maven | org.apache.tomcat:tomcat-util | >= 8.5.83, < 8.5.84 | 8.5.84 |
| OSV | Maven | org.apache.tomcat:tomcat-util | >= 9.0.40, < 9.0.69 | 9.0.69 |
References
- https://lists.apache.org/thread/yqkd183xrw3wqvnpcg3osbcryq85fkzj · Mailing List, Vendor Advisory, WEB
- https://security.gentoo.org/glsa/202305-37 · Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20230216-0009/
- https://nvd.nist.gov/vuln/detail/CVE-2022-45143 · ADVISORY
- https://github.com/apache/tomcat/commit/0cab3a56bd89f70e7481bb0d68395dc7e130dbbf · WEB
- https://github.com/apache/tomcat/commit/6a0ac6a438cbbb66b6e9c5223842f53bf0cb50aa · WEB
- https://github.com/apache/tomcat/commit/b336f4e58893ea35114f1e4a415657f723b1298e · WEB
- https://github.com/apache/tomcat · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 3 Jan 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 3 Jan 2023)