{"id":"UBUNTU-CVE-2025-1860","details":"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.","modified":"2026-05-20T16:20:23.586728974Z","published":"2025-03-28T01:15:00Z","upstream":["CVE-2025-1860"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-1860"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-1860"},{"type":"REPORT","url":"https://metacpan.org/release/ZEFRAM/Data-Entropy-0.007/source/lib/Data/Entropy.pm#L80"},{"type":"REPORT","url":"https://perldoc.perl.org/functions/rand"}],"affected":[{"package":{"name":"libdata-entropy-perl","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libdata-entropy-perl?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.007-3"],"ecosystem_specific":{"binaries":[{"binary_version":"0.007-3","binary_name":"libdata-entropy-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-1860.json"}},{"package":{"name":"libdata-entropy-perl","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libdata-entropy-perl?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.007-3"],"ecosystem_specific":{"binaries":[{"binary_name":"libdata-entropy-perl","binary_version":"0.007-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-1860.json"}},{"package":{"name":"libdata-entropy-perl","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libdata-entropy-perl?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.007-3"],"ecosystem_specific":{"binaries":[{"binary_version":"0.007-3","binary_name":"libdata-entropy-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-1860.json"}},{"package":{"name":"libdata-entropy-perl","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libdata-entropy-perl?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.007-3.1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.007-3.1","binary_name":"libdata-entropy-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-1860.json"}},{"package":{"name":"libdata-entropy-perl","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libdata-entropy-perl?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.007-4"],"ecosystem_specific":{"binaries":[{"binary_name":"libdata-entropy-perl","binary_version":"0.007-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-1860.json"}},{"package":{"name":"libdata-entropy-perl","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libdata-entropy-perl?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.007-4","0.008-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libdata-entropy-perl","binary_version":"0.008-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-1860.json"}},{"package":{"name":"libdata-entropy-perl","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libdata-entropy-perl?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.008-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libdata-entropy-perl","binary_version":"0.008-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-1860.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}