]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix SCA vulnerability when using PVK and MSBLOB key formats
authorCesar Pereida Garcia <cesar.pereidagarcia@tut.fi>
Mon, 19 Aug 2019 07:33:14 +0000 (10:33 +0300)
committerMatt Caswell <matt@openssl.org>
Tue, 27 Aug 2019 08:25:51 +0000 (09:25 +0100)
commit55611d549bcf65e0de04938adbf403ccf02f241b
treec9e7997b7b205a7480efbf95a0f2d116eb5417d8
parent7fafaf27c2c2990fde2798424a38ce8443dae595
Fix SCA vulnerability when using PVK and MSBLOB key formats

This commit addresses a side-channel vulnerability present when
PVK and MSBLOB key formats are loaded into OpenSSL.
The public key was not computed using a constant-time exponentiation
function.

This issue was discovered and reported by the NISEC group at TAU Finland.

Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9638)
crypto/pem/pvkfmt.c