#VU52568 Deserialization of Untrusted Data in xstream


Published: 2021-04-26

Vulnerability identifier: #VU52568

Vulnerability risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:U/RL:O/RC:C]

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
http://x-stream.github.io/changes.html#1.4.16
http://github.com/x-stream/xstream/security/advisories/GHSA-74cv-f58x-f9wf
http://lists.apache.org/thread.html/r9ac71b047767205aa22e3a08cb33f3e0586de6b2fac48b425c6e16b0@%3Cdev.jmeter.apache.org%3E
http://lists.debian.org/debian-lts-announce/2021/04/msg00002.html
http://x-stream.github.io/CVE-2021-21343.html
http://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