CVSS 3.1
5.5 mediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NMedium (5.5). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NExplain CVE-2021-3505 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3505?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3505?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3505 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| libtpms_project:libtpms | before 0.8.0 |
| redhat:enterprise_linux | 8.0 |
| fedoraproject:fedora | 33 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | libtpms | 0.8.0~dev1-1 | DEBIAN-CVE-2021-3505 |
From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.
Red Hat rates this Low.
Versions of `libtpms` prior to 0.8.0 generate weaker than expected TPM 2 RSA keys due to the flawed key creation algorithm. Red Hat Enterprise Linux 8 Advanced Virtualization is therefore affected by this flaw, as it ships an older version of the package (0.7.x).
There is no mitigation for this issue. Upgrading to a fixed release (0.8.0+) is necessary but not sufficient. The only way to fix it is to unseal all data, delete the old TPM state file, generate a new one with the fixed key generation algorithm, then reseal the data.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 Advanced Virtualization | virt:8.2/libtpms | Fix deferred | |
| Red Hat Enterprise Linux 8 Advanced Virtualization | virt:8.3/libtpms | Fix deferred | |
| Red Hat Enterprise Linux 8 Advanced Virtualization | virt:av/libtpms | Fix deferred | |
| Red Hat Enterprise Linux 9 | libtpms | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3505.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.