Description (CNA)
Crypt::Random Perl package 1.05 through 1.55 may use rand() function, which is not cryptographically strong, for cryptographic functions. If the Provider is not specified and /dev/urandom or an Entropy Gathering Daemon (egd) service is not available Crypt::Random will default to use the insecure Crypt::Random::rand provider. In particular, Windows versions of perl will encounter this issue by default.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| perl / Crypt::Random | affected 1.05 before 1.56 |
CWE
CWE-338, CWE-331
References
- https://perldoc.perl.org/functions/rand
- https://github.com/perl-Crypt-OpenPGP/Crypt-Random/pull/1
- https://github.com/perl-Crypt-OpenPGP/Crypt-Random/commit/1f8b29e9e89d8d083fd025152e76ec918136cc05
ADP enrichment
No English description supplied.
No references supplied.