{"id":"CVE-2021-29505","aliases":["DEBIAN-CVE-2021-29505","DLA-2704-1","EUVD-2021-0996","GHSA-7chv-rrw6-w6fc","MGASA-2021-0370","OESA-2021-1208","RHSA-2021:2683","SUSE-SU-2021:1995-1","UBUNTU-CVE-2021-29505","openSUSE-SU-2021:0911-1","openSUSE-SU-2021:1995-1","openSUSE-SU-2024:10592-1"],"status":"published","title":"XStream is vulnerable to a Remote Command Execution attack","description":"XStream is software for serializing Java objects to XML and back again. A vulnerability in XStream versions prior to 1.4.17 may allow a remote attacker has sufficient rights to execute commands of the host only by manipulating the processed input stream. No user who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types is affected. The vulnerability is patched in version 1.4.17.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.77232,"percentile":0.9956,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-502","CWE-74","CWE-94"],"published":"2021-05-18T18:36:27Z","modified":"2026-10-23T18:05:22Z","exploits":[{"source":"pocgithub","id":"MyBlackManba/CVE-2021-29505","title":"MyBlackManba/CVE-2021-29505","date":"2021-06-08","url":"https://github.com/MyBlackManba/CVE-2021-29505"},{"source":"pocgithub","id":"cuijiung/xstream-CVE-2021-29505","title":"cuijiung/xstream-CVE-2021-29505","date":"2025-07-11","url":"https://github.com/cuijiung/xstream-CVE-2021-29505"},{"source":"nuclei","id":"CVE-2021-29505","title":"XStream \u003c1.4.17 - Remote Code Execution","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-29505.yaml"}],"fixes":[{"ecosystem":"Maven","package":"com.thoughtworks.xstream:xstream","fixed_in":["1.4.17"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"libxstream-java","fixed_in":["1.4.15-3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libxstream-java","fixed_in":["1.4.15-3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libxstream-java","fixed_in":["1.4.15-3"],"sources":["osv"]},{"ecosystem":"Debian:9","package":"libxstream-java","fixed_in":["1.4.11.1-1+deb9u3"],"sources":["osv"]},{"ecosystem":"openEuler:20.03-LTS-SP1","package":"xstream","fixed_in":["1.4.17-1.oe1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::client","package":"xstream","fixed_in":["0:1.3.1-14.el7_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::client","package":"xstream-javadoc","fixed_in":["0:1.3.1-14.el7_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"xstream","fixed_in":["0:1.3.1-14.el7_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"xstream-javadoc","fixed_in":["0:1.3.1-14.el7_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::server","package":"xstream","fixed_in":["0:1.3.1-14.el7_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::server","package":"xstream-javadoc","fixed_in":["0:1.3.1-14.el7_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"xstream","fixed_in":["0:1.3.1-14.el7_9"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"xstream-javadoc","fixed_in":["0:1.3.1-14.el7_9"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP2","package":"xstream","fixed_in":["1.4.17-3.11.2"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP3","package":"xstream","fixed_in":["1.4.17-3.11.2"],"sources":["osv"]},{"ecosystem":"SUSE:Manager Server Module 4.1","package":"xstream","fixed_in":["1.4.17-3.11.2"],"sources":["osv"]},{"ecosystem":"SUSE:Manager Server Module 4.2","package":"xstream","fixed_in":["1.4.17-3.11.2"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.2","package":"xstream","fixed_in":["1.4.17-lp152.2.9.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.3","package":"xstream","fixed_in":["1.4.17-3.11.2"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"com.thoughtworks.xstream:xstream","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.17"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"libxstream-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.15-3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libxstream-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.15-3"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libxstream-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.15-3"}]}]},{"source":"osv","ecosystem":"Debian:9","package":"libxstream-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.11.1-1+deb9u3"}]}],"versions":["1.4.10-1","1.4.11-1","1.4.11.1-1","1.4.11.1-1+deb9u1","1.4.11.1-1+deb9u2","1.4.9-2","1.4.9-2+deb9u1"]},{"source":"osv","ecosystem":"Maven","package":"com.thoughtworks.xstream:xstream","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.17"}]}],"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.2","1.4.3","1.4.4","1.4.5","1.4.6","1.4.7","1.4.8","1.4.9"]},{"source":"osv","ecosystem":"Mageia:8","package":"xstream","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.15-1.1.mga8"}]}],"bundled":12},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP1","package":"xstream","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.17-1.oe1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"xstream","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.1-14.el7_9"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"xstream-javadoc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.1-14.el7_9"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"xstream","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.1-14.el7_9"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"xstream-javadoc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.1-14.el7_9"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"xstream","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.1-14.el7_9"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"xstream-javadoc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.1-14.el7_9"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"xstream","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.1-14.el7_9"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"xstream-javadoc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.1-14.el7_9"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP2","package":"xstream","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.17-3.11.2"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP3","package":"xstream","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.17-3.11.2"}]}]},{"source":"osv","ecosystem":"SUSE:Manager Server Module 4.1","package":"xstream","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.17-3.11.2"}]}]},{"source":"osv","ecosystem":"SUSE:Manager Server Module 4.2","package":"xstream","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.17-3.11.2"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"libxstream-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.4-1","1.4.7-1","1.4.7-1ubuntu0.1","1.4.7-1ubuntu0.1+esm1","1.4.7-1ubuntu0.1+esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libxstream-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.8-1","1.4.8-1ubuntu0.1","1.4.8-1ubuntu0.1+esm1","1.4.8-1ubuntu0.1+esm2","1.4.8-1ubuntu0.1+esm3"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libxstream-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.10-1","1.4.11.1-1~18.04","1.4.11.1-1~18.04.1","1.4.11.1-1~18.04.2","1.4.11.1-1+deb10u4build0.18.04.1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"libxstream-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.11.1-1","1.4.11.1-1ubuntu0.1","1.4.11.1-1ubuntu0.2","1.4.11.1-1ubuntu0.3"]},{"source":"osv","ecosystem":"openSUSE:Leap 15.2","package":"xstream","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.17-lp152.2.9.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.3","package":"xstream","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.17-3.11.2"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"xstream","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.18-1.1"}]}],"bundled":22}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"fedoraproject","product":"fedora"},{"vendor":"netapp","product":"snapmanager"},{"vendor":"oracle","product":"banking_cash_management"},{"vendor":"oracle","product":"banking_corporate_lending_process_management"},{"vendor":"oracle","product":"banking_credit_facilities_process_management"},{"vendor":"oracle","product":"banking_supply_chain_finance"},{"vendor":"oracle","product":"banking_trade_finance_process_management"},{"vendor":"oracle","product":"business_activity_monitoring"},{"vendor":"oracle","product":"communications_brm_-_elastic_charging_engine"},{"vendor":"oracle","product":"communications_unified_inventory_management"},{"vendor":"oracle","product":"enterprise_manager_ops_center"},{"vendor":"oracle","product":"retail_customer_insights"},{"vendor":"oracle","product":"retail_xstore_point_of_service"},{"vendor":"oracle","product":"webcenter_portal"},{"vendor":"oracle","product":"webcenter_sites"},{"vendor":"x-stream","product":"xstream"},{"vendor":"xstream","product":"xstream"}],"references":[{"url":"https://github.com/x-stream/xstream/security/advisories/GHSA-7chv-rrw6-w6fc","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web","article","report"]},{"url":"https://github.com/x-stream/xstream/commit/24fac82191292c6ae25f94508d28b9823f83624f","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/x-stream/xstream/commit/f0c4a8d861b68ffc3119cfbbbd632deee624e227","tags":["x_refsource_MISC","fix","web"]},{"url":"https://lists.apache.org/thread.html/r8ee51debf7fd184b6a6b020dc31df25118b0aa612885f12fbe77f04f@%3Cdev.jmeter.apache.org%3E","tags":["x_refsource_MISC","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/07/msg00004.html","tags":["x_refsource_MISC","mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP","tags":["x_refsource_MISC","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7","tags":["x_refsource_MISC","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB","tags":["x_refsource_MISC","web"]},{"url":"https://security.netapp.com/advisory/ntap-20210708-0007","tags":["x_refsource_MISC","advisory","web"]},{"url":"https://www.debian.org/security/2021/dsa-5004","tags":["x_refsource_MISC","vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://x-stream.github.io/CVE-2021-29505.html","tags":["x_refsource_MISC","web","article"]},{"url":"https://lists.apache.org/thread.html/r8ee51debf7fd184b6a6b020dc31df25118b0aa612885f12fbe77f04f%40%3Cdev.jmeter.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","Issue Tracking","Mailing List","report","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","Mailing List","article"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","Mailing List","article"]},{"url":"https://security.netapp.com/advisory/ntap-20210708-0007/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","Mailing List","article"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29505","tags":["advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP","tags":["web"]},{"url":"https://github.com/advisories/GHSA-7chv-rrw6-w6fc"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-29505","tags":["advisory"]},{"url":"https://github.com/x-stream/xstream","tags":["package"]},{"url":"https://advisories.mageia.org/MGASA-2021-0370.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=28844","tags":["report"]},{"url":"https://access.redhat.com/errata/RHSA-2021:1354","tags":["web"]},{"url":"https://www.debian.org/lts/security/2021/dla-2616","tags":["web"]},{"url":"https://ubuntu.com/security/notices/USN-4943-1","tags":["advisory"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/H2CFEJOW6N5BGEB6UU3SEQ3UF5C2UWJL/","tags":["web","advisory"]},{"url":"https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1208","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2021:2683","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1966735","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_2683.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-29505","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-29505","tags":["advisory","report"]},{"url":"https://www.suse.com/support/update/announcement/2021/suse-su-20211995-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1186651","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2021-29505","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2021-29505","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/WKAZW7SPSOY6JEPAX2RCIZEGPKTEBUNC/","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2016-3674","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-7957","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-26217","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-26258","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-26259","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-21341","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-21342","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-21343","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-21344","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-21345","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-21346","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-21347","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-21348","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-21349","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-21350","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-21351","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-39139","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-39144","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-39147","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-39150","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-39153","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2021-29505","title":"XStream is vulnerable to a Remote Command Execution attack","description":"XStream is software for serializing Java objects to XML and back again. A vulnerability in XStream versions prior to 1.4.17 may allow a remote attacker has sufficient rights to execute commands of the host only by manipulating the processed input stream. No user who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types is affected. The vulnerability is patched in version 1.4.17.","status":"published","published":"2021-05-28T21:00:19Z","modified":"2026-10-07T20:02:25.118Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-94","CWE-502"],"updated_at":"2026-11-02T14:33:06.658806Z"}],"euvd":[{"id":"EUVD-2021-0996","description":"XStream is software for serializing Java objects to XML and back again. A vulnerability in XStream versions prior to 1.4.17 may allow a remote attacker has sufficient rights to execute commands of the host only by manipulating the processed input stream. No user who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types is affected. The vulnerability is patched in version 1.4.17.","status":"published","published":"2021-05-28T21:00:19Z","modified":"2026-10-07T20:02:25Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T17:27:33.904651Z"}],"ghsa":[{"id":"GHSA-7chv-rrw6-w6fc","title":"XStream is vulnerable to a Remote Command Execution attack","description":"### Impact\nThe vulnerability may allow a remote attacker has sufficient rights to execute commands of the host 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\nIf you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.17.\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-29505](https://x-stream.github.io/CVE-2021-29505.html).\n\n### Credits\n\nV3geB1rd, white hat hacker from Tencent Security Response Center found and reported the issue to XStream and provided the required information to reproduce it.\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* Email us at [XStream Google Group](https://groups.google.com/group/xstream-user)","status":"published","published":"2021-05-18T18:36:27Z","modified":"2025-05-30T00:32:19Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-74","CWE-94","CWE-502"],"updated_at":"2026-11-02T14:38:45.948817Z"}],"nvd":[{"id":"CVE-2021-29505","description":"XStream is software for serializing Java objects to XML and back again. A vulnerability in XStream versions prior to 1.4.17 may allow a remote attacker has sufficient rights to execute commands of the host only by manipulating the processed input stream. No user who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types is affected. The vulnerability is patched in version 1.4.17.","status":"published","published":"2021-05-28T21:15:08.713Z","modified":"2026-10-07T21:17:03.06Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-94","CWE-502"],"updated_at":"2026-11-02T14:06:53.987491Z"}],"osv":[{"id":"CVE-2021-29505","description":"XStream is software for serializing Java objects to XML and back again. A vulnerability in XStream versions prior to 1.4.17 may allow a remote attacker has sufficient rights to execute commands of the host only by manipulating the processed input stream. No user who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types is affected. The vulnerability is patched in version 1.4.17.","status":"published","published":"2021-05-28T21:15:08.713Z","modified":"2026-10-20T14:03:43.790194444Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:19.129331Z"},{"id":"DEBIAN-CVE-2021-29505","description":"XStream is software for serializing Java objects to XML and back again. A vulnerability in XStream versions prior to 1.4.17 may allow a remote attacker has sufficient rights to execute commands of the host only by manipulating the processed input stream. No user who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types is affected. The vulnerability is patched in version 1.4.17.","status":"published","published":"2021-05-28T21:15:08.713Z","modified":"2026-10-23T18:05:22.492761365Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:34.94143Z"},{"id":"GHSA-7chv-rrw6-w6fc","title":"XStream is vulnerable to a Remote Command Execution attack","description":"### Impact\nThe vulnerability may allow a remote attacker has sufficient rights to execute commands of the host 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\nIf you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.17.\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-29505](https://x-stream.github.io/CVE-2021-29505.html).\n\n### Credits\n\nV3geB1rd, white hat hacker from Tencent Security Response Center found and reported the issue to XStream and provided the required information to reproduce it.\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* Email us at [XStream Google Group](https://groups.google.com/group/xstream-user)","status":"published","published":"2021-05-18T18:36:27Z","modified":"2026-07-08T06:28:29.984942344Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-502","CWE-74","CWE-94"],"updated_at":"2026-11-02T15:46:41.002603Z"},{"id":"OESA-2021-1208","title":"xstream security update","description":"XStream is a simple library to serialize objects to XML and back again. A high level facade is supplied that simplifies common use cases. Custom objects can be serialized without need for specifying mappings. Speed and low memory footprint are a crucial part of the design, making it suitable for large object graphs or systems with high message throughput. No information is duplicated that can be obtained via reflection. This results in XML that is easier to read for humans and more compact than native Java serialization. XStream serializes internal fields, including private and final. Supports non-public and inner classes. Classes are not required to have default constructor. Duplicate references encountered in the object-model will be maintained. Supports circular references. By implementing an interface, XStream can serialize directly to/from any tree structure (not just XML). Strategies can be registered allowing customization of how particular types are represented as XML. When an exception occurs due to malformed XML, detailed diagnostics are provided to help isolate and fix the problem.\r\n\r\nSecurity Fix(es):\r\n\r\nThe processed stream at unmarshalling time contains type information to recreate the formerly written objects. XStream creates therefore new instances based on these type information. An attacker can manipulate the processed input stream and replace or inject objects, that result in execution of a local command on the server.(CVE-2021-29505)","status":"published","published":"2021-06-07T11:04:27Z","modified":"2026-08-18T01:15:40.075484617Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:52:38.987987Z"},{"id":"RHSA-2021:2683","title":"Red Hat Security Advisory: xstream security update","status":"published","published":"2024-09-16T06:04:04Z","modified":"2026-10-08T10:02:28Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:08.619234Z"},{"id":"UBUNTU-CVE-2021-29505","description":"XStream is software for serializing Java objects to XML and back again. A vulnerability in XStream versions prior to 1.4.17 may allow a remote attacker has sufficient rights to execute commands of the host only by manipulating the processed input stream. No user who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types is affected. The vulnerability is patched in version 1.4.17.","status":"published","published":"2021-05-28T21:15:00Z","modified":"2025-10-24T04:50:16Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:26.779273Z"},{"id":"DLA-2704-1","title":"libxstream-java - security update","status":"published","published":"2021-07-05T00:00:00Z","modified":"2026-03-09T01:17:53.997292Z","updated_at":"2026-11-02T15:46:10.712745Z"},{"id":"MGASA-2021-0370","title":"Updated xstream packages fix security vulnerabilities","description":"In XStream before version 1.4.16, there is a vulnerability which may allow a\nremote attacker to allocate 100% CPU time on the target system depending on\nCPU type or parallel execution of such a payload resulting in a denial of\nservice only by manipulating the processed input stream (CVE-2021-21341).\n\nIn XStream before version 1.4.16, there is a vulnerability where the processed\nstream at unmarshalling time contains type information to recreate the\nformerly written objects. XStream creates therefore new instances based on\nthese type information. An attacker can manipulate the processed input stream\nand replace or inject objects, that result in a server-side forgery request\n(CVE-2021-21342).\n\nIn XStream before version 1.4.16, there is a vulnerability where the processed\nstream at unmarshalling time contains type information to recreate the formerly\nwritten objects. XStream creates therefore new instances based on these type\ninformation. An attacker can manipulate the processed input stream and replace\nor inject objects, that result in the deletion of a file on the local host\n(CVE-2021-21343).\n\nIn XStream before version 1.4.16, there is a vulnerability which may allow a\nremote attacker to load and execute arbitrary code from a remote host only by\nmanipulating the processed input stream (CVE-2021-21344).\n\nIn XStream before version 1.4.16, there is a vulnerability which may allow a\nremote attacker who has sufficient rights to execute commands of the host only\nby manipulating the processed input stream (CVE-2021-21345).\n\nIn XStream before version 1.4.16, there is a vulnerability which may allow a\nremote attacker to load and execute arbitrary code from a remote host only by\nmanipulating the processed input stream (CVE-2021-21346).\n\nIn XStream before version 1.4.16, there is a vulnerability which may allow a\nremote attacker to load and execute arbitrary code from a remote host only by\nmanipulating the processed input stream (CVE-2021-21347).\n\nIn XStream before version 1.4.16, there is a vulnerability which may allow a\nremote attacker to occupy a thread that consumes maximum CPU time and will\nnever return (CVE-2021-21348).\n\nIn XStream before version 1.4.16, there is a vulnerability which may allow a\nremote attacker to request data from internal resources that are not publicly\navailable only by manipulating the processed input stream (CVE-2021-21349).\n\nIn XStream before version 1.4.16, there is a vulnerability which may allow a\nremote attacker to execute arbitrary code only by manipulating the processed\ninput stream (CVE-2021-21350).\n\nIn XStream before version 1.4.16, there is a vulnerability which may allow a\nremote attacker to load and execute arbitrary code from a remote host only by\nmanipulating the processed input stream (CVE-2021-21351).\n\nA vulnerability in XStream versions prior to 1.4.17 may allow a remote attacker\nhas sufficient rights to execute commands of the host only by manipulating\nthe processed input stream (CVE-2021-29505).\n\nTheses vulnerabilities are mitigated if user followed the recommendation to\nsetup XStream's security framework with a whitelist limited to the minimal\nrequired types.\n","status":"published","published":"2021-07-25T14:45:06Z","modified":"2026-04-16T04:42:53.683701913Z","updated_at":"2026-11-02T15:49:41.509337Z"},{"id":"openSUSE-SU-2021:0911-1","title":"Security update for xstream","description":"This update for xstream fixes the following issues:\n\nUpgrade to 1.4.17\n\n- CVE-2021-29505: Fixed potential code execution when unmarshalling with XStream instances\n  using an uninitialized security framework (bsc#1186651)\n\nThis update was imported from the SUSE:SLE-15-SP2:Update update project.","status":"published","published":"2021-06-24T09:55:26Z","modified":"2026-02-04T03:33:30.527461Z","updated_at":"2026-11-02T16:58:31.879684Z"},{"id":"openSUSE-SU-2021:1995-1","title":"Security update for xstream","description":"This update for xstream fixes the following issues:\n\nUpgrade to 1.4.17\n\n- CVE-2021-29505: Fixed potential code execution when unmarshalling with XStream instances\n  using an uninitialized security framework (bsc#1186651)\n","status":"published","published":"2021-07-11T08:27:00Z","modified":"2026-02-04T03:38:52.986365Z","updated_at":"2026-11-02T16:58:32.266854Z"},{"id":"openSUSE-SU-2024:10592-1","title":"xstream-1.4.18-1.1 on GA media","description":"These are all security issues fixed in the xstream-1.4.18-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:40:43.193438Z","updated_at":"2026-11-02T16:58:34.487567Z"},{"id":"SUSE-SU-2021:1995-1","title":"Security update for xstream","description":"This update for xstream fixes the following issues:\n\nUpgrade to 1.4.17\n\n- CVE-2021-29505: Fixed potential code execution when unmarshalling with XStream instances\n  using an uninitialized security framework (bsc#1186651)\n","status":"published","published":"2021-06-17T13:12:06Z","modified":"2026-02-04T02:25:35.580699Z","updated_at":"2026-11-02T15:53:49.138643Z"}]}}
