VULNERABILITY INTELLIGENCE
CVE-2024-57868
CVSS score5.5 MEDIUM
EPSS probability0.31%
CISA KEVNot currently listed
Published2025-04-05
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
Description
Web::API 2.8 and earlier for Perl uses the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions. Specifically Web::API uses the Data::Random library which specifically states that it is "Useful mostly for test programs". Data::Random uses the rand() function.
Weakness classification
- 9b29abf9-4ab0-4765-b253-1875cd9b441e: CWE-331
- nvd@nist.gov: CWE-338
Primary references
- 9b29abf9-4ab0-4765-b253-1875cd9b441e — Product
- 9b29abf9-4ab0-4765-b253-1875cd9b441e — Product
- 9b29abf9-4ab0-4765-b253-1875cd9b441e — Product
- 9b29abf9-4ab0-4765-b253-1875cd9b441e — Product
- 9b29abf9-4ab0-4765-b253-1875cd9b441e — Product