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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- nvd.nist.gov third-party-advisory vendor-advisory
- eprint.iacr.org technical-description third-party-advisory
- github.com product
- minerva.crocs.fi.muni.cz product
- tches.iacr.org technical-description third-party-advisory
- [oss-security] 20191002 Minerva: ECDSA key recovery from bit-length leakage mailing-list third-party-advisory
- github.com vendor-advisory
- pypi.org product
- Debian Security Tracker CVE-2019-13628 vendor-advisory
- ubuntu.com issue-tracking
- github.com issue-tracking
- www.cve.org issue-tracking