Bug 2049783 (CVE-2021-43859) - CVE-2021-43859 xstream: Injecting highly recursive collections or maps can cause a DoS
Summary: CVE-2021-43859 xstream: Injecting highly recursive collections or maps can ca...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2021-43859
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2049784 2058793 2058794 2214450
Blocks: 2049785
TreeView+ depends on / blocked
 
Reported: 2022-02-02 17:11 UTC by Guilherme de Almeida Suckevicz
Modified: 2023-06-13 03:01 UTC (History)
45 users (show)

Fixed In Version: xstream 1.4.19
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-04-27 11:46:24 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:1420 0 None None None 2022-04-27 07:41:21 UTC
Red Hat Product Errata RHSA-2022:5532 0 None None None 2022-07-07 14:22:28 UTC
Red Hat Product Errata RHSA-2022:5606 0 None None None 2022-07-19 13:40:34 UTC

Description Guilherme de Almeida Suckevicz 2022-02-02 17:11:29 UTC
XStream is an open source java library to serialize objects to XML and back again. Versions prior to 1.4.19 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. XStream 1.4.19 monitors and accumulates the time it takes to add elements to collections and throws an exception if a set threshold is exceeded. Users are advised to upgrade as soon as possible. Users unable to upgrade may set the NO_REFERENCE mode to prevent recursion. See GHSA-rmr5-cpv2-vgjf for further details on a workaround if an upgrade is not possible.

References:
https://github.com/x-stream/xstream/security/advisories/GHSA-rmr5-cpv2-vgjf
https://x-stream.github.io/CVE-2021-43859.html

Upstream patch:
https://github.com/x-stream/xstream/commit/e8e88621ba1c85ac3b8620337dd672e0c0c3a846

Comment 1 Guilherme de Almeida Suckevicz 2022-02-02 17:11:54 UTC
Created xstream tracking bugs for this issue:

Affects: fedora-all [bug 2049784]

Comment 2 juneau 2022-02-03 16:18:55 UTC
Removed deprecated services-migration-analytics from affects.

Comment 3 juneau 2022-02-03 16:22:14 UTC
Added services-managed-kafka to affects per manifest review.
Marked affected/delegated for presence of affected code:

services-managed-kafka/mk-ci-cd/app-services-operator-midstream:cb87896/com.thoughtworks.xstream:xstream-1.4.16 https://gitlab.cee.redhat.com/mk-ci-cd/app-services-operator-midstream/blob/production/pom.xml
services-managed-kafka/mk-ci-cd/kas-fleetshard-operator:b165510/com.thoughtworks.xstream:xstream-1.4.17 https://gitlab.cee.redhat.com/mk-ci-cd/kas-fleetshard/blob/production/pom.xml
services-managed-kafka/mk-ci-cd/kas-fleetshard-sync:b165510/com.thoughtworks.xstream:xstream-1.4.17 https://gitlab.cee.redhat.com/mk-ci-cd/kas-fleetshard/blob/production/pom.xml

Comment 12 errata-xmlrpc 2022-04-27 07:41:17 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 3.11

Via RHSA-2022:1420 https://access.redhat.com/errata/RHSA-2022:1420

Comment 13 Product Security DevOps Team 2022-04-27 11:46:20 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-43859

Comment 14 errata-xmlrpc 2022-07-07 14:22:23 UTC
This issue has been addressed in the following products:

  Red Hat Fuse 7.11

Via RHSA-2022:5532 https://access.redhat.com/errata/RHSA-2022:5532

Comment 15 errata-xmlrpc 2022-07-19 13:40:32 UTC
This issue has been addressed in the following products:

  RHINT Camel-Q 2.7

Via RHSA-2022:5606 https://access.redhat.com/errata/RHSA-2022:5606


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