VDB

CVE-2021-29505

CVE-2021-29505 PUBLISHED CVSS 7.5 HIGH

XStream is vulnerable to a Remote Command Execution attack

Reported by github_m · Published May 28, 2021

xstream is fixed in 1.4.17 (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
com.thoughtworks.xstream:xstreamMaven Central1.4.17
xstream-javadocAmazon Linux1.3.1-14.amzn2
xstreamAmazon Linux1.3.1-14.amzn2
xstreamxstream1.4.17

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
x-streamxstream< 1.4.17
Mavencom.thoughtworks.xstream:xstream0
amazon:2xstream-javadoc0
amazon:2xstream0
x-streamxstream0

Timeline

  • May 18, 2021 CVE Published
  • May 29, 2021 EPSS Score (30 in total, the first dated here)
  • Feb 8, 2024 PoC Published
  • Mar 17, 2026 Security Advisory (33 in total, the first dated here)
  • Mar 20, 2026 Distribution Patch (29 in total, the first dated here)
  • Aug 5, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-29505
vulnetix vdb fixes CVE-2021-29505

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-29505/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

…and 6 more

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›