Actively exploited · Published Aug 23, 2021 · Assigned by GitHub_M
CVE-2021-39144XStream is vulnerable to a Remote Command Execution attack
High 8.5 Exploited
In plain English
A high-severity code injection in xstream from x-stream. Attackers are actively exploiting it in the wild (listed by CISA on March 10, 2023). The chance it is exploited in the next 30 days is estimated at 98.1% (higher than 99.9% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, Nuclei. Fixed versions are available - upgrade the affected package.
CISA guidance
Apply updates per vendor instructions.
Federal agencies must remediate by Mar 31, 2023.
Official description
XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker has sufficient rights to execute commands of the 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libxstream-java | 1.4.18-1 | DEBIAN-CVE-2021-39144 |
| Debian:13 | libxstream-java | 1.4.18-1 | DEBIAN-CVE-2021-39144 |
| Debian:14 | libxstream-java | 1.4.18-1 | DEBIAN-CVE-2021-39144 |
| Maven | com.thoughtworks.xstream:xstream | 1.4.18 | GHSA-j9h8-phrw-h4fh |
| Ubuntu:22.04:LTS | libxstream-java | 1.4.18-2ubuntu0.1 | USN-5946-1 |
Affected products (as reported)
Weakness: CWE-94, CWE-502 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/x-stream/xstream/security/advisories/GHSA-j9h8-phrw-h4fh
- https://x-stream.github.io/CVE-2021-39144.html
- [debian-lts-announce] 20210929 [SECURITY] [DLA 2769-1] libxstream-java security update mailing-list
- FEDORA-2021-fbad11014a vendor-advisory
- FEDORA-2021-d894ca87dc vendor-advisory
- FEDORA-2021-5e376c0ed9 vendor-advisory
- DSA-5004 vendor-advisory
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://security.netapp.com/advisory/ntap-20210923-0003/
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- http://packetstormsecurity.com/files/169859/VMware-NSX-Manager-XStream-Unauthenticated-Remote-Code-Execution.html
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-39144 government-resource