Skip to content

CVE-2024-58041 Smolder versions through 1.51 for Perl uses insecure rand() function for cryptographic functions

CriticalCVSS 9.1 EPSS 0.49%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
wonko Smolder <= 1.51 after 1.51 Fixed

Affected products

ProductAffected versionsFixed in
wonko Smolder <= 1.51 No fix listed

References