{"id":"UBUNTU-CVE-2021-29505","details":"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.","modified":"2025-10-24T04:50:16Z","published":"2021-05-28T21:15:00Z","upstream":["CVE-2021-29505"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-29505"},{"type":"REPORT","url":"https://github.com/x-stream/xstream/security/advisories/GHSA-7chv-rrw6-w6fc"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-29505"}],"affected":[{"package":{"name":"libxstream-java","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/libxstream-java@1.4.7-1ubuntu0.1+esm2?arch=source&distro=esm-infra-legacy/trusty"},"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"],"ecosystem_specific":{"binaries":[{"binary_name":"libxstream-java","binary_version":"1.4.7-1ubuntu0.1+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-29505.json"}},{"package":{"name":"libxstream-java","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libxstream-java@1.4.8-1ubuntu0.1+esm3?arch=source&distro=esm-apps/xenial"},"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"],"ecosystem_specific":{"binaries":[{"binary_version":"1.4.8-1ubuntu0.1+esm3","binary_name":"libxstream-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-29505.json"}},{"package":{"name":"libxstream-java","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libxstream-java@1.4.11.1-1+deb10u4build0.18.04.1?arch=source&distro=bionic"},"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"],"ecosystem_specific":{"binaries":[{"binary_version":"1.4.11.1-1+deb10u4build0.18.04.1","binary_name":"libxstream-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-29505.json"}},{"package":{"name":"libxstream-java","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libxstream-java@1.4.11.1-1ubuntu0.3?arch=source&distro=focal"},"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"],"ecosystem_specific":{"binaries":[{"binary_name":"libxstream-java","binary_version":"1.4.11.1-1ubuntu0.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-29505.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}