Bug 1206840 (CVE-2022-45143) - VUL-0: CVE-2022-45143: tomcat6,tomcat: JsonErrorReportValve injection
Summary: VUL-0: CVE-2022-45143: tomcat6,tomcat: JsonErrorReportValve injection
Status: IN_PROGRESS
Alias: CVE-2022-45143
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Michele Bussolotto
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/352602/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-04 13:42 UTC by Robert Frohl
Modified: 2024-01-17 09:50 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Frohl 2023-01-04 13:42:34 UTC
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. 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:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-45143
https://seclists.org/oss-sec/2023/q1/2
https://www.cve.org/CVERecord?id=CVE-2022-45143
https://lists.apache.org/thread/yqkd183xrw3wqvnpcg3osbcryq85fkzj
Comment 1 Robert Frohl 2023-01-04 14:11:58 UTC
only affects:

openSUSE:Factory/tomcat
Comment 2 Michele Bussolotto 2023-03-27 13:14:42 UTC
I think now also:

- SUSE:SLE-12-SP4:Update/tomcat
- SUSE:SLE-15-SP1:Update/tomcat
- SUSE:SLE-15-SP2:Update/tomcat

are affected
Comment 3 Michele Bussolotto 2023-03-27 13:16:55 UTC
GH issue https://github.com/SUSE/spacewalk/issues/20905
Comment 4 Michele Bussolotto 2023-04-07 08:32:50 UTC
- openSUSE:Factory/tomcat: https://build.opensuse.org/request/show/1077842
- SUSE:SLE-15-SP2:Update: https://build.suse.de/request/show/294016

instead:
- SUSE:SLE-12-SP4:Update/tomcat
- SUSE:SLE-15-SP1:Update/tomcat
are not affected (tomcat version: 9.0.36)
Comment 5 Maintenance Automation 2023-04-14 16:30:29 UTC
SUSE-SU-2023:1853-1: An update that solves one vulnerability can now be installed.

Category: security (important)
Bug References: 1206840
CVE References: CVE-2022-45143
Sources used:
openSUSE Leap 15.4 (src): tomcat-9.0.43-150200.38.1
Web and Scripting Module 15-SP4 (src): tomcat-9.0.43-150200.38.1
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (src): tomcat-9.0.43-150200.38.1
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3 (src): tomcat-9.0.43-150200.38.1
SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): tomcat-9.0.43-150200.38.1
SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src): tomcat-9.0.43-150200.38.1
SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): tomcat-9.0.43-150200.38.1
SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src): tomcat-9.0.43-150200.38.1
SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): tomcat-9.0.43-150200.38.1
SUSE Manager Server 4.2 (src): tomcat-9.0.43-150200.38.1
SUSE Enterprise Storage 7.1 (src): tomcat-9.0.43-150200.38.1
SUSE Enterprise Storage 7 (src): tomcat-9.0.43-150200.38.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.