CVE-2021-39144: XStream is vulnerable to a Remote Command Execution attack
CVE-2021-39144 · Severity: critical · CVSS 3.1 · Exploited in the wild · Published 2021-08-25
XStream is vulnerable to Remote Code Execution (RCE) via unsafe deserialization of untrusted data. An attacker can manipulate the processed XML input stream to inject objects that execute arbitrary local commands on the server, particularly when XStream's security framework is not configured with a strict whitelist.
Yes. com.thoughtworks.xstream:xstream (Maven): upgrade to 1.4.18 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2021-39144 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2021-39144?
Check whether you run com.thoughtworks.xstream:xstream (Maven) or XStream at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
com.thoughtworks.xstream:xstream (Maven): upgrade to 1.4.18 or later
# set com.thoughtworks.xstream:xstream to 1.4.18 in your pom.xml or build.gradle
Affected products
XStream Project XStream versions prior to 1.4.18
VMware Cloud Foundation
VMware NSX Manager
Identifiers
CVE-2021-39144
GHSA-j9h8-phrw-h4fh
Timeline
2021-08-22: disclosed: Initial vulnerability disclosure and XStream 1.4.18 release
2023-03-10: kev added: Added to CISA Known Exploited Vulnerabilities Catalog
2023-03-10: exploited: Confirmed active exploitation in the wild