vulnerability

FreeBSD: VID-c685edd9-c045-11ea-8898-001cc0382b2f: Mbed TLS -- Side-channel attack on ECC key import and validation

Severity
5
CVSS
(AV:L/AC:L/Au:N/C:C/I:N/A:N)
Published
Jul 7, 2020
Added
Jul 8, 2020
Modified
Dec 10, 2025

Description

Manuel Pégourié-Gonnard reports: The scalar multiplication function in Mbed TLS accepts a random number generator (RNG) as an optional argument and, if provided, uses it to protect against some attacks. It is the caller's responsibility to provide a RNG if protection against side-channel attacks is desired; however two groups of functions in Mbed TLS itself fail to pass a RNG: mbedtls_pk_parse_key() and mbedtls_pk_parse_keyfile() mbedtls_ecp_check_pub_priv() and mbedtls_pk_check_pair() When those functions are called, scalar multiplication is computed without randomisation, a number of old and new attacks apply, allowing a powerful local attacker to fully recover the private key.

Solution

freebsd-upgrade-package-mbedtls

References

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.