Bugzilla – Bug 1206729
VUL-0: CVE-2022-41966: xstream: denial of service via uncontrolled recursion during deserialization
Last modified: 2023-03-29 16:30:38 UTC
CVE-2022-41966 XStream serializes Java objects to XML and back again. Versions prior to 1.4.20 may allow a remote attacker to terminate the application with a stack overflow error, resulting in a denial of service only via manipulation the processed input stream. The attack uses the hash code implementation for collections and maps to force recursive hash calculation causing a stack overflow. This issue is patched in version 1.4.20 which handles the stack overflow and raises an InputManipulationException instead. A potential workaround for users who only use HashMap or HashSet and whose XML refers these only as default map or set, is to change the default implementation of java.util.Map and java.util per the code example in the referenced advisory. However, this implies that your application does not care about the implementation of the map and all elements are comparable. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-41966 https://github.com/x-stream/xstream/security/advisories/GHSA-j563-grx4-pjpv https://www.cve.org/CVERecord?id=CVE-2022-41966 http://www.cvedetails.com/cve/CVE-2022-41966/ https://x-stream.github.io/CVE-2022-41966.html
Affected: - SUSE:SLE-15-SP2:Update/xstream - openSUSE:Factory/xstream Fix: https://github.com/x-stream/xstream/commit/e9151f221b4969fb15b1e946d5d61dcdd459a391
This is an autogenerated message for OBS integration: This bug (1206729) was mentioned in https://build.opensuse.org/request/show/1072631 Factory / xstream
SUSE-SU-2023:1673-1: An update that solves two vulnerabilities can now be installed. Category: security (important) Bug References: 1203520, 1206729 CVE References: CVE-2022-40151, CVE-2022-41966 Sources used: openSUSE Leap 15.4 (src): xstream-1.4.20-150200.3.25.1 Development Tools Module 15-SP4 (src): xstream-1.4.20-150200.3.25.1 SUSE Manager Server 4.2 Module 4.2 (src): xstream-1.4.20-150200.3.25.1 SUSE Manager Server 4.3 Module 4.3 (src): xstream-1.4.20-150200.3.25.1 SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (src): xstream-1.4.20-150200.3.25.1 SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3 (src): xstream-1.4.20-150200.3.25.1 SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): xstream-1.4.20-150200.3.25.1 SUSE Linux Enterprise Real Time 15 SP3 (src): xstream-1.4.20-150200.3.25.1 SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src): xstream-1.4.20-150200.3.25.1 SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): xstream-1.4.20-150200.3.25.1 SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src): xstream-1.4.20-150200.3.25.1 SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): xstream-1.4.20-150200.3.25.1 SUSE Enterprise Storage 7.1 (src): xstream-1.4.20-150200.3.25.1 SUSE Enterprise Storage 7 (src): xstream-1.4.20-150200.3.25.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.