
CVE catalog
CVE-2024-57868
libweb-api-perl: CVE-2024-57868
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.30% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libweb-api-perl | sid | 2.8-1 | vulnerable |
| Debian | libweb-api-perl | forky | 2.8-1 | vulnerable |
| Debian | libweb-api-perl | trixie | 2.8-1 | vulnerable |
| Debian | libweb-api-perl | bookworm | 2.7-2 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libweb-api-perl | source | sid | (unfixed) | not yet assigned | Not reported | [1102148] |
| Debian | libweb-api-perl | source | forky | (unfixed) | not yet assigned | Not reported | [1102148] |
| Debian | libweb-api-perl | source | trixie | (unfixed) | not yet assigned | Not reported | [1102148] |
| Debian | libweb-api-perl | source | bookworm | (unfixed) | not yet assigned | Not reported | [1102148] |
Notes
[trixie] libweb-api-perl: Minor issue, revisit when fixed upstream [bookworm] libweb-api-perl: Minor issue, revisit when fixed upstream
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libweb-api-perl]Affected
Details (2)
2.7-2· all · bookwormAffected
dsa · libweb-api-perl · debian · bookworm; dsa · libweb-api-perl · debian · 12
2.7-2· all · bookwormAffected
dsa · libweb-api-perl · debian · bookworm; dsa · libweb-api-perl · debian · 12
[Debian 13 (Trixie)]
- [libweb-api-perl]Affected
Details (2)
2.8-1· all · trixieAffected
dsa · libweb-api-perl · debian · 13
2.8-1· all · trixieAffected
dsa · libweb-api-perl · debian · 13
Observed: