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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- Debian Security Tracker CVE-2019-14318 vendor-advisory
- openSUSE-SU-2019:1968 vendor-advisory
- [oss-security] 20191002 Minerva: ECDSA key recovery from bit-length leakage mailing-list
- eprint.iacr.org exploit issue-tracking third-party-advisory
- github.com issue-tracking patch third-party-advisory
- minerva.crocs.fi.muni.cz
- tches.iacr.org issue-tracking third-party-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- www.cve.org issue-tracking