CVE-2021-24119 Information disclosure in n/a

Medium 4.9 Published Updated

System-level attackers can extract secret RSA keys from Mbed TLS via side-channel attacks on base64 decoding in isolated environments like Intel SGX.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-24119?

CVE-2021-24119 is a medium-severity vulnerability in Arm Mbed Tls, published on 14 Jul 2021. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

In Trusted Firmware Mbed TLS 2.24.0, a side-channel vulnerability in base64 PEM file decoding allows system-level (administrator) attackers to obtain information about secret RSA keys via a controlled-channel and side-channel attack on software running in isolated environments that can be single stepped, especially Intel SGX.

Weakness: CWE-203

Which versions are affected by CVE-2021-24119?

It affects 3 products.

Linux distribution packages (5)
mbedtls SUSE:Package Hub 15 SP2All versions2.16.9-bp152.2.6.1
mbedtls SUSE:Package Hub 15 SP3All versions2.16.9-bp153.2.5.1
mbedtls openSUSE:Leap 15.2All versions2.16.9-lp152.2.6.1
mbedtls openSUSE:Leap 15.3All versions2.16.9-bp153.2.5.1
mbedtls-2 openSUSE:TumbleweedAll versions2.27.0-2.1

Products include Arm Mbed Tls, Debian Debian Linux, Fedoraproject Fedora.

How do I fix CVE-2021-24119?

Upgrade to a fixed version.

Is CVE-2021-24119 being exploited?

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

All Arm Mbed Tls vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-24119, GHSA-7wc7-36pp-g93m, JLSEC-2025-203, UBUNTU-CVE-2021-24119, openSUSE-SU-2021:1344-1, openSUSE-SU-2021:1355-1 and 2 more.

Is CVE-2021-24119 in your software?

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

Check your SBOMs for free