QID 239729

Date Published: 2021-11-02

QID 239729: Red Hat Update for xstream (RHSA-2021:3956)

xstream is a java xml serialization library to serialize objects to and deserialize object from xml.

Security Fix(es):
  • xstream: arbitrary code execution via unsafe deserialization of xalan xsltc.trax.
    Templatesimpl (cve-2021-39139)
  • xstream: arbitrary code execution via unsafe deserialization of com.sun.xml.internal.ws.client.sei.* (
    Cve-2021-39141)
  • xstream: arbitrary code execution via unsafe deserialization of sun.tracing.* (
    Cve-2021-39144)
  • xstream: arbitrary code execution via unsafe deserialization of com.sun.jndi.ldap.
    Ldapbindingenumeration (cve-2021-39145)
  • xstream: arbitrary code execution via unsafe deserialization of javax.swing.
    Uidefaults$proxylazyvalue (cve-2021-39146)
  • xstream: arbitrary code execution via unsafe deserialization of com.sun.jndi.ldap.
    Ldapsearchenumeration (cve-2021-39147)
  • xstream: arbitrary code execution via unsafe deserialization of com.sun.jndi.toolkit.dir.
    Contextenumerator (cve-2021-39148)
  • xstream: arbitrary code execution via unsafe deserialization of com.sun.corba.* (
    Cve-2021-39149)
  • xstream: server-side request forgery (ssrf) via unsafe deserialization of com.sun.xml.internal.ws.client.sei.* (
    Cve-2021-39150)
  • xstream: arbitrary code execution via unsafe deserialization of com.sun.jndi.ldap.
    Ldapbindingenumeration (cve-2021-39151)
  • xstream: server-side request forgery (ssrf) via unsafe deserialization of jdk.nashorn.internal.runtime.
    Source$urldata (cve-2021-39152)
  • xstream: arbitrary code execution via unsafe deserialization of xalan xsltc.trax.
    Templatesimpl (cve-2021-39153)
  • xstream: arbitrary code execution via unsafe deserialization of javax.swing.
    Uidefaults$proxylazyvalue (cve-2021-39154)
  • xstream: infinite loop dos via unsafe deserialization of sun.reflect.annotation.
    Annotationinvocationhandler (cve-2021-39140)

Affected Products:

  • Red Hat enterprise linux server 7 x86_64
  • Red Hat enterprise linux workstation 7 x86_64
  • Red Hat enterprise linux desktop 7 x86_64
  • Red Hat enterprise linux for ibm z systems 7 s390x
  • Red Hat enterprise linux for power, big endian 7 ppc64
  • Red Hat enterprise linux for scientific computing 7 x86_64
  • Red Hat enterprise linux for power, little endian 7 ppc64le



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

On successful exploitation, it could allow an attacker to execute code.

  • CVSS V3 rated as Critical - 8.8 severity.
  • CVSS V2 rated as High - 6.5 severity.
  • Solution
    Upgrade to the latest packages which contain a patch.

    Refer to Refer to :
    Applying Package Updates to RHEL system
    for details.

    Refer to Red Hat security advisory RHSA-2021:3956 Update to address this issue and obtain more information.

    Vendor References
    Software Advisories
    Advisory ID Software Component Link
    RHSA-2021:3956 Red Hat Enterprise Linux URL Logo access.redhat.com/errata/RHSA-2021:3956