PT-2026-55751 · Cpan · Crypt::Dsa
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Crypt::DSA versions prior to 1.22
Description
The software draws the DSA signing nonce and private key from a biased random generator. Specifically, the
makerandom() function in Crypt::DSA::Util forces the high bit of every returned value to ensure an N-bit integer for prime search. This results in non-uniform values because the top bit is fixed. An attacker can recover the private key using a lattice attack by collecting a modest number of signatures and the public key.Recommendations
Update to version 1.22 or later.
Generate new keys, as any keys used to sign with affected versions should be considered compromised.
Exploit
Fix
Use of Insufficiently Random Values
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Crypt::Dsa