CVE-2024-57868

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:lev:web\:\:api:*:*:*:*:*:perl:*:*

History

No history.

Information

Published : 2025-04-05 16:15

Updated : 2025-11-13 14:38


NVD link : CVE-2024-57868

Mitre link : CVE-2024-57868

CVE.ORG link : CVE-2024-57868


JSON object : View

Products Affected

lev

  • web\
CWE
CWE-331

Insufficient Entropy

CWE-338

Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)