CVE-2021-39151: XStream - Insecure Deserialization
- Cve: CVE-2021-39151
- Name: XStream - Insecure Deserialization
- 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 load and execute arbitrary code from a remote host only by manipulating the processed input stream. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. XStream 1.4.18 uses no longer a blacklist by default, since it cannot be secured for general purpose.
- Impact: Remote attackers can execute arbitrary code on the server by manipulating the input stream during XML deserialization.
- Remediation: Configure XStream's security framework with a whitelist of minimal required types or update to a version with secure defaults.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.5
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
- Epss score: 0.04735
- Epss percentile: 0.92078
- Assignee: [email protected]
- Published at: 2021-08-23T18:15:12Z
- Age in days: 1919
- Modified at: 2026-10-07T21:17:04Z
- Patch available: yes
- Public exploits total: 1
- References total: 11
- Products total: 15
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-39151
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://x-stream.github.io/CVE-2021-39151.html | nvd | 2021-08-23 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://www.oracle.com/security-alerts/cpuapr2022.html | Patch, Third Party Advisory |
| https://www.oracle.com/security-alerts/cpujan2022.html | Patch, Third Party Advisory |
| https://x-stream.github.io/CVE-2021-39151.html | Exploit, Third Party Advisory |
| https://github.com/x-stream/xstream/security/advisories/GHSA-hph2-m3g5-xxv4 | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2021/09/msg00017.html | Mailing List, Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20210923-0003/ | Third Party Advisory |
| https://www.debian.org/security/2021/dsa-5004 | Third Party Advisory |
| https://www.oracle.com/security-alerts/cpujul2022.html | Third Party Advisory |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/ | Mailing List |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/ | Mailing List |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| xstream:xstream | < 1.4.18 | /v1/products/xstream/xstream |
| debian:debian_linux | = 11.0, = 10.0, = 9.0 | /v1/products/debian/debian_linux |
| fedoraproject:fedora | = 35, = 34, = 33 | /v1/products/fedoraproject/fedora |
| netapp:snapmanager | all versions | /v1/products/netapp/snapmanager |
| oracle:webcenter_portal | = 12.2.1.4.0, = 12.2.1.3.0 | /v1/products/oracle/webcenter_portal |
| oracle:commerce_guided_search | = 11.3.2 | /v1/products/oracle/commerce_guided_search |
| oracle:retail_xstore_point_of_service | = 20.0.1, = 19.0.2, = 18.0.3, = 17.0.2, = 16.0.6 | /v1/products/oracle/retail_xstore_point_of_service |
| oracle:communications_cloud_native_core_policy | = 1.14.0 | /v1/products/oracle/communications_cloud_native_core_policy |
| oracle:communications_unified_inventory_management | = 7.4.2, = 7.4.1, = 7.4.0, = 7.3.5, = 7.3.4 | /v1/products/oracle/communications_unified_inventory_management |
| oracle:communications_cloud_native_core_binding_support_function | = 1.10.0 | /v1/products/oracle/communications_cloud_native_core_binding_support_function |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| x-stream/xstream | package, security_advisory | yes | /v1/repositories/x-stream/xstream |
Index
- Repositories: 77
- Repositories high signal: 38
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-08-23
- Remote: yes
- Authentication required: yes
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports