{"id":"CVE-2024-58036","aliases":["CVE-2024-58036"],"related":[],"kind":"vulnerability","state":"published","title":"Net::Dropbox::API 1.9 and earlier for Perl uses insecure rand() function for cryptographic functions","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Net::Dropbox::API 1.9 y versiones anteriores para Perl utilizan la función rand() como fuente predeterminada de entropía, la cual no es criptográficamente segura para las funciones criptográficas. En concreto, Net::Dropbox::API utiliza la librería Data::Random, que indica específicamente que es útil principalmente para programas de prueba. Data::Random utiliza la función rand().","source":"nvd"}],"published":"2025-04-05T16:06:53.758Z","modified":"2026-06-17T08:14:29.360Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-331","CWE-338"],"affected":[{"ranges":[{"type":"custom","introduced":"0","lastAffected":"1.9","status":"affected"}],"vendor":"NORBU","product":"Net::Dropbox::API","package":"Net-Dropbox-API","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"1.9"}],"vendor":"norbu09","product":"net::dropbox::api","cpe":"cpe:2.3:a:norbu09:net\\:\\:dropbox\\:\\:api:*:*:*:*:*:perl:*:*","source":"nvd"}],"references":[{"url":"https://perldoc.perl.org/functions/rand","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://security.metacpan.org/docs/guides/random-data-for-security.html","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://metacpan.org/release/BAREFOOT/Data-Random-0.13/source/lib/Data/Random.pm#L537","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://metacpan.org/release/NORBU/Net-Dropbox-API-1.9/source/lib/Net/Dropbox/API.pm#L385","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://metacpan.org/release/NORBU/Net-Dropbox-API-1.9/source/lib/Net/Dropbox/API.pm#L11","tags":["product"],"sources":["cvelist","nvd"]}],"credits":["Robert Rothenberg (RRWO)"],"assigner":"CPANSec","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-07T14:32:40.331Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-58036","url":"https://www.cve.org/CVERecord?id=CVE-2024-58036","licence":"CVE Terms of Use","modified":"2025-09-05T13:19:24.872Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-58036","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58036","licence":"Public domain","modified":"2026-06-17T08:14:29.360Z"}],"updatedAt":"2026-11-25T22:58:52.480Z","epss":{"score":0.00295,"percentile":0.23786,"date":"2026-12-01T12:00:22.000Z"}}