p PatchFirst

CVE-2021-39149

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

CVSS 8.5 · High · EPSS 4.7% · 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 simple library to serialize objects to XML and back again. In affected versions this vulnerability 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. XStream 1.4.18 uses no longer a blacklist by default, since it cannot be secured for general purpose.

Published
Updated

Fixes in distributions

  • RHSA-2021:3956 · 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-5946-1 · Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu Pro 14.04 LTS, Ubuntu Pro 16.04 LTS ·
  • DSA-5004-1 · Debian 10, Debian 11 ·
  • openSUSE-SU-2021:1401-1 · openSUSE Leap 15.2 ·
  • openSUSE-SU-2021:3476-1 · openSUSE Leap 15.3 ·
  • SUSE-SU-2021:3476-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, SUSE Manager Server Module 4.2 ·
  • DLA-2769-1 · Debian 9 ·

Stack: system

Affected products and versions

  • xstream

    Versions
    • < 1.4.18: Affected

    No fix published

  • libxstream-java Debian 12

    Affected ranges
    • ECOSYSTEM: < 1.4.18-1

    Update to 1.4.18-1

  • libxstream-java Debian 13

    Affected ranges
    • ECOSYSTEM: < 1.4.18-1

    Update to 1.4.18-1

  • libxstream-java Debian 14

    Affected ranges
    • ECOSYSTEM: < 1.4.18-1

    Update to 1.4.18-1

  • 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
    • 1.4.11.1-1~18.04.2
    Affected ranges
    • ECOSYSTEM: < 1.4.11.1-1+deb10u4build0.18.04.1

    Update to 1.4.11.1-1+deb10u4build0.18.04.1

  • libxstream-java Ubuntu 20.04 LTS

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

    Update to 1.4.11.1-1ubuntu0.3

Original sources

Check your server →