p PatchFirst

CVE-2021-21347

CVE-2021-21347 · XStream is vulnerable to an Arbitrary Code Execution attack

CVSS 6.1 · Medium · EPSS 14.3% · 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 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.

Published
Updated

Fixes in distributions

  • RHSA-2021:1354 · Red Hat Enterprise Linux 7 client, Red Hat Enterprise Linux 7 computenode, Red Hat Enterprise Linux 7 server, Red Hat Enterprise Linux 7 workstation ·
  • USN-6978-1 · Ubuntu Pro 14.04 LTS, Ubuntu Pro 16.04 LTS ·
  • openSUSE-SU-2024:10592-1 · openSUSE Tumbleweed ·
  • openSUSE-SU-2021:1840-1 · openSUSE Leap 15.3 ·
  • SUSE-SU-2021:1840-2 · SUSE Manager Server Module 4.2 ·
  • openSUSE-SU-2021:0832-1 · openSUSE Leap 15.2 ·
  • SUSE-SU-2021:1840-1 · SUSE Linux Enterprise Module for Development Tools 15 SP2, SUSE Linux Enterprise Module for Development Tools 15 SP3, SUSE Manager Server Module 4.1 ·
  • USN-4943-1 · Ubuntu 18.04 LTS, Ubuntu 20.04 LTS ·
  • DLA-2616-1 · Debian 9 ·

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 →