# CVE-2019-10173: Deserialization of Untrusted Data and Code Injection in xstream

> Remote attackers can execute arbitrary shell commands via deserialization if the security framework is not initialized in XStream.

- **Severity:** High 7.3 (`CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 23 Jul 2019
- **Updated:** 4 Aug 2024
- **Also known as:** DEBIAN-CVE-2019-10173, GHSA-hf23-9pf7-388p

## What is CVE-2019-10173?

CVE-2019-10173 is a high-severity unsafe deserialization vulnerability in Oracle Banking Platform, published on 23 Jul 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

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)

Weakness: CWE-502 (Deserialization of Untrusted Data), CWE-94 (Improper Control of Generation of Code)

## Which versions are affected by CVE-2019-10173?

2 open source packages ship an affected version, including com.thoughtworks.xstream:xstream. It affects 10 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `com.thoughtworks.xstream:xstream` | Maven | From 1.4.10 | 1.4.11 |
| `com.thoughtworks.xstream:xstream` | Maven | From 1.4.10 | 1.4.11 |

Products: Oracle Banking Platform, Oracle Business Activity Monitoring, Oracle Communications Billing and Revenue Management Elastic Charging Engine, Oracle Communications Diameter Signaling Router, Oracle Communications Unified Inventory Management, Oracle Endeca Information Discovery Studio, Oracle Retail Xstore Point of Service, Oracle Utilities Framework, Oracle Webcenter Portal, Xstream Xstream.

## How do I fix CVE-2019-10173?

Upgrade com.thoughtworks.xstream:xstream to 1.4.11 or later.

## Is CVE-2019-10173 being exploited?

There is no known exploitation of CVE-2019-10173 in the wild and no public exploit code.

## Other vulnerabilities in Oracle Banking Platform

- [CVE-2018-3246](https://insights.sbomify.com/CVE-2018-3246/): Information disclosure in WebLogic Server (high 7.5)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2019-10173 and fix it if it is affected.

What it is: CVE-2019-10173 is a high-severity unsafe deserialization vulnerability in Oracle Banking Platform, published on 23 Jul 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2019-10173 in the wild and no public exploit code.

Affected packages and fixed versions:
- com.thoughtworks.xstream:xstream (Maven): affected from 1.4.10; fixed in 1.4.11
- com.thoughtworks.xstream:xstream (Maven): affected from 1.4.10; fixed in 1.4.11

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2019-10173/ (Markdown: https://insights.sbomify.com/CVE-2019-10173/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2019-10173
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2019-10173
- OSV: https://osv.dev/vulnerability/CVE-2019-10173

---
From sbomify Insights: https://insights.sbomify.com/CVE-2019-10173/
Summaries are generated and may contain mistakes; the official description above is the record.
