CVE-2024-58036
Net::Dropbox::API 1.9 and earlier for Perl uses insecure rand() function for cryptographic functions
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
5.5
Net::Dropbox::API 1.9 and earlier for Perl uses insecure rand() function for cryptographic functions
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.
- Record
CVE-2024-58036- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L - Weakness
- CWE-338, CWE-331
- Updated
- 2026-11-02
EUVDEUVD-2024-54368
5.5
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.
- Record
EUVD-2024-54368- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-hx6m-xfx3-6p5x
5.5
Net::Dropbox::API 1.9 and earlier for Perl uses the rand() function as the default source of...
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.
- Record
GHSA-hx6m-xfx3-6p5x- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L - Weakness
- CWE-331, CWE-338
- Updated
- 2026-11-02
NVD
5.5
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.
- Record
CVE-2024-58036- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L - Weakness
- CWE-331, CWE-338
- Updated
- 2026-11-02
OSV
5.5
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.
- Record
CVE-2024-58036- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVDEBIAN-CVE-2024-58036
5.5
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.
- Record
DEBIAN-CVE-2024-58036- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-58036
5.5
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.
- Record
UBUNTU-CVE-2024-58036- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15187-1 No score
perl-Net-Dropbox-API-1.900.0-2.1 on GA media
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.
- Record
openSUSE-SU-2025:15187-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libnet-dropbox-api-perlDebian:12 |
All versions, plus listed versions 1.9-21.9-3 |
None known |
libnet-dropbox-api-perlDebian:13 |
All versions, plus listed versions 1.9-21.9-3 |
None known |
libnet-dropbox-api-perlDebian:14 |
before 1.9-3, plus listed versions 1.9-2 |
1.9-3 |
libnet-dropbox-api-perlUbuntu:16.04:LTS |
All versions, plus listed versions 1.9-1 |
None known |
libnet-dropbox-api-perlUbuntu:18.04:LTS |
All versions, plus listed versions 1.9-1 |
None known |
libnet-dropbox-api-perlUbuntu:20.04:LTS |
All versions, plus listed versions 1.9-1 |
None known |
libnet-dropbox-api-perlUbuntu:22.04:LTS |
All versions, plus listed versions 1.9-1.1 |
None known |
libnet-dropbox-api-perlUbuntu:24.04:LTS |
All versions, plus listed versions 1.9-2 |
None known |
libnet-dropbox-api-perlUbuntu:25.10 |
All versions, plus listed versions 1.9-21.9-3 |
None known |
libnet-dropbox-api-perlUbuntu:26.10 |
All versions, plus listed versions 1.9-3 |
None known |
libnet-dropbox-api-perlUbuntu:26.04:LTS |
All versions, plus listed versions 1.9-3 |
None known |
perl-Net-Dropbox-APIopenSUSE:Tumbleweed |
before 1.900.0-2.1 | 1.900.0-2.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-58036 is a medium vulnerability (CVSS 5.5) in Norbu Net::dropbox::api, published April 5, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.29%, the 22nd percentile. Fixed in libnet-dropbox-api-perl 1.9-3.
References
perldoc.perl.org/functions/rand
security.metacpan.org/docs/guides/random-data-for-security.html
metacpan.org/release/BAREFOOT/Data-Random-0.13/source/lib/Data/Random.pm
metacpan.org/release/NORBU/Net-Dropbox-API-1.9/source/lib/Net/Dropbox/API.pm
nvd.nist.gov/vuln/detail/CVE-2024-58036
github.com/advisories/GHSA-hx6m-xfx3-6p5x