DEBIAN-CVE-2021-3505

    Dashboard / Vulnerabilities / DEBIAN-CVE-2021-3505

    DEBIAN-CVE-2021-3505

    Published: 19 Apr 2021Last Modified: 1 Sept 2026
    Upstream:

    Summary:

    Details: 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.

    Affected packages

    Package

    Name: libtpms

    Purl: pkg:deb/debian/libtpms?arch=source&distro=bookworm

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -0.8.0~dev1-1

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    DEBIAN-CVE-2021-3505 | CVE-DB