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

CVE-2021-21342: XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability where the processed stream at…

PriorityP273critical9.1CVSS 3.1
AVNACLPRNUINSUCHIHAN
EPSS
49.99%
98.9th 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 where the processed stream at unmarshalling time contains type information to recreate the formerly written objects. XStream creates therefore new instances based on these type information. An attacker can manipulate the processed input stream and replace or inject objects, that result in a server-side forgery request. 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

39 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_brm_elastic_charging_engine——
oraclecommunications_policy_management——

Detection & IOCsextracted from sources · hover to see the quote

  • →XStream SSRF vulnerability is triggered at unmarshalling time via a crafted input stream containing malicious type information; monitor for unexpected outbound HTTP/S requests originating from Java processes performing XStream deserialization ↗
  • →Affected versions are XStream before 1.4.16; detect vulnerable deployments by identifying XStream library versions below 1.4.16 in Java application classpaths ↗
  • ·Users who configured XStream's security framework with a whitelist limited to the minimal required types are NOT affected by this vulnerability ↗
  • ·OpenShift Container Platform Jenkins package is not affected due to JEP-200 and JEP-228 protections applied to the bundled XStream library ↗

CVSS provenance

nvdv3.19.1CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
nvdv2.05.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:N
ghsa9.1CRITICAL
osv9.1CRITICAL
vendor_ubuntu8.0HIGH
vendor_debian5.3MEDIUM
vendor_redhat5.3MEDIUM
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.