llamaCVEVulnerability Intelligence
/
XStream

CVE-2021-39144

XStream remote command execution in Java XML deserialization

A remote attacker with sufficient rights can run commands on the host by manipulating input the library processes.

CISA KEV · explotación activaCrítica · en CISA KEV, EPSS ≥ 10 %Explotación activaParche disponible
Descargar PNG JSON
CVSS 3.1
8.5
Alta
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H Fuente: CNA
ExplotaciónActivaEn CISA KEV desde 10 mar 2023
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -1 d de la divulgación
Exposición1.914 dDesde la divulgación, 23 ago 2021
EPSS ≥ 10 %22 oct 2026Fecha en que la probabilidad de explotación superó el umbral
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
CISA KEV
Umbral EPSS
Remediación
Parche 1.4.18
Plazo KEV
Monitoreo
Detectada
Verificada
22 ago 21
23 ago 21
10 mar 23
31 mar 23
21 oct 25
22 oct 26
14 nov 26
19 nov 26
22 ago 21
13 dic 22
5 abr 24
28 jul 25
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 1.4.18 com.thoughtworks.xstream:xstream · -1 d desde divulgación
Divulgación Publicada CVE-2021-39144 divulgada · CVSS 8.5 (CNA)
Explotación CISA KEV Agregada al catálogo de vulnerabilidades explotadas
Remediación Plazo KEV Fecha límite de remediación para agencias federales (EE. UU.)
Divulgación Modificada Última actualización del registro
Explotación Umbral EPSS La probabilidad de explotación supera el 10 %
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 13 nov 2026

XStream, a Java library that converts objects to and from XML, lets a remote attacker run commands on the host with the rights of the process owner by manipulating the input stream it processes. The attacker needs only a low-privilege login and can reach it over the network with no user interaction, and attacks are happening because the bug is listed in CISA's Known Exploited Vulnerabilities catalog.

Affects XStream 1.4.17 and earlier used out of the box, without a security framework whitelist, when the application unmarshals attacker-controlled input. Fixed in 1.4.18.

¿Qué significa?XStream can be made to run commands on the host with the rights of the process owner. A remote attacker only needs to manipulate the input stream XStream processes, in any supported format such as XML or JSON.
¿Quién está afectado?All XStream versions up to and including 1.4.17 are affected when used out of the box, without the security framework whitelist set up, and when the application unmarshals attacker-controlled input. To check, look at the xstream version in the project's dependencies (com.thoughtworks.xstream:xstream) and whether a whitelist is configured.
¿Qué hacer?Upgrade XStream to 1.4.18 or later. As a workaround, set up XStream's security framework with a whitelist limited to the minimal required types.
Descripción original del registro

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.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
XStream version 1.4.17 or earlier used out of the box, without the security framework whitelist set up“All versions until and including version 1.4.17 are affected, if using the version out of the box.”
02
The application unmarshals attacker-controlled input with XStream (any supported format, e.g. XML or JSON)“the attack can be performed for any supported format. e.g. JSON.”
¿Quién debe revisar?Java teams using XStream 1.4.17 or older (Maven com.thoughtworks.xstream:xstream, Debian libxstream-java) to unmarshal untrusted input without a type whitelist.
MitigaciónSet up XStream's security framework with a whitelist limited to the minimal required types.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:H
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:C
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
xstream · com.thoughtworks.xstream:xstream< 1.4.18
1.4.18
1.4.21
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
mavencom.thoughtworks.xstream:xstream
Corregida 1.4.18 -1 d 1.4.21 no afectada
Versiones corregidas1.4.18
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/
Advisoryhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/
Advisoryhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/
Advisoryhttps://www.debian.org/security/2021/dsa-5004
Fabricantehttps://github.com/x-stream/xstream/security/advisories/GHSA-j9h8-phrw-h4fh
Exploithttp://packetstormsecurity.com/files/169859/VMware-NSX-Manager-XStream-Unauthenticated-Remote-Code-Execution.html
Otrahttps://x-stream.github.io/CVE-2021-39144.html
Otrahttps://lists.debian.org/debian-lts-announce/2021/09/msg00017.html
Otrahttps://www.oracle.com/security-alerts/cpujan2022.html
Otrahttps://security.netapp.com/advisory/ntap-20210923-0003/
Otrahttps://www.oracle.com/security-alerts/cpuapr2022.html
Otrahttps://www.oracle.com/security-alerts/cpujul2022.html

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.