CVE Catalog

CVE-2021-21350

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Very high risk
15.23%

97th percentile - higher than 97% of all known CVEs

Summary

XStream before version 1.4.16 allows a remote attacker to execute arbitrary code by manipulating the processed input stream. Users who configured a whitelist of allowed types are not affected.

Risk Assessment

Remote arbitrary code execution on the server may be possible, potentially leading to full system compromise. The risk affects installations relying on the default blacklist instead of a whitelist.

Recommendation

Upgrade XStream to at least version 1.4.16 and configure the security framework with a whitelist limited to the minimal required types.

Other vulnerabilities in XStream

See all
Original NVD description (English source)

XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability which may allow a remote attacker to execute arbitrary code only by manipulating the processed input stream. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.16.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS