CVE-2019-14318Out-of-bounds Write in Crypto

Severity
7.5HIGHNVD
NVD5.9OSV5.9
EPSS
3.1%
top 13.20%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJul 30
Latest updateAug 22

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.

CVSS vector

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NExploitability: 2.2 | Impact: 3.6

Affected Packages2 packages

debiandebian/libcrypto< libcrypto++ 5.6.4-9 (bookworm)+1
NVDcryptopp/crypto8.4.0+1

Patches

🔴Vulnerability Details

4
OSV
CVE-2022-48570: Crypto++ through 82023-08-22
GHSA
GHSA-mgx5-qmrg-fjwp: Crypto++ through 82023-08-22
GHSA
GHSA-j77v-9g36-cfp2: Crypto++ 82022-05-24
OSV
CVE-2019-14318: Crypto++ 82019-07-30

📋Vendor Advisories

2
Debian
CVE-2022-48570: libcrypto++ - Crypto++ through 8.4 contains a timing side channel in ECDSA signature generatio...2022
Debian
CVE-2019-14318: libcrypto++ - Crypto++ 8.3.0 and earlier contains a timing side channel in ECDSA signature gen...2019
CVE-2019-14318 — Out-of-bounds Write in Cryptopp Crypto | cvebase