Vulnerability · Published May 28, 2021 · Assigned by GitHub_M

CVE-2021-29505XStream is vulnerable to a Remote Command Execution attack

High 7.5

In plain English

A high-severity code injection in xstream from x-stream. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 77.2% (higher than 99.6% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)77.2%top 0.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling2Nuclei, Public PoC

Official description

XStream is software for serializing Java objects to XML and back again. A vulnerability in XStream versions prior to 1.4.17 may allow a remote attacker has sufficient rights to execute commands of the host only by manipulating the processed input stream. No user who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types is affected. The vulnerability is patched in version 1.4.17.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libxstream-java1.4.15-3DEBIAN-CVE-2021-29505
Debian:13libxstream-java1.4.15-3DEBIAN-CVE-2021-29505
Debian:14libxstream-java1.4.15-3DEBIAN-CVE-2021-29505
Mavencom.thoughtworks.xstream:xstream1.4.17GHSA-7chv-rrw6-w6fc

Affected products (as reported)

VendorProductVersions
x-stream xstream < 1.4.17

Weakness: CWE-94, CWE-502 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

References