CVE-2024-58036

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

Published Apr 5, 2025 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-54368 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.
History
Type Values Removed Values Added
Weaknesses CWE-331
Type Values Removed Values Added
First Time appeared Norbu09
Norbu09 net\
CPEs cpe:2.3:a:norbu09:net\:\:dropbox\:\:api:*:*:*:*:*:perl:*:*
Vendors & Products Norbu09
Norbu09 net\
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Net::Dropbox::API 1.9 and earlier for Perl uses insecure rand() function for cryptographic functions
Weaknesses CWE-338
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Sep 5, 2025, 1:19 PM
Reserved
Mar 26, 2025, 2:00 PM
Status
Analyzed
Published
Apr 5, 2025, 4:15 PM
Modified
Jun 17, 2026, 8:14 AM