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.
Raised upstream: https://github.com/lstein/Lib-Crypt-CBC/issues/9 Is this ever likely to be an issue on Linux, where /dev/urandom should always be available? In containers perhaps?