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.
History

Sun, 13 Apr 2025 00:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Crypt::CBC versions between 1.21 and 3.04 for Perl may use insecure rand() function for cryptographic functions
Weaknesses CWE-338
References

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2025-04-12T23:41:48.511Z

Reserved: 2025-03-26T13:51:26.476Z

Link: CVE-2025-2814

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2025-04-13T00:15:14.997

Modified: 2025-04-13T00:15:14.997

Link: CVE-2025-2814

cve-icon Redhat

No data.