PT-2026-49531 · Cpan · Crypt::Dsa
CVSS v3.1
9.1
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
Crypt::DSA versions prior to 1.21
Description
The software reuses the nonce across signatures, which can lead to the recovery of the private key. The
sign() function in the Crypt::DSA::sign module caches the per-signature nonce material within the Key object and fails to clear it. Consequently, the first call to sign() on a Key object selects a nonce, and all subsequent calls to sign() on that same object reuse it, resulting in an identical "r" value. Any keys used to sign more than once using an affected version are considered compromised.Recommendations
Update to version 1.21 or later.
Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Crypt::Dsa