{"id":"CVE-2024-58036","published":"2025-04-05T16:06:53Z","modified":"2025-09-05T13:19:24Z","title":"Net::Dropbox::API 1.9 and earlier for Perl uses insecure rand() function for cryptographic functions","vendor":"NORBU","product":"Net::Dropbox::API","tier":"tail","description":{"text":"Net::Dropbox::API 1.9 and earlier for Perl uses the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions.\n\nSpecifically Net::Dropbox::API uses the Data::Random library which specifically states that it is \"Useful mostly for test programs\". Data::Random uses the rand() function.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00538,"percentile":0.38781,"provenance":"source"},"cwes":[{"id":"CWE-338","name":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)"},{"id":"CWE-331","name":"Insufficient Entropy"}],"references":[{"url":"https://perldoc.perl.org/functions/rand","tags":[]},{"url":"https://security.metacpan.org/docs/guides/random-data-for-security.html","tags":[]},{"url":"https://metacpan.org/release/BAREFOOT/Data-Random-0.13/source/lib/Data/Random.pm#L537","tags":[]},{"url":"https://metacpan.org/release/NORBU/Net-Dropbox-API-1.9/source/lib/Net/Dropbox/API.pm#L385","tags":[]},{"url":"https://metacpan.org/release/NORBU/Net-Dropbox-API-1.9/source/lib/Net/Dropbox/API.pm#L11","tags":[]}],"priority":{"score":11.6,"factors":[{"name":"EPSS percentile","points":7.76},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"norbu","affectedVersions":[{"vendor":"NORBU","product":"Net::Dropbox::API","versions":["<= 1.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-07T14:32:40.331159Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-54368","exploited":false,"provenance":"source"}}