CPANSA-Crypt-Random-2025-1828: Crypt-Random vulnerability
Publisher | giterlizzi | Document category | csaf_security_advisory |
---|---|---|---|
Initial release date | 2025-03-11T00:00:00 | Engine | CSAF Perl Toolkit 0.25 |
Current release date | 2025-03-11T00:00:00 | Build Date | |
Current version | 1 | Status | final |
CVSS v3.1 Base Score | 8.8 | Severity | |
Original language | Language | en | |
Also referred to |
Vulnerability Description
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.
Vulnerabilities
CVE-2025-1828
Vulnerability DescriptionCrypt::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.
Weakness | CWE-338 : Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) |
---|
Product status
Known affected
Product | Score | ||||||||
---|---|---|---|---|---|---|---|---|---|
Crypt-Random greater than or equal 1.05 and less than or equal 1.55 |
|
Fixed
- Crypt-Random greater than 1.55
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-Crypt-Random-2025-1828 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2025/cpansa-crypt-random-2025-1828.json - https://github.com/perl-Crypt-OpenPGP/Crypt-Random/commit/1f8b29e9e89d8d083fd025152e76ec918136cc05 external
https://github.com/perl-Crypt-OpenPGP/Crypt-Random/commit/1f8b29e9e89d8d083fd025152e76ec918136cc05 - https://github.com/perl-Crypt-OpenPGP/Crypt-Random/pull/1 external
https://github.com/perl-Crypt-OpenPGP/Crypt-Random/pull/1 - https://perldoc.perl.org/functions/rand external
https://perldoc.perl.org/functions/rand - CVE-2025-1828 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2025-1828
Revision history
Version | Date of the revision | Summary of the revision |
---|---|---|
1 | Tue Mar 11 00:00:00 2025 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/