CVE-2019-14318

NameCVE-2019-14318
DescriptionCrypto++ 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs934326

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libcrypto++ (PTS)jessie, jessie (lts)5.6.1-6+deb8u3vulnerable
stretch5.6.4-7vulnerable
buster5.6.4-8vulnerable
bullseye8.4.0-1fixed
bookworm8.7.0+git220824-1fixed
sid, trixie8.9.0-1.1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libcrypto++sourceexperimental8.2.0-2
libcrypto++sourcewheezy(unfixed)end-of-life
libcrypto++source(unstable)5.6.4-9low934326

Notes

[buster] - libcrypto++ <no-dsa> (Minor issue)
[stretch] - libcrypto++ <no-dsa> (Minor issue)
[jessie] - libcrypto++ <no-dsa> (Minor issue)
https://github.com/weidai11/cryptopp/issues/869

Search for package or bug name: Reporting problems