CVE Vulnerabilities

CVE-2024-57868

Insufficient Entropy

Published: Apr 05, 2025 | Modified: Sep 05, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

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

Name Vendor Start Version End Version
Web::api Lev * 2.8 (including)
Libweb-api-perl Ubuntu focal *
Libweb-api-perl Ubuntu oracular *

Potential Mitigations

References