TIMLEGGE Crypt::DSA
Crypt::DSA versions before 1.21 for Perl reused the nonce across signatures, leading to private-key recovery
Crypt::DSA versions before 1.21 for Perl reused the nonce across signatures, leading to private-key recovery. Crypt::DSA::sign caches the per-signature nonce material in the Key object without ever clearing it. The first sign() on a Key object picks a nonce, and every later sign() on that same object reuses it, producing an identical "r". Keys used to sign more than once with an affected version should be considered compromised.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.21
Fixed in 1.21
Mitigation
Upgrade to version 1.21 Revoke any keys that may have been compromised. Crypt::DSA was deprecated in version 1.20. You should migrate to another solution.
References
- Release notes metacpan.org/release/TIMLEGGE/Crypt-DSA-1.21/cha…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.