GHSA-q95h-vc86-hv77

Suggest an improvement
Source
https://github.com/advisories/GHSA-q95h-vc86-hv77
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-q95h-vc86-hv77/GHSA-q95h-vc86-hv77.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-q95h-vc86-hv77
Aliases
Published
2022-05-24T16:57:48Z
Modified
2024-02-21T05:32:24.080995Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
wolfCrypt leaks cryptographic information via timing side channel
Details

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.

Database specific
{
    "nvd_published_at": "2019-10-03T14:15:00Z",
    "severity": "MODERATE",
    "github_reviewed_at": "2023-07-17T22:25:50Z",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-203"
    ]
}
References

Affected packages

PyPI / wolfcrypt

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.1.0

Affected versions

0.*

0.1.8
0.1.9
0.2.0
0.2.6

3.*

3.12.2.post0
3.13.0.post1
3.14.0.post1
3.14.2.post0

Database specific

{
    "last_known_affected_version_range": "<= 4.0.0"
}