CVE Vulnerabilities

CVE-2024-57868

Insufficient Entropy

Published: Apr 05, 2025 | Modified: Nov 13, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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

The product uses an algorithm or scheme that produces insufficient entropy, leaving patterns or clusters of values that are more likely to occur than others.

Affected Software

NameVendorStart VersionEnd Version
Web::apiLev*2.8 (including)
Libweb-api-perlUbuntufocal*
Libweb-api-perlUbuntuoracular*
Libweb-api-perlUbuntuplucky*

Potential Mitigations

References