CVE Catalog

CVE-2021-21348

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Very high risk
13.83%

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

Summary

XStream before version 1.4.16 allows a remote attacker to occupy a thread that consumes maximum CPU time and will never return. Users who configured a whitelist of allowed types are not affected.

Risk Assessment

Resource exhaustion by occupying a thread may be possible, potentially leading to denial of service. 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 occupy a thread that consumes maximum CPU time and will never return. 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