CVE-2021-3505 A flaw was found in libtpms in versions before 0.8.0. The TPM 2 implementation returns 2048 bit keys with ~1984 bit strength due to a bug in the TCG specification. The bug is in the key creation algor...
MediumCVSS 5.5
EPSS 0.40%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- DebianRed Hat
Description
A flaw was found in libtpms in versions before 0.8.0. The TPM 2 implementation returns 2048 bit keys with ~1984 bit strength due to a bug in the TCG specification. The bug is in the key creation algorithm in RsaAdjustPrimeCandidate(), which is called before the prime number check. The highest threat from this vulnerability is to data confidentiality.
Upgrade path
6 packages: 4 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/libtpms(Debian 12) | < 0.8.0~dev1-1 | 0.8.0~dev1-1 | Fixed |
| debian/libtpms(Debian 13) | < 0.8.0~dev1-1 | 0.8.0~dev1-1 | Fixed |
| debian/libtpms(Debian 14) | < 0.8.0~dev1-1 | 0.8.0~dev1-1 | Fixed |
| libtpms project libtpms | < 0.8.0 | 0.8.0 | Fixed |
| fedoraproject fedora | = 33 | No fix listed | Versions listed |
| redhat enterprise linux | = 8.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libtpms(Debian:12) | < 0.8.0~dev1-1 | 0.8.0~dev1-1 |
| debian/libtpms(Debian:13) | < 0.8.0~dev1-1 | 0.8.0~dev1-1 |
| debian/libtpms(Debian:14) | < 0.8.0~dev1-1 | 0.8.0~dev1-1 |
| libtpms project libtpms | < 0.8.0 | 0.8.0 |
| redhat enterprise linux | = 8.0 | No fix listed |
| fedoraproject fedora | = 33 | No fix listed |
References
- Debian Security Tracker CVE-2021-3505 vendor-advisory
- bugzilla.redhat.com issue-tracking patch third-party-advisory
- github.com exploit patch third-party-advisory
- FEDORA-2021-cfdc434610 vendor-advisory