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

CVE-2021-21342: 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 where the processed stream at unmarshalling time contains type information to recreate the formerly written objects. XStream creates therefore new instances based on these type information.

References

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

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.4.16

Fixed versions

  • 1.4.16

Solution

Upgrade to version 1.4.16 or above.

Impact 9.1 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:05 +0000.