GHSA-464q-cqxq-xhgr

Suggest an improvement
Source
https://github.com/advisories/GHSA-464q-cqxq-xhgr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-464q-cqxq-xhgr/GHSA-464q-cqxq-xhgr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-464q-cqxq-xhgr
Aliases
Published
2026-03-23T06:30:29Z
Modified
2026-03-30T19:46:28.640561Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
  • 2.0 (Low) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P CVSS Calculator
Summary
jsrsasign: Division by Zero Allows Invalid JWK Modulus to Cause Deterministic Zero Output in RSA Operations
Details

Versions of the package jsrsasign before 11.1.1 are vulnerable to Division by zero due to the RSASetPublic/KEYUTIL parsing path in ext/rsa.js and the BigInteger.modPowInt reduction logic in ext/jsbn.js. An attacker can force RSA public-key operations (e.g., verify and encryption) to collapse to deterministic zero outputs and hide “invalid key” errors by supplying a JWK whose modulus decodes to zero.

Database specific
{
    "severity": "LOW",
    "cwe_ids": [
        "CWE-369"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-03-30T19:30:16Z",
    "nvd_published_at": "2026-03-23T06:16:22Z"
}
References

Affected packages

npm / jsrsasign

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-464q-cqxq-xhgr/GHSA-464q-cqxq-xhgr.json"