{"id":"CVE-2021-39144","aliases":["CVE-2021-39144","GHSA-j9h8-phrw-h4fh"],"related":[],"kind":"vulnerability","state":"published","title":"XStream is vulnerable to a Remote Command Execution attack","summary":"XStream is a simple library to serialize objects to XML and back again. In affected versions this 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. XStream 1.4.18 uses no longer a blacklist by default, since it cannot be secured for general purpose.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"XStream is a simple library to serialize objects to XML and back again. In affected versions this 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. XStream 1.4.18 uses no longer a blacklist by default, since it cannot be secured for general purpose.","source":"cvelist"},{"lang":"en","text":"### 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\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-39144](https://x-stream.github.io/CVE-2021-39144.html).\n\n### Credits\n\nCeclin and YXXX from the 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)","format":"markdown","source":"ghsa"},{"lang":"es","text":"XStream es una biblioteca sencilla para serializar objetos a XML y viceversa. En las versiones afectadas esta vulnerabilidad puede permitir que un atacante remoto tenga los derechos suficientes para ejecutar comandos del host sólo al manipular el flujo de entrada procesado. No está afectado ningún usuario que haya seguido la recomendación de configurar el framework de seguridad de XStream con una lista blanca limitada a los tipos mínimos necesarios. XStream versión 1.4.18 ya no usa una lista negra por defecto, ya que no puede ser asegurada para fines generales.","source":"nvd"},{"lang":"en","text":"XStream contains a remote code execution vulnerability that allows an attacker to manipulate the processed input stream and replace or inject objects that result in the execution of a local command on the server. This vulnerability can affect multiple products, including but not limited to VMware Cloud Foundation.","source":"kev"}],"published":"2021-08-23T00:00:00.000Z","modified":"2026-07-08T06:27:23.933Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H/E:H","score":8.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:P/I:P/A:P","score":6,"rating":"MEDIUM"}],"cwes":["CWE-94","CWE-306","CWE-502"],"affected":[{"ranges":[{"version":"< 1.4.18","status":"affected"}],"vendor":"x-stream","product":"xstream","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.4.18"}],"ecosystem":"Maven","package":"com.thoughtworks.xstream:xstream","purl":"pkg:maven/com.thoughtworks.xstream/xstream","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.4.18"}],"vendor":"xstream","product":"xstream","cpe":"cpe:2.3:a:xstream:xstream:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"},{"status":"affected","version":"10.0"},{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"33"},{"status":"affected","version":"34"},{"status":"affected","version":"35"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"snapmanager","cpe":"cpe:2.3:a:netapp:snapmanager:-:*:*:*:*:oracle:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"12.2.1.4.0"}],"vendor":"oracle","product":"business_activity_monitoring","cpe":"cpe:2.3:a:oracle:business_activity_monitoring:12.2.1.4.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.3.2"}],"vendor":"oracle","product":"commerce_guided_search","cpe":"cpe:2.3:a:oracle:commerce_guided_search:11.3.2:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.3"},{"status":"affected","version":"12.0"}],"vendor":"oracle","product":"communications_billing_and_revenue_management_elastic_charging_engine","cpe":"cpe:2.3:a:oracle:communications_billing_and_revenue_management_elastic_charging_engine:11.3:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"1.9.0"}],"vendor":"oracle","product":"communications_cloud_native_core_automated_test_suite","cpe":"cpe:2.3:a:oracle:communications_cloud_native_core_automated_test_suite:1.9.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"1.10.0"}],"vendor":"oracle","product":"communications_cloud_native_core_binding_support_function","cpe":"cpe:2.3:a:oracle:communications_cloud_native_core_binding_support_function:1.10.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"1.14.0"}],"vendor":"oracle","product":"communications_cloud_native_core_policy","cpe":"cpe:2.3:a:oracle:communications_cloud_native_core_policy:1.14.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.3.4"},{"status":"affected","version":"7.3.5"},{"status":"affected","version":"7.4.0"},{"status":"affected","version":"7.4.1"},{"status":"affected","version":"7.4.2"}],"vendor":"oracle","product":"communications_unified_inventory_management","cpe":"cpe:2.3:a:oracle:communications_unified_inventory_management:7.3.4:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"16.0.6"},{"status":"affected","version":"17.0.4"},{"status":"affected","version":"18.0.3"},{"status":"affected","version":"19.0.2"},{"status":"affected","version":"20.0.1"}],"vendor":"oracle","product":"retail_xstore_point_of_service","cpe":"cpe:2.3:a:oracle:retail_xstore_point_of_service:16.0.6:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"4.2.0.2.0"},{"status":"affected","version":"4.2.0.3.0"},{"status":"affected","version":"4.3.0.1.0"},{"status":"affected","version":"4.3.0.6.0"},{"status":"affected","version":"4.4.0.0.0"},{"status":"affected","version":"4.4.0.2.0"},{"status":"affected","version":"4.4.0.3.0"}],"vendor":"oracle","product":"utilities_framework","cpe":"cpe:2.3:a:oracle:utilities_framework:4.2.0.2.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"6.0.0.1.1"}],"vendor":"oracle","product":"utilities_testing_accelerator","cpe":"cpe:2.3:a:oracle:utilities_testing_accelerator:6.0.0.1.1:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"12.2.1.3.0"},{"status":"affected","version":"12.2.1.4.0"}],"vendor":"oracle","product":"webcenter_portal","cpe":"cpe:2.3:a:oracle:webcenter_portal:12.2.1.3.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"XStream","product":"XStream","source":"kev"}],"references":[{"url":"https://github.com/x-stream/xstream/security/advisories/GHSA-j9h8-phrw-h4fh","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://x-stream.github.io/CVE-2021-39144.html","tags":["exploit","kev","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","kev"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/09/msg00017.html","tags":["mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/","tags":["broken-link","mailing-list","release-notes","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/","tags":["broken-link","mailing-list","release-notes","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/","tags":["broken-link","mailing-list","release-notes","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.debian.org/security/2021/dsa-5004","tags":["third-party-advisory","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20210923-0003/","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://packetstormsecurity.com/files/169859/VMware-NSX-Manager-XStream-Unauthenticated-Remote-Code-Execution.html","tags":["exploit","third-party-advisory","vdb-entry","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-39144","tags":["government-resource","us-government-resource","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39144","tags":["advisory","kev"],"sources":["ghsa","kev"]},{"url":"https://security.netapp.com/advisory/ntap-20210923-0003","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/x-stream/xstream","tags":["package"],"sources":["ghsa"]},{"url":"https://www.vmware.com/security/advisories/VMSA-2022-0027.html","tags":["kev"],"sources":["kev"]}],"credits":[],"assigner":"GitHub_M","kev":{"dateAdded":"2023-03-10","dueDate":"2023-03-31","name":"XStream Remote Code Execution Vulnerability","requiredAction":"Apply updates per vendor instructions.","ransomware":false,"notes":"https://www.vmware.com/security/advisories/VMSA-2022-0027.html, https://x-stream.github.io/CVE-2021-39144.html; https://nvd.nist.gov/vuln/detail/CVE-2021-39144"},"ssvc":{"scorer":"CISA-ADP","exploitation":"active","automatable":"no","technicalImpact":"total","date":"2025-02-06T19:37:39.138Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-39144","url":"https://www.cve.org/CVERecord?id=CVE-2021-39144","licence":"CVE Terms of Use","modified":"2025-10-21T23:25:37.489Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-j9h8-phrw-h4fh","url":"https://github.com/advisories/GHSA-j9h8-phrw-h4fh","licence":"CC-BY-4.0","modified":"2026-07-08T06:27:23.933Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-39144","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39144","licence":"Public domain","modified":"2026-06-17T04:03:09.313Z"},{"source":"kev","name":"CISA KEV","id":"CVE-2021-39144","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2021-39144","licence":"CC0-1.0","modified":"2023-03-10T00:00:00.000Z"}],"updatedAt":"2026-11-25T22:58:03.368Z","epss":{"score":0.98164,"percentile":0.99912,"date":"2026-12-01T12:00:22.000Z"}}