https://bugzilla.redhat.com/show_bug.cgi?id=1942554
Bug ID: 1942554 Summary: CVE-2021-21344 XStream: arbitrary code execution via crafted input stream Product: Security Response Hardware: All OS: Linux Status: NEW Component: vulnerability Keywords: Security Severity: medium Priority: medium Assignee: security-response-team@redhat.com Reporter: gsuckevi@redhat.com CC: abenaiss@redhat.com, aileenc@redhat.com, akoufoud@redhat.com, alazarot@redhat.com, almorale@redhat.com, anstephe@redhat.com, aos-bugs@redhat.com, ataylor@redhat.com, bibryam@redhat.com, bmontgom@redhat.com, chazlett@redhat.com, dchen@redhat.com, drieden@redhat.com, eparis@redhat.com, etirelli@redhat.com, ggaughan@redhat.com, gmalinko@redhat.com, gvarsami@redhat.com, hbraun@redhat.com, ibek@redhat.com, janstey@redhat.com, java-maint@redhat.com, java-sig-commits@lists.fedoraproject.org, jburrell@redhat.com, jcoleman@redhat.com, jochrist@redhat.com, jokerman@redhat.com, jolee@redhat.com, jross@redhat.com, jschatte@redhat.com, jstastny@redhat.com, jwon@redhat.com, kaycoth@redhat.com, kconner@redhat.com, krathod@redhat.com, kverlaen@redhat.com, ldimaggi@redhat.com, lkundrak@v3.sk, mizdebsk@redhat.com, mnovotny@redhat.com, nstielau@redhat.com, nwallace@redhat.com, pantinor@redhat.com, pbhattac@redhat.com, pjindal@redhat.com, rrajasek@redhat.com, rsynek@redhat.com, rwagner@redhat.com, sdaley@redhat.com, sponnaga@redhat.com, tcunning@redhat.com, tkirby@redhat.com, vbobade@redhat.com Target Milestone: --- Classification: Other
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.
References: https://github.com/x-stream/xstream/security/advisories/GHSA-59jw-jqf4-3wq3 https://x-stream.github.io/CVE-2021-21344.html
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
Guilherme de Almeida Suckevicz gsuckevi@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends On| |1942556
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1942556 [Bug 1942556] CVE-2021-21344 xstream: arbitrary code execution via crafted input stream [fedora-all]
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
--- Comment #1 from Guilherme de Almeida Suckevicz gsuckevi@redhat.com --- Created xstream tracking bugs for this issue:
Affects: fedora-all [bug 1942556]
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
Guilherme de Almeida Suckevicz gsuckevi@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1942645
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
Chess Hazlett chazlett@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version| |xstream 1.4.16
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
--- Comment #2 from Przemyslaw Roguski proguski@redhat.com --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
--- Comment #3 from amctagga@redhat.com --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
Chess Hazlett chazlett@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(krathod@redhat.co | |m)
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
Chess Hazlett chazlett@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(pjindal@redhat.co | |m)
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
Chess Hazlett chazlett@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(jwon@redhat.com)
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
Chess Hazlett chazlett@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(pjindal@redhat.co | |m)
--- Comment #5 from Chess Hazlett chazlett@redhat.com --- @Param from digging through kie backend, it looks like they've implemented their own allowlist-ish system; also the optaplanner component uses the xstream-provided allowlist for that older version (based on those 2, I'd say affected not vulnerable). Can you see any other distinct instances of xstream in RHxM that may or may not have mitigations in place already?
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
Kunjan Rathod krathod@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(krathod@redhat.co | |m) |
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
Chess Hazlett chazlett@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|medium |high Severity|medium |high
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
Ted (Jong Seok) Won jwon@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(jwon@redhat.com) |
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
Paramvir jindal pjindal@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(pjindal@redhat.co | |m) |
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
Riccardo Schirone rschiron@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends On| |1945524
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
Paramvir jindal pjindal@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(pjindal@redhat.co | |m) |
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
--- Doc Text *updated* by Eric Christensen sparks@redhat.com --- A flaw was found in xstream. A remote attacker may be able to load and execute arbitrary code from a remote host only by manipulating the processed input stream. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
--- Comment #19 from Jonathan Christison jochrist@redhat.com --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
--- Comment #21 from errata-xmlrpc errata-xmlrpc@redhat.com --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
Product Security DevOps Team prodsec-dev@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |ERRATA Last Closed| |2021-04-26 10:46:37
--- Comment #22 from Product Security DevOps Team prodsec-dev@redhat.com --- 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-21344
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
--- Comment #23 from errata-xmlrpc errata-xmlrpc@redhat.com --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
--- Comment #24 from errata-xmlrpc errata-xmlrpc@redhat.com --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
errata-xmlrpc errata-xmlrpc@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Link ID| |Red Hat Product Errata | |RHSA-2021:2475
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
--- Comment #25 from errata-xmlrpc errata-xmlrpc@redhat.com --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
errata-xmlrpc errata-xmlrpc@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Link ID| |Red Hat Product Errata | |RHSA-2021:2476
https://bugzilla.redhat.com/show_bug.cgi?id=1942554 Bug 1942554 depends on bug 1942556, which changed state.
Bug 1942556 Summary: CVE-2021-21344 xstream: arbitrary code execution via crafted input stream [fedora-all] https://bugzilla.redhat.com/show_bug.cgi?id=1942556
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Resolution|--- |ERRATA
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
--- Comment #27 from errata-xmlrpc errata-xmlrpc@redhat.com --- This issue has been addressed in the following products:
Red Hat Integration
Via RHSA-2021:4767 https://access.redhat.com/errata/RHSA-2021:4767
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
errata-xmlrpc errata-xmlrpc@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Link ID| |Red Hat Product Errata | |RHSA-2021:4767
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
--- Comment #28 from errata-xmlrpc errata-xmlrpc@redhat.com --- This issue has been addressed in the following products:
Red Hat Integration
Via RHSA-2021:4918 https://access.redhat.com/errata/RHSA-2021:4918
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
errata-xmlrpc errata-xmlrpc@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Link ID| |Red Hat Product Errata | |RHSA-2021:4918
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
--- Comment #30 from errata-xmlrpc errata-xmlrpc@redhat.com --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=1942554
errata-xmlrpc errata-xmlrpc@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Link ID| |Red Hat Product Errata | |RHSA-2021:5134
java-sig-commits@lists.fedoraproject.org