@noble/curves is vulnerable to Observable Timing Discrepancy
37
CVE Score
Low
Observable Timing Discrepancy
The X25519 key-agreement code performs scalar multiplication and modular arithmetic whose execution time varies with secret key material. Remote timing measurement across many samples can observe this variation and recover a few bits of a long-term private key, primarily enabling fingerprinting of a key across deployments rather than full key recovery. The Montgomery ladder and un-precomputed point multiplication previously fell back to variable-time code paths and best-effort constant-time helpers. The fix adds secret-scalar blinding via a CSPRNG, uses a constant-time fixed-window multiply, and hardens the modular arithmetic helpers.
Upgrade the @noble/curves library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you perform X25519 key agreement using a long-term private key whose operation timing is observable to an external party.
0.2.0 - 2.2.0
Fixed in 2.3.0@noble/curves is vulnerable to Observable Timing Discrepancy in versions 0.2.0 - 2.2.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.