Insecure encryption algorithm In jsrsasign
Description
jsrsasign: Missing cryptographic validation during DSA signing enables private key extraction Versions of the package jsrsasign before 11.1.1 are vulnerable to Missing Cryptographic Step via the KJUR.crypto.DSA.signWithMessageHash process in the DSA signing implementation. An attacker can recover the private key by forcing r or s to be zero, so the library emits an invalid signature without retrying, and then solves for x from the resulting signature.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
npm | 11.1.1 |
Aliases
1. 2. 3. 4.
References
1. 2. 3.