MGASA-2020-0293 - Updated mbedtls packages fix security vulnerability

Publication date: 10 Jul 2020
URL: https://advisories.mageia.org/MGASA-2020-0293.html
Type: security
Affected Mageia releases: 7

Updated mbedtls packages fix security vulnerabilities

Fix a side channel vulnerability in modular exponentiation that could reveal
an RSA private key used in a secure enclave.

Fix side channel in mbedtls_ecp_check_pub_priv() and mbedtls_pk_parse_key() /
mbedtls_pk_parse_keyfile() (when loading a private key that didn't include the
uncompressed public key), as well as mbedtls_ecp_mul() /
mbedtls_ecp_mul_restartable() when called with a NULL f_rng argument. An
attacker with access to precise enough timing and memory access information
(typically an untrusted operating system attacking a secure enclave) could
fully recover the ECC private key. 

Fix issue in Lucky 13 counter-measure that could make it ineffective when
hardware accelerators were used (using one of the MBEDTLS_SHAxxx_ALT macros).
This would cause the original Lucky 13 attack to be possible in those
configurations, allowing an active network attacker to recover plaintext after
repeated timing measurements under some conditions.

References:
- https://bugs.mageia.org/show_bug.cgi?id=26924
- https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2020-07
- https://github.com/ARMmbed/mbedtls/releases/tag/mbedtls-2.16.7

SRPMS:
- 7/core/mbedtls-2.16.7-1.mga7