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

CVE-2021-21347: 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…

PriorityP266critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
14.30%
96.2th percentile
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 load and execute arbitrary code from a remote host 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

43 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
oraclebanking_virtual_account_management
oraclebanking_virtual_account_management
oraclebanking_virtual_account_management
oraclebusiness_activity_monitoring
oraclebusiness_activity_monitoring
oraclebusiness_activity_monitoring
oraclecommunications_billing_and_revenue_management_elastic_charging_engine
oraclecommunications_policy_management

Detection & IOCsextracted from sources · hover to see the quote

  • The vulnerability involves unsafe deserialization of com.sun.tools.javac.processing.JavacProcessingEnvironment NameProcessIterator via XStream — monitor for this class appearing in deserialized XML input streams
  • Exploitation requires manipulation of the processed XML input stream — inspect inbound XML payloads for references to com.sun.tools.javac.processing classes
  • Refer to the upstream XStream advisory and PoC details at the vendor advisory URL for payload signatures
  • ·Users who configured XStream's security framework with a whitelist limited to the minimal required types are NOT affected — only those relying on the default blacklist are vulnerable
  • ·OpenShift Container Platform Jenkins package is not affected due to JEP-200 and JEP-228 protections already in place
  • ·Red Hat JBoss AMQ 6 distributes affected XStream versions but is not susceptible because the XStream security framework with an allowlist is already in place

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
ghsa9.8CRITICAL
osv9.8CRITICAL
vendor_ubuntu8.0HIGH
vendor_debian6.1MEDIUM
vendor_redhat6.1MEDIUM
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.