Medium, CVSS 4.7PyPIAmendedPublished
wolfCrypt leaks cryptographic information via timing side channel
CVE-2019-13628 · GHSA-q95h-vc86-hv77
- Affected
- PyPI wolfcrypt <= 4.0.0
- Fixed in
- 4.1.0· Vendor fix available
- Issue
- wolfSSL and wolfCrypt 4.0.0 and earlier (when configured without --enable-fpecc, --enable-sp, or --enable-sp-math) contain a timing side channel in ECDSA signature generation. This allows a local attacker, able to precisely measure the duration of signature operations, to infer information about the nonces used and potentially mount a lattice attack to recover the private key used. The issue occurs because ecc.c scalar multiplication might leak the bit length.
Recommended action: Upgrade to 4.1.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.