DEBIAN-CVE-2024-58135

Source
https://security-tracker.debian.org/tracker/CVE-2024-58135
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-58135.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2024-58135
Upstream
Published
2025-05-03T11:15:48Z
Modified
2026-09-15T09:02:55Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
[none]
Details

Mojolicious versions from 7.28 through 9.45 for Perl will generate weak HMAC session cookie secrets via "mojo generate app" by default. When creating a default app skeleton 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. Release 9.46 fixes the issue by providing high quality randomness, even in absence of CryptX. Users should be aware that the update does not replace previously generated weak secrets. A secret generated with the previous version MUST be replaced to ensure the updated version is using a strong secret.

References

Affected packages

Debian:12 / libmojolicious-perl

Package

Name
libmojolicious-perl
Purl
pkg:deb/debian/libmojolicious-perl?arch=source&distro=bookworm

Affected ranges

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

Affected versions

9.*
9.31+dfsg-1
9.33+dfsg-1
9.34+dfsg-1
9.35+dfsg-1
9.36+dfsg-1~bpo12+2
9.36+dfsg-1
9.37+dfsg-1
9.37+dfsg-2~bpo12+1
9.37+dfsg-2
9.38+dfsg-1
9.39+dfsg-1
9.42+dfsg-1~bpo13+2
9.42+dfsg-1
9.45+dfsg-1
9.45+dfsg-2
9.46+dfsg-1
9.47+dfsg-1
9.48+dfsg-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-58135.json"

Debian:13 / libmojolicious-perl

Package

Name
libmojolicious-perl
Purl
pkg:deb/debian/libmojolicious-perl?arch=source&distro=trixie

Affected ranges

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

Affected versions

9.*
9.39+dfsg-1
9.42+dfsg-1~bpo13+2
9.42+dfsg-1
9.45+dfsg-1
9.45+dfsg-2
9.46+dfsg-1
9.47+dfsg-1
9.48+dfsg-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-58135.json"

Debian:14 / libmojolicious-perl

Package

Name
libmojolicious-perl
Purl
pkg:deb/debian/libmojolicious-perl?arch=source&distro=forky

Affected ranges

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

Affected versions

9.*
9.39+dfsg-1
9.42+dfsg-1~bpo13+2
9.42+dfsg-1
9.45+dfsg-1
9.45+dfsg-2
9.46+dfsg-1
9.47+dfsg-1
9.48+dfsg-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-58135.json"