Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-3505

5.5 · MEDIUM
Published Apr 19, 2021 libtpms_project CWE-331 EPSS 0.40% (34th pctl)

Overview

CVE-2021-3505 is a medium-severity vulnerability affecting libtpms_project libtpms. It was published on April 19, 2021 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from libtpms_project. Update libtpms to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
libtpms_project libtpms >= 0, < 0.8.0 Affected

Frequently Asked Questions

What is CVE-2021-3505?

CVE-2021-3505 is a medium-severity vulnerability affecting libtpms_project libtpms. It was published on April 19, 2021 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2021-3505?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-3505?

Check the references section for vendor advisories and patches from libtpms_project. Update libtpms to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-3505?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-3505 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.