cbcvebase.
CVE-2021-21341
published 2021-03-23

CVE-2021-21341: XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is vulnerability which may allow a remote…

PriorityP262high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
77.80%
99.5th percentile
XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is vulnerability which may allow a remote attacker to allocate 100% CPU time on the target system depending on CPU type or parallel execution of such a payload resulting in a denial of service 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.

Affected

35 ranges· showing 25
VendorProductVersion rangeFixed in
apacheactivemq< 5.15.145.15.14
apacheactivemq
apacheactivemq
apachejmeter< 5.55.5
debiandebian_linux
debiandebian_linux
debiandebian_linux
debianlibxstream-java< libxstream-java 1.4.15-2 (bookworm)libxstream-java 1.4.15-2 (bookworm)
fedoraprojectfedora
fedoraprojectfedora
fedoraprojectfedora
oraclebanking_enterprise_default_management
oraclebanking_enterprise_default_management
oraclebanking_platform
oraclebanking_platform
oraclebanking_platform
oraclebanking_platform
oraclebusiness_activity_monitoring
oraclebusiness_activity_monitoring
oraclebusiness_activity_monitoring
oraclecommunications_billing_and_revenue_management_elastic_charging_engine
oraclecommunications_unified_inventory_management
oraclecommunications_unified_inventory_management
oraclecommunications_unified_inventory_management
oraclecommunications_unified_inventory_management

Detection & IOCsextracted from sources · hover to see the quote

  • Vulnerability is exploitable by manipulating the processed input stream sent to XStream deserialization; monitor for abnormal XML payloads causing sustained 100% CPU utilization on systems using XStream before 1.4.16
  • Systems using XStream's default blacklist security framework (rather than a whitelist) remain vulnerable; detection should focus on identifying deployments not configured with a whitelist limited to minimal required types
  • ·XStream versions before 1.4.16 are vulnerable; upgrade to 1.4.16 or later to remediate. Debian resolved the issue in package version 1.4.15-2 (which includes the security backport).
  • ·OpenShift Container Platform Jenkins bundles XStream but is NOT affected due to JEP-200 and JEP-228 protections; do not flag OCP Jenkins as vulnerable.
  • ·Upstream advisory and detailed technical information for this CVE is published at the XStream project security advisory page.

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.07.1HIGHAV:N/AC:M/Au:N/C:N/I:N/A:C
ghsa7.5HIGH
osv8.8HIGH
vendor_ubuntu8.0HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.