CVE-2022-45143
tomcat: JsonErrorReportValve injection
Overview
Description
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness: CWE-116
Affected packages · 6
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | tomcat | >=9.0.40, <9.0.69>=8.5.83, <8.5.84>=10.1.1, <10.1.2 | 9.0.698.5.8410.1.2 |
| Maven | org.apache.tomcat:tomcat-catalina | >=10.1.0, <10.1.2 | 10.1.2 |
| Maven | org.apache.tomcat:tomcat-util | >=8.5.83, <8.5.84>=9.0.40, <9.0.69 | 8.5.849.0.69 |
| 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.849.0.6910.1.2 |
| Seal Maven | org.apache.tomcat.embed:tomcat-embed-core | >=9.0.58+sp0, <9.0.58+sp2 | 9.0.58+sp2 |
| Seal Maven | seal.sp1.org.apache.tomcat.embed:tomcat-embed-core | >=9.0.58, <9.0.58+sp999 | 9.0.58+sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 21 fixes
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | apache-tomcat +1 | 8.5.84-1.ph4 |
Red Hat 4 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | tomcat +9 | eol | — |
| 7 | jws5-tomcat +11 | 0:9.0.62-13.redhat_00011.1.el7jws | RHSA-2023:1663 |
| 8 | jws5-tomcat +9 | 0:9.0.62-13.redhat_00011.1.el8jws | RHSA-2023:1663 |
| 8 | tomcat +7 | 1:9.0.87-1.el8_10.1 | RHSA-2024:3666 |
| 8 | tomcat +7 | 1:9.0.87-1.el8_8.2 | RHSA-2024:3814 |
| 8 (pki-deps:10.6) | pki-servlet-4-0-api +1 | affected | — |
3 more rows
SUSE Linux Enterprise 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | tomcat +6 | 9.0.43-150200.38.1 | SUSE-SU-2023:1853-1 |
alma 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | tomcat +7 | 1:9.0.87-1.el8_10.1.alma.1 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | tomcat9 +7 | 1:9.0.71-1.amzn2023.0.2 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | tomcat9 | 9.0.43-2~deb11u6 |
| 12 | tomcat9 | 9.0.70-1 |
| 13 | tomcat9 | 9.0.70-1 |
| 14 | tomcat9 | 9.0.70-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| tomcat9 | 9.0.70-1 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | tomcat10 +10 | 10.1.14-1.1 | openSUSE-SU-2024:13441-1 |
| Tumbleweed | tomcat +10 | 9.0.43-16.1 | openSUSE-SU-2024:12847-1 |
ubuntu 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | tomcat9 | affected |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2024:3666
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-45143
- bugzilla.redhat.com https://bugzilla.redhat.com/2269607
- bugzilla.redhat.com https://bugzilla.redhat.com/2269608
- errata.almalinux.org https://errata.almalinux.org/8/ALSA-2024-3666.html
- github.com https://github.com/apache/tomcat
- github.com https://github.com/apache/tomcat/commit/0cab3a56bd89f70e7481bb0d68395dc7e130dbbf
- github.com https://github.com/apache/tomcat/commit/0cab3a56bd89f70e7481bb0d68395dc7e130dbbf (8.5.84)
- github.com https://github.com/apache/tomcat/commit/6a0ac6a438cbbb66b6e9c5223842f53bf0cb50aa
- github.com https://github.com/apache/tomcat/commit/b336f4e58893ea35114f1e4a415657f723b1298e
Show all 17 references
- github.com https://github.com/apache/tomcat/commit/b336f4e58893ea35114f1e4a415657f723b1298e (9.0.69)
- lists.apache.org https://lists.apache.org/thread/yqkd183xrw3wqvnpcg3osbcryq85fkzj
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-45143
- security.gentoo.org https://security.gentoo.org/glsa/202305-37
- security.netapp.com https://security.netapp.com/advisory/ntap-20230216-0009/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-45143
- www.openwall.com https://www.openwall.com/lists/oss-security/2023/01/03/1
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.