CVE-2024-57868 – Web::API Cryptographically Insecure Randomness Vulnerability

The following table lists the changes that have been made to the
CVE-2024-57868 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution
of a vulnerability, and for identifying the most recent changes that may
impact the vulnerability’s severity, exploitability, or other characteristics.

  • New CVE Received
    by 9b29abf9-4ab0-4765-b253-1875cd9b441e

    Apr. 05, 2025

    Action Type Old Value New Value
    Added 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.

    Added CWE CWE-338
    Added Reference https://metacpan.org/dist/Web-API/source/lib/Web/API.pm#L20
    Added Reference https://metacpan.org/dist/Web-API/source/lib/Web/API.pm#L348
    Added Reference https://metacpan.org/release/BAREFOOT/Data-Random-0.13/source/lib/Data/Random.pm#L537
    Added Reference https://perldoc.perl.org/functions/rand
    Added Reference https://security.metacpan.org/docs/guides/random-data-for-security.html
Share the Post:

Related Posts