p PatchFirst

CVE-2021-21348

CVE-2021-21348 · XStream is vulnerable to an attack using Regular Expression for a Denial of Service (ReDos)

CVSS 5.3 · Medium · EPSS 13.8% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="libxstream-java"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • xstream

    Versions
    • < 1.4.16: Affected

    No fix published

  • libxstream-java Debian 12

    Affected ranges
    • ECOSYSTEM: < 1.4.15-2

    Update to 1.4.15-2

  • libxstream-java Debian 13

    Affected ranges
    • ECOSYSTEM: < 1.4.15-2

    Update to 1.4.15-2

  • libxstream-java Debian 14

    Affected ranges
    • ECOSYSTEM: < 1.4.15-2

    Update to 1.4.15-2

  • libxstream-java Ubuntu Pro 14.04 LTS

    Versions
    • 1.4.4-1
    • 1.4.7-1
    • 1.4.7-1ubuntu0.1
    • 1.4.7-1ubuntu0.1+esm1
    Affected ranges
    • ECOSYSTEM: < 1.4.7-1ubuntu0.1+esm2

    Update to 1.4.7-1ubuntu0.1+esm2

  • libxstream-java Ubuntu Pro 16.04 LTS

    Versions
    • 1.4.8-1
    • 1.4.8-1ubuntu0.1
    • 1.4.8-1ubuntu0.1+esm1
    • 1.4.8-1ubuntu0.1+esm2
    Affected ranges
    • ECOSYSTEM: < 1.4.8-1ubuntu0.1+esm3

    Update to 1.4.8-1ubuntu0.1+esm3

  • libxstream-java Ubuntu 18.04 LTS

    Versions
    • 1.4.10-1
    • 1.4.11.1-1~18.04
    • 1.4.11.1-1~18.04.1
    Affected ranges
    • ECOSYSTEM: < 1.4.11.1-1~18.04.2

    Update to 1.4.11.1-1~18.04.2

  • libxstream-java Ubuntu 20.04 LTS

    Versions
    • 1.4.11.1-1
    • 1.4.11.1-1ubuntu0.1
    Affected ranges
    • ECOSYSTEM: < 1.4.11.1-1ubuntu0.2

    Update to 1.4.11.1-1ubuntu0.2

Original sources

Check your server →