{"id":"CVE-2024-58036","aliases":["DEBIAN-CVE-2024-58036","EUVD-2024-54368","GHSA-hx6m-xfx3-6p5x","UBUNTU-CVE-2024-58036","openSUSE-SU-2025:15187-1"],"status":"published","title":"Net::Dropbox::API 1.9 and earlier for Perl uses insecure rand() function for cryptographic functions","description":"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.","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","level":"medium","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-10","score":0.00295,"percentile":0.22299,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-331","CWE-338"],"published":"2025-04-05T16:06:53Z","modified":"2026-11-02T12:03:12Z","fixes":[{"ecosystem":"Debian:14","package":"libnet-dropbox-api-perl","fixed_in":["1.9-3"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"perl-Net-Dropbox-API","fixed_in":["1.900.0-2.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"libnet-dropbox-api-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9-2","1.9-3"]},{"source":"osv","ecosystem":"Debian:13","package":"libnet-dropbox-api-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9-2","1.9-3"]},{"source":"osv","ecosystem":"Debian:14","package":"libnet-dropbox-api-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9-3"}]}],"versions":["1.9-2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libnet-dropbox-api-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libnet-dropbox-api-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"libnet-dropbox-api-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"libnet-dropbox-api-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9-1.1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"libnet-dropbox-api-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9-2"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"libnet-dropbox-api-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9-2","1.9-3"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"libnet-dropbox-api-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9-3"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"libnet-dropbox-api-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9-3"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"perl-Net-Dropbox-API","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.900.0-2.1"}]}]}],"products":[{"vendor":"norbu","product":"net::dropbox::api"},{"vendor":"norbu09","product":"net\\"}],"references":[{"url":"https://perldoc.perl.org/functions/rand","tags":["Product","web","report"]},{"url":"https://security.metacpan.org/docs/guides/random-data-for-security.html","tags":["Product","web","report"]},{"url":"https://metacpan.org/release/BAREFOOT/Data-Random-0.13/source/lib/Data/Random.pm#L537","tags":["Product","web","report"]},{"url":"https://metacpan.org/release/NORBU/Net-Dropbox-API-1.9/source/lib/Net/Dropbox/API.pm#L385","tags":["Product","web","report"]},{"url":"https://metacpan.org/release/NORBU/Net-Dropbox-API-1.9/source/lib/Net/Dropbox/API.pm#L11","tags":["Product","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58036"},{"url":"https://github.com/advisories/GHSA-hx6m-xfx3-6p5x"},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-58036","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-58036","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-58036","tags":["report"]},{"url":"https://lists.security.metacpan.org/cve-announce/msg/28504518/","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/QVCC2ZPP6Y6DRZPU7XE6V53ZW3NXRNKO/","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2024-58036","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2024-58036","title":"Net::Dropbox::API 1.9 and earlier for Perl uses insecure rand() function for cryptographic functions","description":"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.","status":"published","published":"2025-04-05T16:06:53.758Z","modified":"2025-09-05T13:19:24.872Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","level":"medium","assessor":"adp"}],"cwes":["CWE-338","CWE-331"],"updated_at":"2026-11-02T14:34:08.843708Z"}],"euvd":[{"id":"EUVD-2024-54368","description":"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.","status":"published","published":"2025-04-05T16:06:53Z","modified":"2025-09-05T13:19:24Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T20:31:46.9428Z"}],"ghsa":[{"id":"GHSA-hx6m-xfx3-6p5x","title":"Net::Dropbox::API 1.9 and earlier for Perl uses the rand() function as the default source of...","description":"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.","status":"published","published":"2025-04-07T15:31:11Z","modified":"2025-09-05T15:32:16Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-331","CWE-338"],"updated_at":"2026-11-02T15:03:30.514996Z"}],"nvd":[{"id":"CVE-2024-58036","description":"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.","status":"published","published":"2025-04-05T16:15:33.317Z","modified":"2026-06-17T08:14:29.36Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","level":"medium","assessor":"secondary"}],"cwes":["CWE-331","CWE-338"],"updated_at":"2026-11-02T14:10:46.40251Z"}],"osv":[{"id":"CVE-2024-58036","description":"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.","status":"published","published":"2025-04-05T16:15:33.317Z","modified":"2026-03-23T05:05:14.34382Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T15:44:45.107804Z"},{"id":"DEBIAN-CVE-2024-58036","description":"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.  Specifically 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.","status":"published","published":"2025-04-05T16:15:33.317Z","modified":"2026-11-02T12:03:12.007566739Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T15:45:44.747956Z"},{"id":"UBUNTU-CVE-2024-58036","description":"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. Specifically 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.","status":"published","published":"2025-04-05T16:15:00Z","modified":"2026-10-17T12:56:46.458221468Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T16:55:18.664792Z"},{"id":"openSUSE-SU-2025:15187-1","title":"perl-Net-Dropbox-API-1.900.0-2.1 on GA media","description":"These are all security issues fixed in the perl-Net-Dropbox-API-1.900.0-2.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2025-05-31T00:00:00Z","modified":"2026-03-23T04:53:27.808281Z","updated_at":"2026-11-02T16:58:37.399567Z"}]}}
