CVE-2024-58036
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.29% (higher than 23% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
CPANSec

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.

Affected

Product or packageVersionsReported by
Net-Dropbox-APIup to 1.9CVE List
norbu09 net::dropbox::apiup to 1.9NVD

Classification

CWE-331CWE-338

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

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().

References

Sources

SourceRecordLicence
CVE ListCVE-2024-58036 changed 2025-09-05CVE Terms of Use
NVDCVE-2024-58036 changed 2026-06-17Public domain