{"id":"UBUNTU-CVE-2021-3565","details":"A flaw was found in tpm2-tools in versions before 5.1.1 and before 4.3.2. tpm2_import used a fixed AES key for the inner wrapper, potentially allowing a MITM attacker to unwrap the inner portion and reveal the key being imported. The highest threat from this vulnerability is to data confidentiality.","modified":"2026-05-20T16:06:25.846749583Z","published":"2021-06-04T12:15:00Z","upstream":["CVE-2021-3565"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-3565"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1964427"},{"type":"REPORT","url":"https://github.com/tpm2-software/tpm2-tools/issues/2738"},{"type":"REPORT","url":"https://github.com/tpm2-software/tpm2-tools/commit/c069e4f179d5e6653a84fb236816c375dca82515"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-3565"}],"affected":[{"package":{"name":"tpm2-tools","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/tpm2-tools?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.0+20160226.64b3334-0ubuntu1","1.0.0+20160226.64b3334-0ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.0.0+20160226.64b3334-0ubuntu2","binary_name":"tpm2-tools"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3565.json"}},{"package":{"name":"tpm2-tools","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/tpm2-tools?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.3-2","4.0.1-1","4.1-1","4.1.1-1","4.1.1-1ubuntu0.20.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.1.1-1ubuntu0.20.04.1","binary_name":"tpm2-tools"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3565.json"}},{"package":{"name":"tpm2-tools","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/tpm2-tools?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0-2","5.2-1","5.2-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"5.2-1build1","binary_name":"tpm2-tools"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3565.json"}},{"package":{"name":"tpm2-tools","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/tpm2-tools?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.4-1","5.6-1","5.6-1build1","5.6-1build3","5.6-1build4"],"ecosystem_specific":{"binaries":[{"binary_name":"tpm2-tools","binary_version":"5.6-1build4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3565.json"}},{"package":{"name":"tpm2-tools","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/tpm2-tools?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.7-1"],"ecosystem_specific":{"binaries":[{"binary_name":"tpm2-tools","binary_version":"5.7-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3565.json"}},{"package":{"name":"tpm2-tools","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/tpm2-tools?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.7-1","5.7-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"5.7-1build1","binary_name":"tpm2-tools"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3565.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}