CVE-2020-26259
XStream: arbitrary file deletion on the local host when unmarshalling
Overview
Description
XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.15, is vulnerable to an Arbitrary File Deletion on the local host when unmarshalling. The vulnerability may allow a remote attacker to delete arbitrary know files on the host as log as the executing process has sufficient rights 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 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.
Source: OX vulnerability database
Severity
6.8 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- None
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
Weakness: CWE-78
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Maven | com.thoughtworks.xstream:xstream | <1.4.15 | 1.4.15 |
Open a package to see all its vulnerabilities.
Operating systems · 13 fixes
Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | xstream +1 | eol |
debian 6 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | libxstream-java | 1.4.11.1-1+deb10u2 |
| 11 | libxstream-java | 1.4.15-1 |
| 12 | libxstream-java | 1.4.15-1 |
| 13 | libxstream-java | 1.4.15-1 |
| 14 | libxstream-java | 1.4.15-1 |
| 9 | libxstream-java | 1.4.11.1-1+deb9u1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| libxstream-java | 1.4.15-1 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | xstream +3 | 1.4.18-1.1 | openSUSE-SU-2024:10592-1 |
ubuntu 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | libxstream-java | 1.4.11.1-1~18.04.1 |
| 18.04-ESM | libxstream-java | 1.4.11.1-1~18.04.1 |
| 20.04 | libxstream-java | 1.4.11.1-1ubuntu0.1 |
| 20.04-ESM | libxstream-java | 1.4.11.1-1ubuntu0.1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2020-26259
- github.com https://github.com/x-stream/xstream
- github.com https://github.com/x-stream/xstream/security/advisories/GHSA-jfvx-7wrx-43fh
- lists.apache.org https://lists.apache.org/thread.html/r97993e3d78e1f5389b7b172ba9f308440830ce5f051ee62714a0aa34%40%3Ccommits.struts.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r97993e3d78e1f5389b7b172ba9f308440830ce5f051ee62714a0aa34@%3Ccommits.struts.apache.org%3E
- lists.debian.org https://lists.debian.org/debian-lts-announce/2020/12/msg00042.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP
Show all 21 references
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-26259
- security.netapp.com https://security.netapp.com/advisory/ntap-20210409-0005
- security.netapp.com https://security.netapp.com/advisory/ntap-20210409-0005/
- ubuntu.com https://ubuntu.com/security/notices/USN-4714-1
- ubuntu.com https://ubuntu.com/security/notices/USN-4943-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6978-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2020-26259
- www.debian.org https://www.debian.org/security/2021/dsa-4828
- x-stream.github.io https://x-stream.github.io/CVE-2020-26259.html
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.