Maven (Java)Worst: Critical38 advisories

com.thoughtworks.xstream:xstream: known vulnerabilities

com.thoughtworks.xstream:xstream has 38 reviewed security advisories in the GitHub Advisory Database — 2 critical, 22 high, 13 moderate, 1 low. The most recent was published 2024-11-08. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the com.thoughtworks.xstream:xstream versions running across your servers, containers and images, and ranks what to patch first.

How to fix com.thoughtworks.xstream:xstream

Upgrade com.thoughtworks.xstream:xstream to a release at or above the fixed version shown for each advisory below. For Maven (Java):

Bump the dependency to 1.4.21 in your pom.xml or build.gradle

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (38)

XStream is vulnerable to a Denial of Service attack due to stack overflow from a manipulated binary input stream High 7.5 CWE-121 CWE-502 — Affected: before 1.4.21. Fixed in 1.4.21. Published 2024-11-08. GHSA-hfq9-hggm-c56q · CVE-2024-47072
XStream can cause a Denial of Service by injecting deeply nested objects raising a stack overflow High 7.5 CWE-121 CWE-502 CWE-787 — Affected: before 1.4.20. Fixed in 1.4.20. Published 2022-12-30. GHSA-f8cc-g7j8-xxpm · CVE-2022-40151
XStream can cause Denial of Service via stack overflow High 8.2 CWE-120 CWE-121 CWE-502 CWE-674 — Affected: before 1.4.20. Fixed in 1.4.20. Published 2022-12-28. GHSA-j563-grx4-pjpv · CVE-2022-41966
Duplicate Advisory: Denial of Service due to parser crash Low — Affected: up to and including 1.4.19. No fixed release is listed. Published 2022-09-16. GHSA-3mq5-fq9h-gj7j
Denial of Service by injecting highly recursive collections or maps in XStream High 7.5 CWE-400 CWE-502 — Affected: before 1.4.19. Fixed in 1.4.19. Published 2022-02-01. GHSA-rmr5-cpv2-vgjf · CVE-2021-43859
XStream is vulnerable to an Arbitrary Code Execution attack High 8.5 CWE-502 — Affected: before 1.4.18. Fixed in 1.4.18. Published 2021-08-23. GHSA-2q8x-2p7f-574v · CVE-2021-39153
XStream is vulnerable to an Arbitrary Code Execution attack High 8.5 CWE-434 CWE-502 — Affected: before 1.4.18. Fixed in 1.4.18. Published 2021-08-23. GHSA-3ccq-5vw3-2p6x · CVE-2021-39149
XStream is vulnerable to an Arbitrary Code Execution attack High 8.5 CWE-502 — Affected: before 1.4.18. Fixed in 1.4.18. Published 2021-08-23. GHSA-64xx-cq4q-mf44 · CVE-2021-39139
XStream is vulnerable to an Arbitrary Code Execution attack High 8.5 CWE-434 CWE-502 — Affected: before 1.4.18. Fixed in 1.4.18. Published 2021-08-23. GHSA-6w62-hx7r-mw68 · CVE-2021-39154
XStream can cause a Denial of Service Moderate 6.5 CWE-502 CWE-835 — Affected: before 1.4.18. Fixed in 1.4.18. Published 2021-08-23. GHSA-6wf9-jmg9-vxcc · CVE-2021-39140
XStream is vulnerable to an Arbitrary Code Execution attack High 8.5 CWE-502 — Affected: before 1.4.18. Fixed in 1.4.18. Published 2021-08-23. GHSA-8jrj-525p-826v · CVE-2021-39145
A Server-Side Forgery Request can be activated unmarshalling with XStream to access data streams from an arbitrary URL referencing a resource in an intranet or the local host High 8.5 CWE-502 CWE-918 — Affected: before 1.4.18. Fixed in 1.4.18. Published 2021-08-23. GHSA-cxfm-5m4g-x7xp · CVE-2021-39150
XStream is vulnerable to an Arbitrary Code Execution attack High 8.5 CWE-502 — Affected: before 1.4.18. Fixed in 1.4.18. Published 2021-08-23. GHSA-g5w6-mrj7-75h2 · CVE-2021-39141
XStream is vulnerable to an Arbitrary Code Execution attack High 8.5 CWE-502 — Affected: before 1.4.18. Fixed in 1.4.18. Published 2021-08-23. GHSA-h7v4-7xg3-hxcc · CVE-2021-39147
XStream is vulnerable to an Arbitrary Code Execution attack High 8.5 CWE-434 CWE-502 — Affected: before 1.4.18. Fixed in 1.4.18. Published 2021-08-23. GHSA-hph2-m3g5-xxv4 · CVE-2021-39151
XStream is vulnerable to an Arbitrary Code Execution attack High 8.5 CWE-502 — Affected: before 1.4.18. Fixed in 1.4.18. Published 2021-08-23. GHSA-p8pq-r894-fm8f · CVE-2021-39146
XStream is vulnerable to an Arbitrary Code Execution attack High 8.5 CWE-502 — Affected: before 1.4.18. Fixed in 1.4.18. Published 2021-08-23. GHSA-qrx8-8545-4wg2 · CVE-2021-39148
A Server-Side Forgery Request can be activated unmarshalling with XStream to access data streams from an arbitrary URL referencing a resource in an intranet or the local host High 8.5 CWE-502 CWE-918 — Affected: before 1.4.18. Fixed in 1.4.18. Published 2021-08-23. GHSA-xw4p-crpj-vjx2 · CVE-2021-39152
XStream is vulnerable to a Remote Command Execution attack High 7.5 CWE-502 CWE-74 CWE-94 — Affected: before 1.4.17. Fixed in 1.4.17. Published 2021-05-28. GHSA-7chv-rrw6-w6fc · CVE-2021-29505
XStream can cause a Denial of Service. High 7.5 CWE-400 CWE-502 CWE-835 — Affected: before 1.4.16. Fixed in 1.4.16. Published 2021-03-23. GHSA-2p3x-qw9c-25hh · CVE-2021-21341
XStream is vulnerable to an Arbitrary Code Execution attack Moderate 5.3 CWE-434 CWE-502 — Affected: before 1.4.16. Fixed in 1.4.16. Published 2021-03-23. GHSA-43gc-mjxg-gvrq · CVE-2021-21350
XStream is vulnerable to an Arbitrary Code Execution attack Moderate 6.1 CWE-434 CWE-502 — Affected: before 1.4.16. Fixed in 1.4.16. Published 2021-03-23. GHSA-4hrm-m67v-5cxr · CVE-2021-21346
XStream is vulnerable to an attack using Regular Expression for a Denial of Service (ReDos) Moderate 5.3 CWE-400 CWE-502 — Affected: before 1.4.16. Fixed in 1.4.16. Published 2021-03-23. GHSA-56p8-3fh9-4cvq · CVE-2021-21348
XStream is vulnerable to an Arbitrary Code Execution attack Moderate 5.3 CWE-434 CWE-502 — Affected: before 1.4.16. Fixed in 1.4.16. Published 2021-03-23. GHSA-59jw-jqf4-3wq3 · CVE-2021-21344
XStream is vulnerable to an Arbitrary File Deletion on the local host when unmarshalling as long as the executing process has sufficient rights Moderate 5.3 CWE-502 CWE-73 — Affected: before 1.4.16. Fixed in 1.4.16. Published 2021-03-23. GHSA-74cv-f58x-f9wf · CVE-2021-21343
A Server-Side Forgery Request can be activated unmarshalling with XStream to access data streams from an arbitrary URL referencing a resource in an intranet or the local host Moderate 6.1 CWE-502 CWE-918 — Affected: before 1.4.16. Fixed in 1.4.16. Published 2021-03-23. GHSA-f6hm-88x3-mfjv · CVE-2021-21349
XStream is vulnerable to an Arbitrary Code Execution attack Moderate 5.4 CWE-434 CWE-502 — Affected: before 1.4.16. Fixed in 1.4.16. Published 2021-03-23. GHSA-hrcp-8f3q-4w2c · CVE-2021-21351
A Server-Side Forgery Request can be activated unmarshalling with XStream to access data streams from an arbitrary URL referencing a resource in an intranet or the local host Moderate 5.3 CWE-502 CWE-918 — Affected: before 1.4.16. Fixed in 1.4.16. Published 2021-03-23. GHSA-hvv8-336g-rx3m · CVE-2021-21342
XStream is vulnerable to a Remote Command Execution attack Moderate 5.8 CWE-78 CWE-94 — Affected: before 1.4.16. Fixed in 1.4.16. Published 2021-03-23. GHSA-hwpc-8xqv-jvj4 · CVE-2021-21345
XStream is vulnerable to an Arbitrary Code Execution attack Moderate 6.1 CWE-434 CWE-502 — Affected: before 1.4.16. Fixed in 1.4.16. Published 2021-03-23. GHSA-qpfq-ph7r-qv6f · CVE-2021-21347
Server-Side Forgery Request can be activated unmarshalling with XStream Moderate 6.3 CWE-918 — Affected: before 1.4.15. Fixed in 1.4.15. Published 2020-12-16. GHSA-4cch-wxpw-8p28 · CVE-2020-26258
XStream vulnerable to an Arbitrary File Deletion on the local host when unmarshalling Moderate 6.8 CWE-78 — Affected: before 1.4.15. Fixed in 1.4.15. Published 2020-12-16. GHSA-jfvx-7wrx-43fh · CVE-2020-26259
XStream can be used for Remote Code Execution High 8.0 CWE-78 — Affected: before 1.4.14-java7. Fixed in 1.4.14-java7. Published 2020-11-16. GHSA-mw36-7c6c-q4q2 · CVE-2020-26217
Deserialization of Untrusted Data and Code Injection in xstream Critical 9.8 CWE-502 CWE-94 — Affected: from 1.4.10 up to 1.4.11. Fixed in 1.4.11. Published 2019-07-23. GHSA-hf23-9pf7-388p · CVE-2019-10173
Command Injection in Xstream Critical 9.8 CWE-77 CWE-78 — Affected: from 1.4.10 up to 1.4.11. Fixed in 1.4.11. Published 2019-05-15. GHSA-f554-x222-wgf7 · CVE-2013-7285
XML External Entity Injection in XStream High 7.5 CWE-200 — Affected: before 1.4.9. Fixed in 1.4.9. Published 2016-05-17. GHSA-rgh3-987h-wpmw · CVE-2016-3674

Find com.thoughtworks.xstream:xstream across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.