CVE-2021-39141
XStream is vulnerable to an Arbitrary Code Execution attack
HIGH 8.5EPSS 16.1%
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.
- 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
- 16.12% chance of exploitation in the next 30 days, 97th percentile
- Nuclei
- high · CWE-434
- Published
- 2021-08-23
- Updated
- 2026-10-07
Proof-of-concept exploits (1)
- zwjjustdoit/Xstream-1.4.1762★ · 2021-08-25
Nuclei templates (1)
Security advisories
- https://x-stream.github.io/CVE-2021-39141.html
- x-stream/xstream/security/advisories/GHSA-g5w6-mrj7-75h2
- 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
- advisories/GHSA-g5w6-mrj7-75h2