#VU52568 Deserialization of Untrusted Data in xstream - CVE-2021-21343


| Updated: 2024-12-17

Vulnerability identifier: #VU52568

Vulnerability risk: Medium

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2021-21343

CWE-ID: CWE-502

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
xstream
Universal components / Libraries / Libraries used by multiple products

Vendor: XStream

Description

The vulnerability allows a remote attacker to delete arbitrary files.

The vulnerability exists due to insecure input validation when processing serialized data where the processed stream at unmarshalling time contains type information to recreate the formerly written objects. A remote attacker can pass specially crafted data to the application and delete arbitrary files.


Mitigation
Install updates from vendor's website.

Vulnerable software versions

xstream: 0.2 - 1.4.15


External links
https://x-stream.github.io/changes.html#1.4.16
https://github.com/x-stream/xstream/security/advisories/GHSA-74cv-f58x-f9wf
https://lists.apache.org/thread.html/r9ac71b047767205aa22e3a08cb33f3e0586de6b2fac48b425c6e16b0@%3Cdev.jmeter.apache.org%3E
https://lists.debian.org/debian-lts-announce/2021/04/msg00002.html
https://x-stream.github.io/CVE-2021-21343.html
https://x-stream.github.io/security.html#workaround


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability