CVE-2021-21342: XStream - Server Side Request Forgery
- Cve: CVE-2021-21342
- Name: XStream - Server Side Request Forgery
- 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 where the processed stream at unmarshalling time contains type information to recreate the formerly written objects. XStream creates therefore new instances based on these type information. An attacker can manipulate the processed input stream and replace or inject objects, that result in a server-side forgery request. 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: Attackers can manipulate deserialized objects, potentially leading to server-side request forgery or other malicious actions.
- Remediation: Upgrade to version 1.4.16 or later and configure security whitelist properly.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Epss score: 0.4999
- Epss percentile: 0.98921
- Assignee: [email protected]
- Published at: 2021-03-23T00:15:12Z
- Age in days: 2072
- Modified at: 2026-10-07T19:17:20Z
- Patch available: yes
- Public exploits total: 1
- References total: 14
- Products total: 15
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-21342
- 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-21342.html | nvd | 2021-03-23 |
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: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 |
| oracle:communications_policy_management | = 12.5.0 | /v1/products/oracle/communications_policy_management |
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-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