CVE-2024-57868

MEDIUM EPSS 17.2%
Published Apr 5, 20251y ago · Modified Jun 17, 20262w ago
5.5 CVSS 3.1
Medium
Find Similar
Published Apr 5, 2025 1y ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
5.5
Exploitability
2.1
Impact
3.4
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
Attack Vector Network
Attack Complexity Low
Privileges Required Low
User Interaction Required
Scope Unchanged
Confidentiality Low
Integrity Low
Availability Low

Threat Intelligence

EPSS Exploit Probability
17.2% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available

Weaknesses 2

CWE-331
CWE-338

Affected Products 1

VendorProductVersionRange
levweb\\ ≤2.8

References 5

  • metacpan.org https://metacpan.org/dist/Web-API/source/lib/Web/API.pm#L20
    Product
  • metacpan.org https://metacpan.org/dist/Web-API/source/lib/Web/API.pm#L348
    Product
  • metacpan.org https://metacpan.org/release/BAREFOOT/Data-Random-0.13/source/lib/Data/Random.pm#L537
    Product
  • perldoc.perl.org https://perldoc.perl.org/functions/rand
    Product
  • security.metacpan.org https://security.metacpan.org/docs/guides/random-data-for-security.html
    Product

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.