Hard-coded credentials in tpm2-tools
Priority LOW 29CWE-665Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-798.
Summary
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.
Why it matters now
EPSS 0.01327 71st percentileScored 2026-11-07
Fix Fixed Red Hat: 1 advisory
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | tpm2-tools | tpm2-tools 5.1.1, tpm2-tools 4.3.2 | — | No fix listed | CNA |
- tpm2-tools Vendor— Affected tpm2-tools 5.1.1, tpm2-tools 4.3.2 Fixed in — No fix listed CNA
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:tpm2-tools_project:tpm2-tools:*:*:*:*:*:*:*:* | before 4.3.2; 5.1 to before 5.1.1 | Vulnerable | Tpm2-tools Project |
| cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Red Hat |
| cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* | 33 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* | 34 | Vulnerable | Fedoraproject |
- cpe:2.3:a:tpm2-tools_project:tpm2-tools:*:*:*:*:*:*:*:* Versions before 4.3.2; 5.1 to before 5.1.1 Vulnerable ·Tpm2-tools Project
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Red Hat
- cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* Versions 33 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject
Remediation
Red Hat 1 advisory
- RHSA-2021:4413 Released 2021-11-09 · Red Hat rating Moderatetpm2-tools security and enhancement update
- Red Hat Enterprise Linux BaseOS (v. 8) tpm2-tools-4.1.1-5.el8
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2021:4413 |
Not affected: 2 products
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2021-3565
- 2026-10-03 Alias added: GHSA-jxhq-r9c5-f85p
References
Sources
- CVE-2021-3565 · CVE Program
- CVE-2021-3565 · NVD
- FIRST EPSS
- GHSA-jxhq-r9c5-f85p · GitHub Advisory Database · CC BY 4.0
- CVE-2021-3565 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences