GHSA-2w8x-224x-785m

Suggest an improvement
Source
https://github.com/advisories/GHSA-2w8x-224x-785m
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-2w8x-224x-785m/GHSA-2w8x-224x-785m.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-2w8x-224x-785m
Aliases
Published
2026-03-17T06:31:32Z
Modified
2026-03-25T14:46:29.609642Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • 7.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P CVSS Calculator
Summary
sjcl is missing point-on-curve validation in sjcl.ecc.basicKey.publicKey
Details

All versions of the package sjcl are vulnerable to Improper Verification of Cryptographic Signature due to missing point-on-curve validation in sjcl.ecc.basicKey.publicKey(). An attacker can recover a victim's ECDH private key by sending crafted off-curve public keys and observing ECDH outputs. The dhJavaEc() function directly returns the raw x-coordinate of the scalar multiplication result (no hashing), providing a plaintext oracle without requiring any decryption feedback.

Database specific
{
    "nvd_published_at": "2026-03-17T06:16:18Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-325",
        "CWE-347"
    ],
    "github_reviewed_at": "2026-03-18T16:10:06Z"
}
References

Affected packages

npm / sjcl

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.9

Database specific

last_known_affected_version_range
"<= 1.0.8"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-2w8x-224x-785m/GHSA-2w8x-224x-785m.json"