Deserialization of Untrusted Data in xstream - CVE-2021-29505

 

Deserialization of Untrusted Data in xstream - CVE-2021-29505

Published: July 12, 2021 / Updated: December 17, 2024


Vulnerability identifier: #VU54675
CSH Severity: Medium
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-29505
CWE-ID: CWE-502
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary code on the target system.

The vulnerability exists due to insecure input validation when processing serialized data. A remote user can pass specially crafted XML data to the application and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

xstream
xstream (Red Hat package)
xstream-benchmark
xstream-parent
xstream-hibernate
xstream
xstream-javadoc
SUSE Linux Enterprise Module for SUSE Manager Server
CentOS
SUSE Linux Enterprise Module for Development Tools
openEuler
Fedora
IBM Tivoli Netcool Configuration Manager
Oracle Retail Customer Insights
Storage Copy Data Management
Oracle Communications Unified Inventory Management
IBM Watson Discovery for IBM Cloud Pak for Data
IBM Spectrum Control
IBM Security Verify Governance
Oracle Business Activity Monitoring
Oracle WebCenter Sites
Oracle WebCenter Portal
JBoss Data Grid

How to mitigate CVE-2021-29505

Install updates from vendor's website.

xstream - update to 1.4.17
xstream (Red Hat package) - update to 1.3.1-14.el7_9
IBM Tivoli Netcool Configuration Manager - update to 6.4.2.14
xstream-benchmark - update to 1.4.17-1
xstream-parent - update to 1.4.17-1
xstream-hibernate - update to 1.4.17-1
xstream - update to 1.4.17-1
xstream-javadoc - update to 1.4.17-1
xstream - update to 1.4.17-3.11.2
xstream - addressed in versions 1.4.18-2.fc33, 1.4.18-2.fc34, 1.4.18-2.fc35
Storage Copy Data Management - update to 2.2.26.0
IBM Watson Discovery for IBM Cloud Pak for Data - addressed in versions 4.8.8, 5.1.0
IBM Spectrum Control - update to 5.4.4
JBoss Data Grid - update to 8.3.0
IBM Security Verify Governance - update to 10.0.1.0.2

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins