CVE catalog

CVE-2021-39139

libxstream-java: CVE-2021-39139

[CVE catalog]

Severity
High · CVSS 8.5CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
4.54% · Oct 27, 2026

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. A user is only affected if using the version out of the box with JDK 1.7u21 or below. However, this scenario can be adjusted easily to an external Xalan that works regardless of the version of the Java runtime. 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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibxstream-javasid1.4.21-2fixed
Debianlibxstream-javaforky1.4.21-2fixed
Debianlibxstream-javatrixie1.4.21-1fixed
Debianlibxstream-javabookworm1.4.20-1+deb12u1fixed
CpexstreamNot reported1.4.18fixed
Cpedebian_linuxNot reportedNot reportedunknown
CpefedoraNot reportedNot reportedunknown
CpesnapmanagerNot reportedNot reportedunknown
Cpebusiness_activity_monitoringNot reportedNot reportedunknown
Cpecommerce_guided_searchNot reportedNot reportedunknown
Cpecommunications_billing_and_revenue_management_elastic_charging_engineNot reportedNot reportedunknown
Cpecommunications_cloud_native_core_automated_test_suiteNot reportedNot reportedunknown
Cpecommunications_cloud_native_core_binding_support_functionNot reportedNot reportedunknown
Cpecommunications_cloud_native_core_policyNot reportedNot reportedunknown
Cpecommunications_unified_inventory_managementNot reportedNot reportedunknown
Ubuntulibxstream-javapro1.4.8-1vulnerable
Ubuntulibxstream-javapro1.4.8-1ubuntu0.1vulnerable
Ubuntulibxstream-javapro1.4.8-1ubuntu0.1+esm1fixed
Ubuntulibxstream-java18.041.4.10-1vulnerable
Ubuntulibxstream-java18.041.4.11.1-1~18.04vulnerable
Ubuntulibxstream-java18.041.4.11.1-1~18.04.1vulnerable
Ubuntulibxstream-java18.041.4.11.1-1~18.04.2vulnerable
Ubuntulibxstream-java18.041.4.11.1-1+deb10u4build0.18.04.1fixed
Ubuntulibxstream-java20.041.4.11.1-1vulnerable
Ubuntulibxstream-java20.041.4.11.1-1ubuntu0.1vulnerable
Ubuntulibxstream-java20.041.4.11.1-1ubuntu0.2vulnerable
Ubuntulibxstream-java20.041.4.11.1-1ubuntu0.3fixed
Ubuntulibxstream-java22.041.4.15-4vulnerable
Ubuntulibxstream-java22.041.4.18-2vulnerable
Ubuntulibxstream-java22.041.4.18-2ubuntu0.1fixed
Opensusexstreamleap 15.21.4.18-lp152.2.12.1fixed
Opensusexstreamleap 15.31.4.18-3.14.1fixed
Susexstreamlinux enterprise module for development tools 15 sp21.4.18-3.14.1fixed
Susexstreamlinux enterprise module for development tools 15 sp31.4.18-3.14.1fixed
Susexstreammanager server module 4.11.4.18-3.14.1fixed
Susexstreammanager server module 4.21.4.18-3.14.1fixed
Ubuntulibxstream-java18.041.4.10-1vulnerable
Ubuntulibxstream-java18.041.4.11.1-1~18.04vulnerable
Ubuntulibxstream-java18.041.4.11.1-1~18.04.1vulnerable
Ubuntulibxstream-java18.041.4.11.1-1~18.04.2vulnerable
Ubuntulibxstream-java18.041.4.11.1-1+deb10u4build0.18.04.1fixed
Ubuntulibxstream-java20.041.4.11.1-1vulnerable
Ubuntulibxstream-java20.041.4.11.1-1ubuntu0.1vulnerable
Ubuntulibxstream-java20.041.4.11.1-1ubuntu0.2vulnerable
Ubuntulibxstream-java20.041.4.11.1-1ubuntu0.3fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibxstream-javasourcesid1.4.18-1not yet assignedNot reported[998054]
Debianlibxstream-javasourceforky1.4.18-1not yet assignedNot reported[998054]
Debianlibxstream-javasourcetrixie1.4.18-1not yet assignedNot reported[998054]
Debianlibxstream-javasourcebookworm1.4.18-1not yet assignedNot reported[998054]
CpexstreamcpeNot reported1.4.18Not reportedNVD-CVE-2021-39139Not reported
Ubuntulibxstream-javadebpro1.4.8-1ubuntu0.1+esm1Not reportedUSN-5946-1Not reported
Ubuntulibxstream-javadeb18.041.4.11.1-1+deb10u4build0.18.04.1Not reportedUSN-5946-1Not reported
Ubuntulibxstream-javadeb20.041.4.11.1-1ubuntu0.3Not reportedUSN-5946-1Not reported
Ubuntulibxstream-javadeb22.041.4.18-2ubuntu0.1Not reportedUSN-5946-1Not reported
Opensusexstreamrpmleap 15.21.4.18-lp152.2.12.1Not reportedOPENSUSE-SU-2021:1401-1Not reported
Opensusexstreamrpmleap 15.31.4.18-3.14.1Not reportedOPENSUSE-SU-2021:3476-1Not reported
Susexstreamrpmlinux enterprise module for development tools 15 sp21.4.18-3.14.1Not reportedSUSE-SU-2021:3476-1Not reported
Susexstreamrpmlinux enterprise module for development tools 15 sp31.4.18-3.14.1Not reportedSUSE-SU-2021:3476-1Not reported
Susexstreamrpmmanager server module 4.11.4.18-3.14.1Not reportedSUSE-SU-2021:3476-1Not reported
Susexstreamrpmmanager server module 4.21.4.18-3.14.1Not reportedSUSE-SU-2021:3476-1Not reported
Ubuntulibxstream-javadeb18.041.4.11.1-1+deb10u4build0.18.04.1Not reportedUBUNTU-CVE-2021-39139Not reported
Ubuntulibxstream-javadeb20.041.4.11.1-1ubuntu0.3Not reportedUBUNTU-CVE-2021-39139Not reported

[Debian bug #998054]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 1.4.20-1+deb12u1 · all · bookworm

      Fixed · Fixed: 1.4.18-1

      dsa · libxstream-java · debian · bookworm; dsa · libxstream-java · debian · 12

    • 1.4.20-1+deb12u1 · all · bookworm

      Fixed · Fixed: 1.4.18-1

      dsa · libxstream-java · debian · bookworm; dsa · libxstream-java · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 1.4.21-1 · all · trixie

      Fixed · Fixed: 1.4.18-1

      dsa · libxstream-java · debian · 13

    • 1.4.21-1 · all · trixie

      Fixed · Fixed: 1.4.18-1

      dsa · libxstream-java · debian · 13

Observed:

References