VDB

CVE-2021-21348

CVE-2021-21348 PUBLISHED CVSS 5.3 MEDIUM

Reported by github_m · Published March 22, 2021

xstream is fixed in 1.4.16 (Maven Central)

XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability which may allow a remote attacker to occupy a thread that consumes maximum CPU time and will never return. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.16.

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.16
activemqBitnami5.16.1, 5.16.0, 5.15.14
jmeterapache5.5
libxstream-javaUbuntu:Pro:14.04:LTS1.4.7-1ubuntu0.1+esm2
activemqapache5.15.14

Risk scores

CVSS 3.1
5.3
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
x-streamxstream< 1.4.16
x-streamxstream0

Timeline

  • Mar 22, 2021 CVE Published
  • Mar 23, 2021 PoC Published (21 in total, the first dated here)
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 7, 2026 Distribution Patch (13 in total, the first dated here)
  • Mar 7, 2026 Security Advisory (17 in total, the first dated here)
  • Jun 17, 2026 CVE Updated
  • Aug 26, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-21348
vulnetix vdb fixes CVE-2021-21348

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-21348/fixes/registry"

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

References

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