CVE-2025-1860 Details
Description
Data::Entropy for Perl 0.007 and earlier use the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions.
A vulnerability exists in the Data::Entropy Perl module, specifically in versions through 0.007, where the default entropy source for cryptographic functions is the rand() function. This function is not cryptographically secure, leading to potential weaknesses in applications that rely on this module for randomness in security-sensitive operations.
Users can upgrade to Data::Entropy version 0.007-3.1+deb11u1 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Mar 28, 2025CISA-ADP
Assessed May 12, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://metacpan.org/release/ZEFRAM/Data-Entropy-0.007/source/lib/Data/Entropy.pm#L80 | CPANSec | Source CodeVendor |
| https://perldoc.perl.org/functions/rand | CPANSec | Source Code |
| https://lists.debian.org/debian-lts-announce/2025/03/msg00026.html | CVE | AdvisoryMailing ListRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-331 | Insufficient Entropy | CPANSec |
| CWE-338 | Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| Data::Entropy | All versions |
CPE
Remediation
| |
| libdata-entropy-perl | All versions |
CPE
Remediation
| |
| Debian | <= 0.007 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CPANSec |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 5, 2025 | CVE Modified | CPANSec |
| May 12, 2025 | CVE Modified | CISA-ADP |
| Apr 2, 2025 | CVE Modified | CVE |
| Mar 28, 2025 | New CVE Received | CPANSec |
Volerion