{"id":"CVE-2025-1860","state":"PUBLISHED","title":"Data::Entropy for Perl uses insecure rand() function for cryptographic functions","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.","publishedAt":"2025-03-28T00:56:08.647Z","updatedAt":"2025-09-05T13:20:15.508Z","severity":{"score":7.7,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"CISA-ADP"},"assigner":"CPANSec","products":["ZEFRAM Data::Entropy"],"affected":[{"vendor":"ZEFRAM","product":"Data::Entropy","packageName":"Data-Entropy","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.008","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/Data/Entropy.pm"]}],"references":["https://perldoc.perl.org/functions/rand","https://metacpan.org/release/ZEFRAM/Data-Entropy-0.007/source/lib/Data/Entropy.pm#L80","https://lists.debian.org/debian-lts-announce/2025/03/msg00026.html"],"weaknesses":["CWE-338","CWE-331"],"ingestedAt":"2026-10-29T20:08:39.238Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/1xxx/CVE-2025-1860.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-1860","state":"PUBLISHED","datePublished":"2025-03-28T00:56:08.647Z","dateUpdated":"2025-09-05T13:20:15.508Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2025-03-03T00:08:28.075Z"},"containers":{"cna":{"title":"Data::Entropy for Perl uses insecure rand() function for cryptographic functions","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"ZEFRAM","product":"Data::Entropy","packageName":"Data-Entropy","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.008","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/Data/Entropy.pm"]}],"references":[{"url":"https://perldoc.perl.org/functions/rand"},{"url":"https://metacpan.org/release/ZEFRAM/Data-Entropy-0.007/source/lib/Data/Entropy.pm#L80"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-338","description":"CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-331","description":"CWE-331 Insufficient Entropy","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2025-09-05T13:20:15.508Z"},"credits":[{"lang":"en","type":"finder","value":"Robert Rothenberg (RRWO)"}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Version 0.008 was released to address the issue and this module has been marked as deprecated.  Users should upgrade and plan to migrate to a different module."}],"value":"Version 0.008 was released to address the issue and this module has been marked as deprecated.  Users should upgrade and plan to migrate to a different module."}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00026.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-04-02T22:03:16.908Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.7,"attackVector":"LOCAL","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-05-12T15:41:36.179695Z","id":"CVE-2025-1860","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-05-12T15:42:49.891Z"}}]}}}