UBUNTU-CVE-2024-57868

Source
https://ubuntu.com/security/CVE-2024-57868
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-57868.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-57868
Related
Published
2025-04-05T16:15:00Z
Modified
2025-04-10T08:49:55Z
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:Pro:18.04:LTS / libweb-api-perl

Package

Name
libweb-api-perl
Purl
pkg:deb/ubuntu/libweb-api-perl@2.2.3-1?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.2.3-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / libweb-api-perl

Package

Name
libweb-api-perl
Purl
pkg:deb/ubuntu/libweb-api-perl@2.6-1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.4.1-1
2.5-1
2.6-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / libweb-api-perl

Package

Name
libweb-api-perl
Purl
pkg:deb/ubuntu/libweb-api-perl@2.7-1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.7-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / libweb-api-perl

Package

Name
libweb-api-perl
Purl
pkg:deb/ubuntu/libweb-api-perl@2.8-1?arch=source&distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.7-3
2.8-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / libweb-api-perl

Package

Name
libweb-api-perl
Purl
pkg:deb/ubuntu/libweb-api-perl@2.7-3?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.7-2
2.7-3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}