CVE-2024-57868

5.5 MEDIUM
Published: April 05, 2025 Modified: November 13, 2025

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://metacpan.org/dist/Web-API/source/lib/Web/API.pm#L20
Source: 9b29abf9-4ab0-4765-b253-1875cd9b441e
Product
https://metacpan.org/dist/Web-API/source/lib/Web/API.pm#L348
Source: 9b29abf9-4ab0-4765-b253-1875cd9b441e
Product
https://perldoc.perl.org/functions/rand
Source: 9b29abf9-4ab0-4765-b253-1875cd9b441e
Product
https://security.metacpan.org/docs/guides/random-data-for-security.html
Source: 9b29abf9-4ab0-4765-b253-1875cd9b441e
Product

5 reference(s) from NVD

Quick Stats

CVSS v3 Score
5.5 / 10.0
EPSS (Exploit Probability)
0.1%
29th percentile
Exploitation Status
Not in CISA KEV

Affected Vendors

lev