Bug 1942637 (CVE-2021-21350) - CVE-2021-21350 XStream: Unsafe deserizaliation of com.sun.org.apache.bcel.internal.util.ClassLoader
Summary: CVE-2021-21350 XStream: Unsafe deserizaliation of com.sun.org.apache.bcel.int...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2021-21350
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1942638 1945528
Blocks: 1942645
TreeView+ depends on / blocked
 
Reported: 2021-03-24 16:20 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-12-14 21:34 UTC (History)
53 users (show)

Fixed In Version: xstream 1.4.16
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in xstream. A remote attacker may be able to execute arbitrary code only by manipulating the processed input stream. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Clone Of:
Environment:
Last Closed: 2021-04-26 10:47:13 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:2475 0 None None None 2021-06-17 13:16:40 UTC
Red Hat Product Errata RHSA-2021:2476 0 None None None 2021-06-17 13:20:58 UTC
Red Hat Product Errata RHSA-2021:4767 0 None None None 2021-11-23 10:35:27 UTC
Red Hat Product Errata RHSA-2021:4918 0 None None None 2021-12-02 16:18:16 UTC
Red Hat Product Errata RHSA-2021:5134 0 None None None 2021-12-14 21:34:42 UTC

Description Guilherme de Almeida Suckevicz 2021-03-24 16:20:44 UTC
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.

References:
https://github.com/x-stream/xstream/security/advisories/GHSA-43gc-mjxg-gvrq
https://x-stream.github.io/CVE-2021-21350.html

Comment 1 Guilherme de Almeida Suckevicz 2021-03-24 16:21:07 UTC
Created xstream tracking bugs for this issue:

Affects: fedora-all [bug 1942638]

Comment 3 Sage McTaggart 2021-03-29 15:09:31 UTC
Statement:

OpenShift Container Platform (OCP) delivers Jenkins LTS package with bundled XStream library. Due to JEP-200 [1] and JEP-228 [2] Jenkins projects, OCP Jenkins package is not affected by this flaw.

[1] https://github.com/jenkinsci/jep/blob/master/jep/200/README.adoc
[2] https://github.com/jenkinsci/jep/blob/master/jep/228/README.adoc#security

Comment 15 Jonathan Christison 2021-04-08 13:44:14 UTC
Marking Red Hat Jboss AMQ 6 as having a low impact, AMQ distributes affected versions of XStream, however its use in AMQ 6 is not susceptible to the vulnerability as the XStream security framework with an allowlist is in place.

 This vulnerability is out of security support scope for the following products:
 * Red Hat JBoss AMQ 6

Please refer to https://access.redhat.com/support/policy/updates/jboss_notes for more details.

Comment 17 errata-xmlrpc 2021-04-26 05:48:16 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2021:1354 https://access.redhat.com/errata/RHSA-2021:1354

Comment 18 Product Security DevOps Team 2021-04-26 10:47:13 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-21350

Comment 19 errata-xmlrpc 2021-05-26 21:50:21 UTC
This issue has been addressed in the following products:

  Red Hat Data Grid 8.2.0

Via RHSA-2021:2139 https://access.redhat.com/errata/RHSA-2021:2139

Comment 20 errata-xmlrpc 2021-06-17 13:16:28 UTC
This issue has been addressed in the following products:

  RHPAM 7.11.0

Via RHSA-2021:2475 https://access.redhat.com/errata/RHSA-2021:2475

Comment 21 errata-xmlrpc 2021-06-17 13:20:47 UTC
This issue has been addressed in the following products:

  RHDM 7.11.0

Via RHSA-2021:2476 https://access.redhat.com/errata/RHSA-2021:2476

Comment 23 errata-xmlrpc 2021-11-23 10:35:24 UTC
This issue has been addressed in the following products:

  Red Hat Integration

Via RHSA-2021:4767 https://access.redhat.com/errata/RHSA-2021:4767

Comment 24 errata-xmlrpc 2021-12-02 16:18:13 UTC
This issue has been addressed in the following products:

  Red Hat Integration

Via RHSA-2021:4918 https://access.redhat.com/errata/RHSA-2021:4918

Comment 25 errata-xmlrpc 2021-12-14 21:34:39 UTC
This issue has been addressed in the following products:

  Red Hat Fuse 7.10

Via RHSA-2021:5134 https://access.redhat.com/errata/RHSA-2021:5134


Note You need to log in before you can comment on or make changes to this bug.