CVE-2021-3565
A flaw was found in tpm2-tools in versions before 5.1.1 and before 4.3.2. tpm2_import used a...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
5.9
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.
- Record
CVE-2021-3565- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:P/I:N/A:N - Weakness
- CWE-665, CWE-798
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2021-3565- Weakness
- CWE-665
- Updated
- 2026-11-02
EUVDEUVD-2021-26875 No score
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.
- Record
EUVD-2021-26875- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-jxhq-r9c5-f85p
5.9
A flaw was found in tpm2-tools in versions before 5.1.1 and before 4.3.2. tpm2_import used a...
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.
- Record
GHSA-jxhq-r9c5-f85p- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-200, CWE-798
- Updated
- 2026-11-02
OSVAZL-6923
5.9
CVE-2021-3565 affecting package tpm2-tools for versions less than 4.2-2
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.
- Record
AZL-6923- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSV
5.9
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.
- Record
CVE-2021-3565- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
Show 12 moreShow less
OSVDEBIAN-CVE-2021-3565
5.9
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.
- Record
DEBIAN-CVE-2021-3565- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVOESA-2021-1384
5.9
tpm2-tools security update
The package contains the code for the TPM (Trusted Platform Module) 2.0 tools based on tpm2-tss.
The tpm2-tools projects aims to deliver both low-level and aggregate command line tools that provide access to a tpm2.0 compatible device.
Security Fix(es):
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.(CVE-2021-3565)
- Record
OESA-2021-1384- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVRHSA-2021:4413
4.4
Red Hat Security Advisory: tpm2-tools security and enhancement update
- Record
RHSA-2021:4413- CVSS 3.1
- 4.4 Medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVRLSA-2021:4413
4.4
Moderate: tpm2-tools security and enhancement update
The tpm2-tools packages add a set of utilities for management and utilization of Trusted Platform Module (TPM) 2.0 devices from user space.
Security Fix(es):
- tpm2-tools: fixed AES wrapping key in tpm2_import (CVE-2021-3565)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the Rocky Linux 8.5 Release Notes linked from the References section.
- Record
RLSA-2021:4413- CVSS 3.1
- 4.4 Medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-3565
5.9
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.
- Record
UBUNTU-CVE-2021-3565- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVALSA-2021:4413 No score
Moderate: tpm2-tools security and enhancement update
The tpm2-tools packages add a set of utilities for management and utilization of Trusted Platform Module (TPM) 2.0 devices from user space.
Security Fix(es):
- tpm2-tools: fixed AES wrapping key in tpm2_import (CVE-2021-3565)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.
- Record
ALSA-2021:4413- Updated
- 2026-11-02
OSVMGASA-2021-0353 No score
Updated tpm2-tools package fixes security vulnerability
A flaw was found in tpm2-tools. 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 (CVE-2021-3565).
- Record
MGASA-2021-0353- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:0934-1 No score
Security update for tpm2.0-tools
This update for tpm2.0-tools fixes the following issues:
- CVE-2021-3565: Fixed issue when no encrypted session with the TPM is used (bsc#1186490).
This update was imported from the SUSE:SLE-15-SP2:Update update project.
- Record
openSUSE-SU-2021:0934-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:1998-1 No score
Security update for tpm2.0-tools
This update for tpm2.0-tools fixes the following issues:
- CVE-2021-3565: Fixed issue when no encrypted session with the TPM is used (bsc#1186490).
- Record
openSUSE-SU-2021:1998-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11471-1 No score
tpm2.0-tools-5.1.1-3.2 on GA media
These are all security issues fixed in the tpm2.0-tools-5.1.1-3.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11471-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:1998-1 No score
Security update for tpm2.0-tools
This update for tpm2.0-tools fixes the following issues:
- CVE-2021-3565: Fixed issue when no encrypted session with the TPM is used (bsc#1186490).
- Record
SUSE-SU-2021:1998-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:1999-1 No score
Security update for tpm2.0-tools
This update for tpm2.0-tools fixes the following issues:
- CVE-2021-3565: Fixed issue when no encrypted session with the TPM is used (bsc#1186490).
- Record
SUSE-SU-2021:1999-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
tpm2-toolsAlmaLinux:8 |
before 4.1.1-5.el8 | 4.1.1-5.el8 |
tpm2-toolsAzure Linux:2 |
before 4.2-2 | 4.2-2 |
tpm2-toolsDebian:12 |
before 5.0-2 | 5.0-2 |
tpm2-toolsDebian:13 |
before 5.0-2 | 5.0-2 |
tpm2-toolsDebian:14 |
before 5.0-2 | 5.0-2 |
tpm2-toolsMageia:8 |
before 5.0-1.1.mga8 | 5.0-1.1.mga8 |
tpm2-toolsopenEuler:20.03-LTS-SP1 |
before 5.0-3.oe1 | 5.0-3.oe1 |
tpm2-toolsopenEuler:20.03-LTS-SP2 |
before 5.0-3.oe1 | 5.0-3.oe1 |
tpm2-toolsRed Hat:enterprise_linux:8::baseos |
before 0:4.1.1-5.el8 | 0:4.1.1-5.el8 |
tpm2-tools-debuginfoRed Hat:enterprise_linux:8::baseos |
before 0:4.1.1-5.el8 | 0:4.1.1-5.el8 |
Show 14 moreShow less
| Package | Affected | Fixed |
|---|---|---|
tpm2-tools-debugsourceRed Hat:enterprise_linux:8::baseos |
before 0:4.1.1-5.el8 | 0:4.1.1-5.el8 |
tpm2-toolsRocky Linux:8 |
before 0:4.1.1-5.el8 | 0:4.1.1-5.el8 |
tpm2.0-toolsSUSE:Linux Enterprise Module for Basesystem 15 SP3 |
before 4.3.0-4.3.1 | 4.3.0-4.3.1 |
tpm2.0-toolsSUSE:Linux Enterprise Module for Basesystem 15 SP2 |
before 4.1-3.3.1 | 4.1-3.3.1 |
tpm2-toolsUbuntu:16.04:LTS |
All versions, plus listed versions 1.0.0+20160226.64b3334-0ubuntu11.0.0+20160226.64b3334-0ubuntu2 |
None known |
tpm2-toolsUbuntu:20.04:LTS |
All versions, plus listed versions 3.1.3-24.0.1-14.1-14.1.1-14.1.1-1ubuntu0.20.04.1 |
None known |
tpm2-toolsUbuntu:22.04:LTS |
All versions, plus listed versions 5.0-25.2-15.2-1build1 |
None known |
tpm2-toolsUbuntu:24.04:LTS |
All versions, plus listed versions 5.4-15.6-15.6-1build15.6-1build35.6-1build4 |
None known |
tpm2-toolsUbuntu:25.10 |
All versions, plus listed versions 5.7-1 |
None known |
tpm2-toolsUbuntu:26.10 |
All versions, plus listed versions 5.7-1build15.7-1ubuntu15.7-1ubuntu2 |
None known |
tpm2-toolsUbuntu:26.04:LTS |
All versions, plus listed versions 5.7-15.7-1build1 |
None known |
tpm2.0-toolsopenSUSE:Leap 15.2 |
before 4.1-lp152.2.3.1 | 4.1-lp152.2.3.1 |
tpm2.0-toolsopenSUSE:Leap 15.3 |
before 4.3.0-4.3.1 | 4.3.0-4.3.1 |
tpm2.0-toolsopenSUSE:Tumbleweed From an advisory covering 2 CVEs |
before 5.1.1-3.2 | 5.1.1-3.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases, products | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-3565 is a medium vulnerability (CVSS 5.9) in Tpm2-software Tpm2-tools, published June 4, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.33%, the 71st percentile. Fixed in tpm2-tools 4.1.1-5.el8.
References
bugzilla.redhat.com/show_bug.cgi?id=1964427
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ESY6HRYUKR5ZG2K5QAJQC5S6HMKZMFK7
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XK5M7I66PBXSN663TSLAZ3V6TWWFCV7C
nvd.nist.gov/vuln/detail/CVE-2021-3565
lists.fedoraproject.org/archives/list/[email protected]/message/ESY6HRYUKR5ZG2K5QAJQC5S6HMKZMFK7
lists.fedoraproject.org/archives/list/[email protected]/message/XK5M7I66PBXSN663TSLAZ3V6TWWFCV7C
Show 25 moreShow less
github.com/advisories/GHSA-jxhq-r9c5-f85p
errata.almalinux.org/8/ALSA-2021-4413.html
vulners.com/cve/CVE-2021-3565
security-tracker.debian.org/tracker/CVE-2021-3565
advisories.mageia.org/MGASA-2021-0353.html
bugs.mageia.org/show_bug.cgi?id=29194
lists.fedoraproject.org/archives/list/[email protected]/thread/XK5M7I66PBXSN663TSLAZ3V6TWWFCV7C
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1384
access.redhat.com/errata/RHSA-2021:4413
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.5_release_notes
security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_4413.json
access.redhat.com/security/cve/CVE-2021-3565
cve.org/CVERecord?id=CVE-2021-3565
errata.rockylinux.org/RLSA-2021:4413
suse.com/support/update/announcement/2021/suse-su-20211998-1
bugzilla.suse.com/1186490
suse.com/security/cve/CVE-2021-3565
suse.com/support/update/announcement/2021/suse-su-20211999-1
ubuntu.com/security/CVE-2021-3565
github.com/tpm2-software/tpm2-tools/issues/2738
github.com/tpm2-software/tpm2-tools/commit/c069e4f179d5e6653a84fb236816c375dca82515
lists.opensuse.org/archives/list/[email protected]/thread/UZASBJ3FN3JZGC355THWVD23XE5B5NBA
lists.opensuse.org/archives/list/[email protected]/thread/FABT25LIO7DOQ34GM7NCGQ5RVCTZMIJV
suse.com/security/cve/CVE-2017-7524