CVE-2021-21349: XStream - Security Bypass
- Cve: CVE-2021-21349
- Name: XStream - Security Bypass
- Description: XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability which may allow a remote attacker to request data from internal resources that are not publicly available 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. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.16.
- Impact: Remote attackers can access internal resources, potentially leading to information disclosure or further exploitation.
- Remediation: Update to version 1.4.16 or later.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.6
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
- Epss score: 0.46826
- Epss percentile: 0.98847
- Assignee: [email protected]
- Published at: 2021-03-23T00:15:13Z
- Age in days: 2072
- Modified at: 2026-10-07T19:17:24Z
- Patch available: yes
- Public exploits total: 2
- References total: 15
- Products total: 17
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-21349
- 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-502 | Deserialization of Untrusted Data |
| CWE-918 | Server-Side Request Forgery |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://x-stream.github.io/CVE-2021-21349.html | nvd | 2021-03-23 |
| https://github.com/s-index/CVE-2021-21349 | poc-in-github | 2021-05-09 |
References
Same in every row:
- Source: nvd
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| xstream:xstream | < 1.4.16 | /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:oncommand_insight | all versions | /v1/products/netapp/oncommand_insight |
| oracle:graalvm | = 21.3.0, = 20.3.4 | /v1/products/oracle/graalvm |
| oracle:webcenter_portal | = 12.2.1.4.0, = 12.2.1.3.0, = 11.1.1.9.0 | /v1/products/oracle/webcenter_portal |
| oracle:retail_xstore_point_of_service | = 19.0.2, = 18.0.3, = 17.0.4, = 16.0.6 | /v1/products/oracle/retail_xstore_point_of_service |
| apache:activemq | = 5.16.1, = 5.16.0, < 5.15.14 | /v1/products/apache/activemq |
| oracle:communications_unified_inventory_management | = 7.4.1, = 7.4.0, = 7.3.5, = 7.3.4, = 7.3.2 | /v1/products/oracle/communications_unified_inventory_management |
| oracle:banking_platform | = 2.12.0, = 2.9.0, = 2.7.1, = 2.4.0 | /v1/products/oracle/banking_platform |
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: 2
- Public exploit first date: 2021-03-23
- Remote: yes
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports