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.
References
Link | Resource |
---|---|
https://github.com/perl-Crypt-OpenPGP/Crypt-Random/commit/1f8b29e9e89d8d083fd025152e76ec918136cc05 | Patch |
https://github.com/perl-Crypt-OpenPGP/Crypt-Random/pull/1 | Issue Tracking Patch |
https://perldoc.perl.org/functions/rand | Patch |
Configurations
History
27 Jun 2025, 16:11
Type | Values Removed | Values Added |
---|---|---|
First Time |
Timlegge
Timlegge crypt\ |
|
References | () https://github.com/perl-Crypt-OpenPGP/Crypt-Random/commit/1f8b29e9e89d8d083fd025152e76ec918136cc05 - Patch | |
References | () https://github.com/perl-Crypt-OpenPGP/Crypt-Random/pull/1 - Issue Tracking, Patch | |
References | () https://perldoc.perl.org/functions/rand - Patch | |
CPE | cpe:2.3:a:timlegge:crypt\:\:random:*:*:*:*:*:perl:*:* |
26 Mar 2025, 02:15
Type | Values Removed | Values Added |
---|---|---|
Summary |
|
|
Summary | (en) 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. |
11 Mar 2025, 03:15
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 8.8 |
11 Mar 2025, 00:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2025-03-11 00:15
Updated : 2025-06-27 16:11
NVD link : CVE-2025-1828
Mitre link : CVE-2025-1828
CVE.ORG link : CVE-2025-1828
JSON object : View
Products Affected
timlegge
- crypt\
CWE
CWE-338
Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)