Vulnerability · Published Apr 15, 2020 · Assigned by mitre
CVE-2020-10932
Medium 4.7
In plain English
A medium-severity security flaw in the mbedtls package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
An issue was discovered in Arm Mbed TLS before 2.16.6 and 2.7.x before 2.7.15. An attacker that can get precise enough side-channel measurements can recover the long-term ECDSA private key by (1) reconstructing the projective coordinate of the result of scalar multiplication by exploiting side channels in the conversion to affine coordinates; (2) using an attack described by Naccache, Smart, and Stern in 2003 to recover a few bits of the ephemeral scalar from those projective coordinates via several measurements; and (3) using a lattice attack to get from there to the long-term ECDSA private key used for the signatures. Typically an attacker would have sufficient access when attacking an SGX enclave and controlling the untrusted OS.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | mbedtls | 2.16.6-r0 | ALPINE-CVE-2020-10932 |
| Alpine:v3.21 | mbedtls | 2.16.6-r0 | ALPINE-CVE-2020-10932 |
| Alpine:v3.22 | mbedtls | 2.16.6-r0 | ALPINE-CVE-2020-10932 |
| Alpine:v3.23 | mbedtls | 2.16.6-r0 | ALPINE-CVE-2020-10932 |
| Alpine:v3.24 | mbedtls | 2.16.6-r0 | ALPINE-CVE-2020-10932 |
| Alpine:v3.20 | mbedtls2 | 2.16.6-r0 | ALPINE-CVE-2020-10932 |
| Alpine:v3.21 | mbedtls2 | 2.16.6-r0 | ALPINE-CVE-2020-10932 |
| Alpine:v3.22 | mbedtls2 | 2.16.6-r0 | ALPINE-CVE-2020-10932 |
| Alpine:v3.23 | mbedtls2 | 2.16.6-r0 | ALPINE-CVE-2020-10932 |
| Alpine:v3.24 | mbedtls2 | 2.16.6-r0 | ALPINE-CVE-2020-10932 |
| Alpine:v3.24 | mbedtls3 | 2.16.6-r0 | ALPINE-CVE-2020-10932 |
| Debian:12 | mbedtls | 2.16.9-0.1 | DEBIAN-CVE-2020-10932 |
| Debian:13 | mbedtls | 2.16.9-0.1 | DEBIAN-CVE-2020-10932 |
| Debian:14 | mbedtls | 2.16.9-0.1 | DEBIAN-CVE-2020-10932 |
Affected products (as reported)
References
- https://tls.mbed.org/tech-updates/security-advisories
- https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2020-04
- https://tls.mbed.org/tech-updates/releases/mbedtls-2.16.6-and-2.7.15-released
- FEDORA-2020-9a6e8e63e9 vendor-advisory
- FEDORA-2020-42564738a1 vendor-advisory
- [debian-lts-announce] 20221225 [SECURITY] [DLA 3249-1] mbedtls security update mailing-list