CVE-2024-57868Lev Web::api
Medium 5.5
Follow: this CVE · Lev · Lev Web::api We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.5
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 39
- Auth required
- Yes
- Published
- Apr 5, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
What happens
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.
What to do
- Apply the vendor's security update for Web::api.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| lev | web::api | ≤ 2.8 |
Official sources
References
Links published by the sources. Open them with care.
- metacpan.org Product
- metacpan.org Product
- metacpan.org Product
- perldoc.perl.org Product
- security.metacpan.org Product