Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.thoughtworks.xstream/xstream
  4. ›
  5. CVE-2021-39144

CVE-2021-39144: XStream is vulnerable to a Remote Command Execution attack

August 25, 2021 (updated October 22, 2025)

XStream is a simple library to serialize objects to XML and back again. This vulnerability may allow a remote attacker has sufficient rights to execute commands of the host only by manipulating the processed input stream. Users who followed the recommendation to setup XStream’s security framework with a allow list limited to the minimal required types are not impacted.

References

  • github.com/advisories/GHSA-j9h8-phrw-h4fh
  • github.com/x-stream/xstream
  • github.com/x-stream/xstream/security/advisories/GHSA-j9h8-phrw-h4fh
  • lists.debian.org/debian-lts-announce/2021/09/msg00017.html
  • lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP
  • lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7
  • lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB
  • nvd.nist.gov/vuln/detail/CVE-2021-39144
  • security.netapp.com/advisory/ntap-20210923-0003
  • www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-39144
  • www.debian.org/security/2021/dsa-5004
  • www.oracle.com/security-alerts/cpuapr2022.html
  • www.oracle.com/security-alerts/cpujan2022.html
  • www.oracle.com/security-alerts/cpujul2022.html
  • x-stream.github.io/CVE-2021-39144.html

Code Behaviors & Features

Detect and mitigate CVE-2021-39144 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.4.18

Fixed versions

  • 1.4.18

Solution

Upgrade to version 1.4.18 or above.

Impact 8.5 HIGH

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-306: Missing Authentication for Critical Function
  • CWE-502: Deserialization of Untrusted Data
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

maven/com.thoughtworks.xstream/xstream/CVE-2021-39144.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:28 +0000.