CVE-2024-57868 - CVE House
Back to Database
Status published Unknown CVE-2024-57868

Web::API 2.8 and earlier for Perl uses insecure rand() function for cryptographic functions

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

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-57868

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • Robert Rothenberg (RRWO)

Affected Vendor

Affected Software

Web::API
Vulnerable Versions:
0

Timeline

Official Publish: April 5th, 2025
Last Modified: September 5th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

No vector data available

Weaknesses (CWE)

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.