Skip to main content
← All vulnerabilities
CVE-2021-21347GHSA-QPFQ-PH7R-QV6FBIT-ACTIVEMQ-2021-21347

XStream is vulnerable to an Arbitrary Code Execution attack

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.4.16, 5.15.14
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • x-stream xstream

    fixed in 1.4.16

  • activemqBitnami

    fixed in 5.15.14; From 5.16.0 · through 5.16.0; From 5.16.1 · through 5.16.1

  • com.thoughtworks.xstream:xstreamMaven

    fixed in 1.4.16

References 15

GitHub · x-stream/xstream

x-stream.github.io

lists.debian.org

lists.apache.org

security.netapp.com

oracle.com

lists.fedoraproject.org

debian.org