CriticalGHSA-hf23-9pf7-388pCVE-2019-10173

Deserialization of Untrusted Data and Code Injection in xstream

Published 26 Jul 2019 · Updated 10 Sept 2026

Is your project on an affected com.thoughtworks.xstream:xstream?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
>=1.4.10 <1.4.11
Fixed in
1.4.11
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=com.thoughtworks.xstream:xstream -DdepVersion=1.4.11 -DforceVersion=true

Details

It was found that xstream API version 1.4.10 before 1.4.11 introduced a regression for a previous deserialization flaw. If the security framework has not been initialized, it may allow a remote attacker to run arbitrary shell commands when unmarshalling XML or any supported format. e.g. JSON. (regression of CVE-2013-7285)

Is GHSA-hf23-9pf7-388p in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected com.thoughtworks.xstream:xstream, and gives you the command that fixes it.

More advisories for com.thoughtworks.xstream:xstream

  • HighCVE-2024-47072XStream is vulnerable to a Denial of Service attack due to stack overflow from a manipulated binary input stream · 7 Nov 2024
  • HighCVE-2022-40151XStream can cause a Denial of Service by injecting deeply nested objects raising a stack overflow · 30 Dec 2022
  • HighCVE-2022-41966XStream can cause Denial of Service via stack overflow · 29 Dec 2022
  • HighCVE-2021-43859Denial of Service by injecting highly recursive collections or maps in XStream · 1 Feb 2022
  • HighCVE-2021-39139XStream is vulnerable to an Arbitrary Code Execution attack · 25 Aug 2021
  • MediumCVE-2021-39140XStream can cause a Denial of Service · 25 Aug 2021
All 37 advisories for com.thoughtworks.xstream:xstream

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.