UBUNTU-CVE-2024-58135

Source
https://ubuntu.com/security/CVE-2024-58135
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-58135.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-58135
Related
Published
2025-05-03T11:15:00Z
Modified
2025-05-14T16:32:46Z
Summary
[none]
Details

Mojolicious versions from 7.28 through 9.40 for Perl may generate weak HMAC session secrets. When creating a default app with the "mojo generate app" tool, a weak secret is written to the application's configuration file using the insecure rand() function, and used for authenticating and protecting the integrity of the application's sessions. This may allow an attacker to brute force the application's session keys.

References

Affected packages

Ubuntu:Pro:16.04:LTS / libmojolicious-perl

Package

Name
libmojolicious-perl
Purl
pkg:deb/ubuntu/libmojolicious-perl@6.15+dfsg-1ubuntu1?arch=source&distro=esm-apps/xenial

Affected ranges

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

Affected versions

6.*

6.15+dfsg-1
6.15+dfsg-1ubuntu1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / libmojolicious-perl

Package

Name
libmojolicious-perl
Purl
pkg:deb/ubuntu/libmojolicious-perl@7.59+dfsg-1ubuntu1?arch=source&distro=esm-apps/bionic

Affected ranges

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

Affected versions

7.*

7.39+dfsg-1ubuntu1
7.43+dfsg-1ubuntu1
7.57+dfsg-1ubuntu1
7.59+dfsg-1ubuntu1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / libmojolicious-perl

Package

Name
libmojolicious-perl
Purl
pkg:deb/ubuntu/libmojolicious-perl@8.33+dfsg-1?arch=source&distro=focal

Affected ranges

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

Affected versions

8.*

8.22+dfsg-1
8.23+dfsg-1
8.26+dfsg-1
8.27+dfsg-1
8.32+dfsg-1
8.33+dfsg-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / libmojolicious-perl

Package

Name
libmojolicious-perl
Purl
pkg:deb/ubuntu/libmojolicious-perl@9.22+dfsg-1?arch=source&distro=jammy

Affected ranges

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

Affected versions

8.*

8.71+dfsg-1

9.*

9.22+dfsg-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / libmojolicious-perl

Package

Name
libmojolicious-perl
Purl
pkg:deb/ubuntu/libmojolicious-perl@9.37+dfsg-2?arch=source&distro=oracular

Affected ranges

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

Affected versions

9.*

9.35+dfsg-1
9.37+dfsg-1
9.37+dfsg-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / libmojolicious-perl

Package

Name
libmojolicious-perl
Purl
pkg:deb/ubuntu/libmojolicious-perl@9.35+dfsg-1?arch=source&distro=noble

Affected ranges

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

Affected versions

9.*

9.33+dfsg-1
9.35+dfsg-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:25.04 / libmojolicious-perl

Package

Name
libmojolicious-perl
Purl
pkg:deb/ubuntu/libmojolicious-perl@9.39+dfsg-1?arch=source&distro=plucky

Affected ranges

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

Affected versions

9.*

9.37+dfsg-2
9.38+dfsg-1
9.39+dfsg-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}