Name | CVE-2022-45143 |
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 | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-5381-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
tomcat7 (PTS) | jessie, jessie (lts) | 7.0.56-3+really7.0.109-1+deb8u6 | fixed |
| stretch | 7.0.75-1 | fixed |
tomcat8 (PTS) | jessie, jessie (lts) | 8.0.14-1+deb8u28 | fixed |
| stretch (security) | 8.5.54-0+deb9u8 | fixed |
| stretch (lts), stretch | 8.5.54-0+deb9u15 | fixed |
tomcat9 (PTS) | buster (security), buster, buster (lts) | 9.0.31-1~deb10u12 | fixed |
| bullseye (security), bullseye | 9.0.43-2~deb11u10 | fixed |
| bookworm | 9.0.70-2 | fixed |
| sid, trixie | 9.0.95-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
tomcat7 | source | (unstable) | (not affected) | | | |
tomcat8 | source | jessie | (not affected) | | | |
tomcat8 | source | stretch | (not affected) | | | |
tomcat8 | source | (unstable) | (unfixed) | | | |
tomcat9 | source | buster | (not affected) | | | |
tomcat9 | source | bullseye | 9.0.43-2~deb11u6 | | DSA-5381-1 | |
tomcat9 | source | (unstable) | 9.0.70-1 | | | |
Notes
[buster] - tomcat9 <not-affected> (The vulnerable code was introduced later)
https://github.com/apache/tomcat/commit/b336f4e58893ea35114f1e4a415657f723b1298e (9.0.69)
https://github.com/apache/tomcat/commit/0cab3a56bd89f70e7481bb0d68395dc7e130dbbf (8.5.84)
https://www.openwall.com/lists/oss-security/2023/01/03/1
- tomcat7 <not-affected> (JSON valve not backported to Tomcat 7)
[stretch] - tomcat8 <not-affected> (The vulnerable code was introduced later)
[jessie] - tomcat8 <not-affected> (The vulnerable code was introduced later)