Skip to content

CVE-2019-14318 Crypto++ 8.3.0 and earlier contains a timing side channel in ECDSA signature generation. This allows a local or remote attacker, able to measure the duration of hundreds to thousands of signing operat...

MediumCVSS 5.9 EPSS 3.1%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

Crypto++ 8.3.0 and earlier contains a timing side channel in ECDSA signature generation. This allows a local or remote attacker, able to measure the duration of hundreds to thousands of signing operations, to compute the private key used. The issue occurs because scalar multiplication in ecp.cpp (prime field curves, small leakage) and algebra.cpp (binary field curves, large leakage) is not constant time and leaks the bit length of the scalar among other information.

Upgrade path

7 packages: 4 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/libcrypto++(Ubuntu 18.04) = 5.6.4-8; All versions No fix listed No fix yet
ubuntu/libcrypto++(Ubuntu Pro 14.04) = 5.6.1-6; = 5.6.1-6+deb8u1build0.14.04.1; = 5.6.1-6+deb8u3build0.14.04.1; = 5.6.1-6+deb8u3ubuntu0.1~esm1 +1 more No fix listed No fix yet
ubuntu/libcrypto++(Ubuntu Pro 16.04) = 5.6.1-8; = 5.6.1-9; = 5.6.1-9ubuntu0.1; = 5.6.1-9ubuntu0.1+esm1 +1 more No fix listed No fix yet
cryptopp crypto++ <= 8.3.0 after 8.3.0 Fixed
debian/libcrypto++(Debian 12) < 5.6.4-9 5.6.4-9 Fixed
debian/libcrypto++(Debian 13) < 5.6.4-9 5.6.4-9 Fixed
debian/libcrypto++(Debian 14) < 5.6.4-9 5.6.4-9 Fixed

Affected products

ProductAffected versionsFixed in
debian/libcrypto++(Debian:12) < 5.6.4-9 5.6.4-9
debian/libcrypto++(Debian:13) < 5.6.4-9 5.6.4-9
debian/libcrypto++(Debian:14) < 5.6.4-9 5.6.4-9
cryptopp crypto++ <= 8.3.0 No fix listed
ubuntu/libcrypto++(Ubuntu:Pro:14.04) All versions No fix listed
ubuntu/libcrypto++(Ubuntu:Pro:14.04) = 5.6.1-6 No fix listed
ubuntu/libcrypto++(Ubuntu:Pro:14.04) = 5.6.1-6+deb8u1build0.14.04.1 No fix listed
ubuntu/libcrypto++(Ubuntu:Pro:14.04) = 5.6.1-6+deb8u3build0.14.04.1 No fix listed
ubuntu/libcrypto++(Ubuntu:Pro:14.04) = 5.6.1-6+deb8u3ubuntu0.1~esm1 No fix listed
ubuntu/libcrypto++(Ubuntu:Pro:16.04) All versions No fix listed
ubuntu/libcrypto++(Ubuntu:Pro:16.04) = 5.6.1-8 No fix listed
ubuntu/libcrypto++(Ubuntu:Pro:16.04) = 5.6.1-9 No fix listed
ubuntu/libcrypto++(Ubuntu:Pro:16.04) = 5.6.1-9ubuntu0.1 No fix listed
ubuntu/libcrypto++(Ubuntu:Pro:16.04) = 5.6.1-9ubuntu0.1+esm1 No fix listed
ubuntu/libcrypto++(Ubuntu:18.04) All versions No fix listed
ubuntu/libcrypto++(Ubuntu:18.04) = 5.6.4-8 No fix listed

References