Miggo Logo

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

4.7

CVSS Score
3.1

Basic Information

EPSS Score
0.35744%
Published
5/24/2022
Updated
9/25/2023
KEV Status
No
Technology
TechnologyPython

Technical Details

CVSS Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
wolfcryptpip<= 4.0.04.1.0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from non-constant-time scalar multiplication in ECDSA signature generation. wc_ecc_sign_hash is the entry point for signing, and ecc_mulmod implements the vulnerable multiplication. The advisory explicitly links the leak to ecc.c's scalar multiplication when secure configurations are disabled. These functions are central to the ECDSA process and match the described attack vector (bit-length leakage during scalar multiplication).

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

wol*SSL *n* wol**rypt *.*.* *n* **rli*r (w**n *on*i*ur** wit*out `--*n**l*-*p***`, `--*n**l*-sp`, or` --*n**l*-sp-m*t*`) *ont*in * timin* si** ***nn*l in ***S* si*n*tur* **n*r*tion. T*is *llows * lo**l *tt**k*r, **l* to pr**is*ly m**sur* t** *ur*tion

Reasoning

T** vuln*r**ility st*ms *rom non-*onst*nt-tim* s**l*r multipli**tion in ***S* si*n*tur* **n*r*tion. w*_***_si*n_**s* is t** *ntry point *or si*nin*, *n* ***_mulmo* impl*m*nts t** vuln*r**l* multipli**tion. T** **visory *xpli*itly links t** l**k to **