SecurityContext

CVE-2021-21349: XStream - Security Bypass

  • Cve: CVE-2021-21349
  • Name: XStream - Security Bypass
  • Description: 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 request data from internal resources that are not publicly available only by manipulating the processed input stream. 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.
  • Impact: Remote attackers can access internal resources, potentially leading to information disclosure or further exploitation.
  • Remediation: Update to version 1.4.16 or later.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.6
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
  • Epss score: 0.46826
  • Epss percentile: 0.98847
  • Assignee: [email protected]
  • Published at: 2021-03-23T00:15:13Z
  • Age in days: 2072
  • Modified at: 2026-10-07T19:17:24Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 15
  • Products total: 17
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-21349
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-502Deserialization of Untrusted Data
CWE-918Server-Side Request Forgery

Public exploits

UrlSourceAdded date
https://x-stream.github.io/CVE-2021-21349.htmlnvd2021-03-23
https://github.com/s-index/CVE-2021-21349poc-in-github2021-05-09

References

Same in every row:

  • Source: nvd
UrlTags
https://www.oracle.com/security-alerts/cpujan2022.htmlPatch, Vendor Advisory
https://x-stream.github.io/CVE-2021-21349.htmlExploit, Third Party Advisory
https://x-stream.github.io/security.html#workaroundMitigation, Third Party Advisory
http://x-stream.github.io/changes.html#1.4.16Release Notes, Third Party Advisory
https://github.com/x-stream/xstream/security/advisories/GHSA-f6hm-88x3-mfjvThird Party Advisory
https://lists.apache.org/thread.html/r8244fd0831db894d5e89911ded9c72196d395a90ae655414d23ed0dd%40%3Cusers.activemq.apache.org%3EIssue Tracking, Mailing List, Third Party Advisory
https://lists.apache.org/thread.html/r9ac71b047767205aa22e3a08cb33f3e0586de6b2fac48b425c6e16b0%40%3Cdev.jmeter.apache.org%3EIssue Tracking, Mailing List, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/04/msg00002.htmlMailing List, Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/Mailing List, Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/Mailing List, Third Party Advisory

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
xstream:xstream< 1.4.16/v1/products/xstream/xstream
debian:debian_linux= 11.0, = 10.0, = 9.0/v1/products/debian/debian_linux
fedoraproject:fedora= 35, = 34, = 33/v1/products/fedoraproject/fedora
netapp:oncommand_insightall versions/v1/products/netapp/oncommand_insight
oracle:graalvm= 21.3.0, = 20.3.4/v1/products/oracle/graalvm
oracle:webcenter_portal= 12.2.1.4.0, = 12.2.1.3.0, = 11.1.1.9.0/v1/products/oracle/webcenter_portal
oracle:retail_xstore_point_of_service= 19.0.2, = 18.0.3, = 17.0.4, = 16.0.6/v1/products/oracle/retail_xstore_point_of_service
apache:activemq= 5.16.1, = 5.16.0, < 5.15.14/v1/products/apache/activemq
oracle:communications_unified_inventory_management= 7.4.1, = 7.4.0, = 7.3.5, = 7.3.4, = 7.3.2/v1/products/oracle/communications_unified_inventory_management
oracle:banking_platform= 2.12.0, = 2.9.0, = 2.7.1, = 2.4.0/v1/products/oracle/banking_platform

Projects

RepositoryLink kindsIndexedUrl
x-stream/xstreampackage, security_advisoryyes/v1/repositories/x-stream/xstream

Index

  • Repositories: 77
  • Repositories high signal: 38
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2021-03-23
  • Remote: yes
  • Exposed hosts: 4739835
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports