CVE-2021-3446 Weak cryptography in libtpms

Medium 5.5 Published Updated

A flaw in libtpms returns the initial IV instead of the last IV, weakening encryption and compromising data confidentiality.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-3446?

CVE-2021-3446 is a medium-severity vulnerability in Fedoraproject Fedora, published on 25 Mar 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A flaw was found in libtpms in versions before 0.8.2. The commonly used integration of libtpms with OpenSSL contained a vulnerability related to the returned IV (initialization vector) when certain symmetric ciphers were used. Instead of returning the last IV it returned the initial IV to the caller, thus weakening the subsequent encryption and decryption steps. The highest threat from this vulnerability is to data confidentiality.

Weakness: CWE-330, CWE-327

Which versions are affected by CVE-2021-3446?

It affects 3 products.

Products include Fedoraproject Fedora, Libtpms Project Libtpms, Redhat Enterprise Linux.

How do I fix CVE-2021-3446?

Upgrade to a fixed version.

Is CVE-2021-3446 being exploited?

There is no known exploitation of CVE-2021-3446 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-3446, GHSA-3cfm-94xc-h7hp.

Is CVE-2021-3446 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free