Skip to main content
← All vulnerabilities
CVE-2021-21348GHSA-56P8-3FH9-4CVQBIT-ACTIVEMQ-2021-21348

XStream is vulnerable to an attack using Regular Expression for a Denial of Service (ReDos)

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: partial

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 occupy a thread that consumes maximum CPU time and will never return. 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: partial

  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

x-stream.github.io

GitHub · x-stream/xstream

lists.debian.org

lists.apache.org

security.netapp.com

oracle.com

lists.fedoraproject.org

debian.org