8.5high
A Server-Side Forgery Request vulnerability in XStream via PriorityQueue unmarshaling
- Severity
- 8.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 3.44% (higher than 89% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-cxfm-5m4g-x7xp
Description
XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to request data from internal resources that are not publicly available only by manipulating the processed input stream with a Java runtime version 14 to 8. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. If you rely on XStream's default blacklist of the [Security Framework](https://x-stream.github.io/security.html#framework), you will have to use at least version 1.4.18.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| x-stream xstream | < 1.4.18 | CVE List |
| com.thoughtworks.xstream:xstream (Maven) | before 1.4.18 | GitHub Advisory Database |
| xstream xstream | before 1.4.18 | NVD |
| fedoraproject fedora | 33, 34, 35 | NVD |
| debian debian_linux | 9.0, 10.0, 11.0 | NVD |
| netapp snapmanager | Not specified | NVD |
| oracle business_activity_monitoring | 12.2.1.4.0 | NVD |
| oracle commerce_guided_search | 11.3.2 | NVD |
| oracle communications_billing_and_revenue_management_elastic_charging_engine | 11.3, 12.0 | NVD |
| oracle communications_cloud_native_core_automated_test_suite | 1.9.0 | NVD |
| oracle communications_cloud_native_core_binding_support_function | 1.10.0 | NVD |
| oracle communications_cloud_native_core_policy | 1.14.0 | NVD |
| oracle communications_unified_inventory_management | 7.3.4, 7.3.5, 7.4.0, 7.4.1, 7.4.2 | NVD |
| oracle retail_xstore_point_of_service | 16.0.6, 17.0.4, 18.0.3, 19.0.2, 20.0.1 | NVD |
| oracle utilities_framework | 4.2.0.2.0, 4.2.0.3.0, 4.3.0.1.0, 4.3.0.6.0, 4.4.0.0.0, 4.4.0.2.0, 4.4.0.3.0 | NVD |
| oracle utilities_testing_accelerator | 6.0.0.1.1 | NVD |
| oracle webcenter_portal | 12.2.1.3.0, 12.2.1.4.0 | NVD |
All scores
| GitHub_M | 8.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 8.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 8.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 6.0medium CVSS:2.0 | AV:N/AC:M/Au:S/C:P/I:P/A:P |
Classification
What each source says
CVE List
XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to request data from internal resources that are not publicly available only by manipulating the processed input stream with a Java runtime version 14 to 8. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. If you rely on XStream's default blacklist of the [Security Framework](https://x-stream.github.io/security.html#framework), you will have to use at least version 1.4.18.
GitHub Advisory Database
Impact
The vulnerability may allow a remote attacker to request data from internal resources that are not publicly available only by manipulating the processed input stream with a Java runtime version 14 to 8. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types.
Patches
If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.18.
Workarounds
See workarounds for the different versions covering all CVEs.
References
See full information about the nature of the vulnerability and the steps to reproduce it in XStream's documentation for CVE-2021-39150.
Credits
Lai Han of NSFOCUS security team found and reported the issue to XStream and provided the required information to reproduce it.
For more information
If you have any questions or comments about this advisory:
- Open an issue in XStream
- Contact us at XStream Google Group
NVD (es)
XStream es una sencilla biblioteca para serializar objetos a XML y viceversa. En las versiones afectadas, esta vulnerabilidad puede permitir a un atacante remoto requerir datos de recursos internos que no están disponibles públicamente sólo al manipular el flujo de entrada procesado con una versión 14 hasta 8 de Java runtime. No está afectado ningún usuario que haya seguido la recomendación de configurar el framework de seguridad de XStream con una lista blanca limitada a los tipos mínimos necesarios. Si confía en la lista negra por defecto de XStream de [Security Framework](https://x-stream.github.io/security.html#framework), tendrá que usar al menos la versión 1.4.18.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-39150 changed 2026-10-07 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-cxfm-5m4g-x7xp changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-39150 changed 2026-10-07 | Public domain |