Skip to content

CVE-2019-13628 wolfCrypt leaks cryptographic information via timing side channel

MediumCVSS 4.7 EPSS 0.38%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

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.

Upgrade path

6 packages: 4 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/wolfssl(Ubuntu 16.04) = 3.4.8+dfsg-1; All versions No fix listed No fix yet
ubuntu/wolfssl(Ubuntu 18.04) = 3.10.2+dfsg-2; = 3.12.0+dfsg-1; = 3.12.2+dfsg-1; = 3.13.0+dfsg-1 +1 more No fix listed No fix yet
debian/wolfssl(Debian 12) < 4.1.0+dfsg-1 4.1.0+dfsg-1 Fixed
debian/wolfssl(Debian 13) < 4.1.0+dfsg-1 4.1.0+dfsg-1 Fixed
pypi wolfcrypt(PyPI) < 4.1.0; <= 4.0.0; = 0.1.8; = 0.1.9 +6 more 4.1.0 Fixed
wolfSSL <= 4.0.0 after 4.0.0 Fixed

Affected products

ProductAffected versionsFixed in
pypi wolfcrypt(PyPI) < 4.1.0 4.1.0
pypi wolfcrypt(PyPI) = 0.1.8 No fix listed
pypi wolfcrypt(PyPI) = 0.1.9 No fix listed
pypi wolfcrypt(PyPI) = 0.2.0 No fix listed
pypi wolfcrypt(PyPI) = 0.2.6 No fix listed
pypi wolfcrypt(PyPI) = 3.12.2.post0 No fix listed
pypi wolfcrypt(PyPI) = 3.13.0.post1 No fix listed
pypi wolfcrypt(PyPI) = 3.14.0.post1 No fix listed
pypi wolfcrypt(PyPI) = 3.14.2.post0 No fix listed
pypi wolfcrypt(PyPI) <= 4.0.0 No fix listed
debian/wolfssl(Debian:12) < 4.1.0+dfsg-1 4.1.0+dfsg-1
debian/wolfssl(Debian:13) < 4.1.0+dfsg-1 4.1.0+dfsg-1
wolfSSL <= 4.0.0 No fix listed
ubuntu/wolfssl(Ubuntu:16.04) All versions No fix listed
ubuntu/wolfssl(Ubuntu:16.04) = 3.4.8+dfsg-1 No fix listed
ubuntu/wolfssl(Ubuntu:18.04) All versions No fix listed
ubuntu/wolfssl(Ubuntu:18.04) = 3.10.2+dfsg-2 No fix listed
ubuntu/wolfssl(Ubuntu:18.04) = 3.12.0+dfsg-1 No fix listed
ubuntu/wolfssl(Ubuntu:18.04) = 3.12.2+dfsg-1 No fix listed
ubuntu/wolfssl(Ubuntu:18.04) = 3.13.0+dfsg-1 No fix listed

References