CVE-2021-39140
Description
XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to allocate 100% CPU time on the target system depending on CPU type or parallel execution of such a payload resulting in a denial of service 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. XStream 1.4.18 uses no longer a blacklist by default, since it cannot be secured for general purpose.
Description as published by the source, in English.
Key facts
- Published
- 2021-08-23
- Last modified
- 2026-10-07
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
5.9 %
higher than 93 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Debian | Debian Linux | 10.0 | Affected |
| Debian | Debian Linux | 11.0 | Affected |
| Debian | Debian Linux | 9.0 | Affected |
| Fedoraproject | Fedora | 33 | Affected |
| Fedoraproject | Fedora | 34 | Affected |
| Fedoraproject | Fedora | 35 | Affected |
| Netapp | Snapmanager | all versions listed | Affected |
| Oracle | Business Activity Monitoring | 12.2.1.4.0 | Affected |
| Oracle | Commerce Guided Search | 11.3.2 | Affected |
| Oracle | Communications Billing And Revenue Management Elastic Charging Engine | 11.3 | Affected |
| Oracle | Communications Billing And Revenue Management Elastic Charging Engine | 12.0 | Affected |
| Oracle | Communications Cloud Native Core Automated Test Suite | 1.9.0 | Affected |
| Oracle | Communications Cloud Native Core Binding Support Function | 1.10.0 | Affected |
| Oracle | Communications Cloud Native Core Policy | 1.14.0 | Affected |
| Oracle | Communications Unified Inventory Management | 7.3.4 | Affected |
| Oracle | Communications Unified Inventory Management | 7.3.5 | Affected |
| Oracle | Communications Unified Inventory Management | 7.4.0 | Affected |
| Oracle | Communications Unified Inventory Management | 7.4.1 | Affected |
| Oracle | Communications Unified Inventory Management | 7.4.2 | Affected |
| Oracle | Retail Xstore Point Of Service | 16.0.6 | Affected |
| Oracle | Retail Xstore Point Of Service | 17.0.4 | Affected |
| Oracle | Retail Xstore Point Of Service | 18.0.3 | Affected |
| Oracle | Retail Xstore Point Of Service | 19.0.2 | Affected |
| Oracle | Retail Xstore Point Of Service | 20.0.1 | Affected |
| Oracle | Utilities Framework | 4.2.0.2.0 | Affected |
| Oracle | Utilities Framework | 4.2.0.3.0 | Affected |
| Oracle | Utilities Framework | 4.3.0.1.0 | Affected |
| Oracle | Utilities Framework | 4.3.0.6.0 | Affected |
| Oracle | Utilities Framework | 4.4.0.0.0 | Affected |
| Oracle | Utilities Framework | 4.4.0.2.0 | Affected |
| Oracle | Utilities Framework | 4.4.0.3.0 | Affected |
| Oracle | Utilities Testing Accelerator | 6.0.0.1.1 | Affected |
| Oracle | Webcenter Portal | 12.2.1.3.0 | Affected |
| Oracle | Webcenter Portal | 12.2.1.4.0 | Affected |
| Xstream | Xstream | < 1.4.18 | Affected |
Weakness type
-
CWE-502: Deserialization of Untrusted Data
The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.
-
CWE-835: Loop with Unreachable Exit Condition
The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.
References
- https://github.com/x-stream/xstream/security/advisories/GHSA-6wf9-jmg9-vxcc
- https://lists.debian.org/debian-lts-announce/2021/09/msg00017.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://security.netapp.com/advisory/ntap-20210923-0003/
- https://www.debian.org/security/2021/dsa-5004
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://x-stream.github.io/CVE-2021-39140.html
- https://github.com/x-stream/xstream/security/advisories/GHSA-6wf9-jmg9-vxcc
- https://lists.debian.org/debian-lts-announce/2021/09/msg00017.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://security.netapp.com/advisory/ntap-20210923-0003/
- https://www.debian.org/security/2021/dsa-5004
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujan2022.html
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.