{"id":"UBUNTU-CVE-2018-25107","details":"The Crypt::Random::Source package before 0.13 for Perl has a fallback to the built-in rand() function, which is not a secure source of random bits.","modified":"2025-10-24T04:47:20Z","published":"2024-12-29T07:15:00Z","upstream":["CVE-2018-25107"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-25107"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-25107"},{"type":"REPORT","url":"https://github.com/karenetheridge/Crypt-Random-Source/pull/3"},{"type":"REPORT","url":"https://metacpan.org/release/ETHER/Crypt-Random-Source-0.13/changes"}],"affected":[{"package":{"name":"libcrypt-random-source-perl","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-random-source-perl@0.11-2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.08-2","0.11-1","0.11-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.11-2","binary_name":"libcrypt-random-source-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-25107.json"}},{"package":{"name":"libcrypt-random-source-perl","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-random-source-perl@0.12-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11-3","0.12-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.12-1","binary_name":"libcrypt-random-source-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-25107.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}