CVE catalog

CVE-2024-57868

libweb-api-perl: CVE-2024-57868

[CVE catalog]

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.

DistributionPackageReleaseVersionStatus
Debianlibweb-api-perlsid2.8-1vulnerable
Debianlibweb-api-perlforky2.8-1vulnerable
Debianlibweb-api-perltrixie2.8-1vulnerable
Debianlibweb-api-perlbookworm2.7-2vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibweb-api-perlsourcesid(unfixed)not yet assignedNot reported[1102148]
Debianlibweb-api-perlsourceforky(unfixed)not yet assignedNot reported[1102148]
Debianlibweb-api-perlsourcetrixie(unfixed)not yet assignedNot reported[1102148]
Debianlibweb-api-perlsourcebookworm(unfixed)not yet assignedNot reported[1102148]

[Debian bug #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 · bookworm

      Affected

      dsa · libweb-api-perl · debian · bookworm; dsa · libweb-api-perl · debian · 12

    • 2.7-2 · all · bookworm

      Affected

      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 · trixie

      Affected

      dsa · libweb-api-perl · debian · 13

    • 2.8-1 · all · trixie

      Affected

      dsa · libweb-api-perl · debian · 13

Observed:

References