VDB

CVE-2020-26258

CVE-2020-26258 PUBLISHED CVSS 6.3 MEDIUM

Server-Side Forgery Request can be activated unmarshalling with XStream

Reported by github_m · Published December 16, 2020

xstream is fixed in 1.4.15 (Maven Central)

XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.15, a Server-Side Forgery Request vulnerability can be activated when unmarshalling. The vulnerability may allow a remote attacker to request data from internal resources that are not publicly available only by manipulating the processed input stream. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.15. The reported vulnerability does not exist if running Java 15 or higher. No user is affected who followed the recommendation to setup XStream's Security Framework with a whitelist! Anyone relying on XStream's default blacklist can immediately switch to a whilelist for the allowed types to avoid the vulnerability. Users of XStream 1.4.14 or below who still want to use XStream default blacklist can use a workaround described in more detailed in the referenced advisories.

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.15
libxstream-javaUbuntu:Pro:14.04:LTS1.4.7-1ubuntu0.1+esm2
libxstream-javaUbuntu:20.04:LTS1.4.11.1-1ubuntu0.1
strutsapache6.0.0
xstreamxstream1.4.15
libxstream-javaUbuntu:18.04:LTS1.4.11.1-1~18.04.1
libxstream-javaUbuntu:Pro:16.04:LTS1.4.8-1ubuntu0.1+esm3

Risk scores

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

Affected products

VendorProductVersions
x-streamxstream< 1.4.15
Mavencom.thoughtworks.xstream:xstream0
x-streamxstream0

Timeline

  • Dec 16, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Feb 8, 2024 PoC Published
  • Mar 6, 2026 Distribution Patch (6 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (8 in total, the first dated here)
  • Sep 1, 2026 Coalition ESS Score
  • Oct 7, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-26258
vulnetix vdb fixes CVE-2020-26258

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

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

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