Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-C685EDD9-C045-11EA-8898-001CC0382B2F: Mbed TLS -- Side-channel attack on ECC key import and validation

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

FreeBSD: VID-C685EDD9-C045-11EA-8898-001CC0382B2F: Mbed TLS -- Side-channel attack on ECC key import and validation

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
07/01/2020
Created
07/10/2020
Added
07/08/2020
Modified
07/08/2020

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(s)

  • freebsd-upgrade-package-mbedtls

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;