Every CVE Search/ Get API key

CVE-2024-58036

Net::Dropbox::API 1.9 and earlier for Perl uses insecure rand() function for cryptographic functions

5.5 MediumFix available

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

0.29%Up 0.3 points since Apr 6, 2025
90%50%10%1%

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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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

Affected packages
PackageAffectedFixed
libnet-dropbox-api-perl
Debian:12
All versions, plus listed versions
1.9-21.9-3
None known
libnet-dropbox-api-perl
Debian:13
All versions, plus listed versions
1.9-21.9-3
None known
libnet-dropbox-api-perl
Debian:14
before 1.9-3, plus listed versions
1.9-2
1.9-3
libnet-dropbox-api-perl
Ubuntu:16.04:LTS
All versions, plus listed versions
1.9-1
None known
libnet-dropbox-api-perl
Ubuntu:18.04:LTS
All versions, plus listed versions
1.9-1
None known
libnet-dropbox-api-perl
Ubuntu:20.04:LTS
All versions, plus listed versions
1.9-1
None known
libnet-dropbox-api-perl
Ubuntu:22.04:LTS
All versions, plus listed versions
1.9-1.1
None known
libnet-dropbox-api-perl
Ubuntu:24.04:LTS
All versions, plus listed versions
1.9-2
None known
libnet-dropbox-api-perl
Ubuntu:25.10
All versions, plus listed versions
1.9-21.9-3
None known
libnet-dropbox-api-perl
Ubuntu:26.10
All versions, plus listed versions
1.9-3
None known
libnet-dropbox-api-perl
Ubuntu:26.04:LTS
All versions, plus listed versions
1.9-3
None known
perl-Net-Dropbox-API
openSUSE:Tumbleweed
before 1.900.0-2.1
1.900.0-2.1

History

History
RecordedChangedSources
first indexedCVE 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

Show 6 moreShow less
MoveEnter Open