CVE-2024-58041
JSON

9.1critical

Smolder versions through 1.51 for Perl uses insecure rand() function for cryptographic functions

Severity
9.1critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.49% (higher than 43% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
CPANSec

Description

Smolder versions through 1.51 for Perl uses insecure rand() function for cryptographic functions. Smolder 1.51 and earlier for Perl uses the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions. Specifically Smolder::DB::Developer 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
Smolderup to 1.51CVE List
wonko smolderup to 1.51NVD

Classification

CWE-338

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

What each source says

CVE List

Smolder versions through 1.51 for Perl uses insecure rand() function for cryptographic functions. Smolder 1.51 and earlier for Perl uses the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions. Specifically Smolder::DB::Developer uses the Data::Random library which specifically states that it is "Useful mostly for test programs". Data::Random uses the rand() function.

NVD (es)

Las versiones de Smolder hasta la 1.51 para Perl utilizan la función rand() insegura para funciones criptográficas. Smolder 1.51 y anteriores para Perl utilizan la función rand() como fuente de entropía predeterminada, que no es criptográficamente segura, para funciones criptográficas. Específicamente, Smolder::DB::Developer utiliza la biblioteca Data::Random, que específicamente indica que es 'Útil principalmente para programas de prueba'. Data::Random utiliza la función rand().

References

Sources

SourceRecordLicence
CVE ListCVE-2024-58041 changed 2026-02-24CVE Terms of Use
NVDCVE-2024-58041 changed 2026-06-17Public domain