CVE-2021-39152
A Server-Side Forgery Request vulnerability in XStream via HashMap unmarshaling
HIGH 8.5EPSS 11.4%
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
- x-stream · xstream
- CVSS v3.1 NVD
- 8.5 HIGH
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H - CVSS v2.0 NVD
- 6.0 MEDIUM
AV:N/AC:M/Au:S/C:P/I:P/A:P - EPSS
- 11.38% chance of exploitation in the next 30 days, 96th percentile
- Nuclei
- high · CWE-502
- Published
- 2021-08-23
- Updated
- 2026-10-07
Nuclei templates (1)
Security advisories
- x-stream/xstream/security/advisories/GHSA-xw4p-crpj-vjx2
- https://lists.debian.org/debian-lts-announce/2021/09/msg00017.html
- https://security.netapp.com/advisory/ntap-20210923-0003
- https://www.debian.org/security/2021/dsa-5004
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://x-stream.github.io/CVE-2021-39152.html
- advisories/GHSA-xw4p-crpj-vjx2