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

CVE-2021-21345: Deserialization of Untrusted Data

March 23, 2021 (updated November 7, 2023)

XStream is a Java library to serialize objects to XML and back again. In XStream, there is a vulnerability which may allow a remote attacker who has sufficient rights to execute commands of the host only by manipulating the processed input stream.

References

  • nvd.nist.gov/vuln/detail/CVE-2021-21345

Code Behaviors & Features

Detect and mitigate CVE-2021-21345 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.16

Fixed versions

  • 1.4.16

Solution

Upgrade to version 1.4.16 or above.

Impact 9.9 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:17:22 +0000.