{"id":"GHSA-6wf9-jmg9-vxcc","summary":"XStream can cause a Denial of Service","details":"### Impact\nThe 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.\n\n### Patches\nXStream 1.4.18 uses no longer a blacklist by default, since it cannot be secured for general purpose.\n\n### Workarounds\nSee [workarounds](https://x-stream.github.io/security.html#workaround) for the different versions covering all CVEs.\n\n### References\nSee full information about the nature of the vulnerability and the steps to reproduce it in XStream's documentation for [CVE-2021-39140](https://x-stream.github.io/CVE-2021-39140.html).\n\n### Credits\nThe vulnerability was discovered and reported by Lai Han of nsfocus security team.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [XStream](https://github.com/x-stream/xstream/issues)\n* Contact us at [XStream Google Group](https://groups.google.com/group/xstream-user)\n","aliases":["CVE-2021-39140"],"modified":"2026-05-07T05:00:57.160973867Z","published":"2021-08-25T14:48:39Z","database_specific":{"cwe_ids":["CWE-502","CWE-835"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2021-08-23T18:22:01Z","nvd_published_at":"2021-08-23T19:15:00Z"},"references":[{"type":"WEB","url":"https://github.com/x-stream/xstream/security/advisories/GHSA-6wf9-jmg9-vxcc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39140"},{"type":"PACKAGE","url":"https://github.com/x-stream/xstream"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/09/msg00017.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20210923-0003"},{"type":"WEB","url":"https://www.debian.org/security/2021/dsa-5004"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujan2022.html"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujul2022.html"},{"type":"WEB","url":"https://x-stream.github.io/CVE-2021-39140.html"}],"affected":[{"package":{"name":"com.thoughtworks.xstream:xstream","ecosystem":"Maven","purl":"pkg:maven/com.thoughtworks.xstream/xstream"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.18"}]}],"versions":["0.1","0.2","0.3","0.5","0.6","1.0","1.0.1","1.0.2","1.1","1.1.1","1.1.2","1.1.3","1.2","1.2.1","1.2.2","1.3","1.3.1","1.4","1.4.1","1.4.10","1.4.10-java7","1.4.11","1.4.11-java7","1.4.11.1","1.4.12","1.4.12-java7","1.4.13","1.4.13-java7","1.4.14","1.4.14-java7","1.4.14-jdk7","1.4.15","1.4.16","1.4.17","1.4.2","1.4.3","1.4.4","1.4.5","1.4.6","1.4.7","1.4.8","1.4.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-6wf9-jmg9-vxcc/GHSA-6wf9-jmg9-vxcc.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}