Issue summary: SM2 signature generation uses non-constant-time arithmetic on secret values, forming a timing side-channel.
Impact summary: An attacker able to measure SM2 signing times may learn information about the per-signature secret nonce, which over many signatures can, via a lattice / Hidden Number Problem attack, lead to recovery of the private key.
CWE: CWE-208: Observable Timing Discrepancy
Description: SM2 signature generation computes the signature value using variable-time BIGNUM operations on the secret nonce and the private key, so the time taken to produce an SM2 signature depends on these secret values, forming a timing side-channel.
Applications performing SM2 signature generation are affected on all platforms.
FIPS Impact: no SM2 is not a FIPS algorithm.
1.1.1zj3.0.233.4.83.5.93.6.54.0.33.0.233.4.83.5.93.6.54.0.33.0.233.4.83.5.93.6.54.0.33.0.233.4.83.5.93.6.54.0.33.0.233.4.83.5.93.6.54.0.33.0.233.4.83.5.93.6.54.0.33.0.233.4.83.5.93.6.54.0.33.0.233.4.83.5.93.6.54.0.3Exploitability
AV:NAC:HPR:NUI:NScope
S:UImpact
C:LI:NA:N3.7/CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NOther