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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| wonko Smolder | <= 1.51 | after 1.51 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| wonko Smolder | <= 1.51 | No fix listed |
References
- perldoc.perl.org third-party-advisory
- security.metacpan.org third-party-advisory
- metacpan.org issue-tracking
- metacpan.org issue-tracking