We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.
Please see our statement on Data Privacy.
Crypt::CBC versions between 1.21 and 3.04 for Perl may use the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions. This issue affects operating systems where "/dev/urandom'" is unavailable. In that case, Crypt::CBC will fallback to use the insecure rand() function.
Reserved 2025-03-26 | Published 2025-04-12 | Updated 2025-04-14 | Assigner CPANSecCWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
Robert Rothenberg (RRWO)
perldoc.perl.org/functions/rand
metacpan.org/dist/Crypt-CBC/source/lib/Crypt/CBC.pm
security.metacpan.org/...uides/random-data-for-security.html
Support options