Every CVE Search/ Get API key

CVE-2024-58134

Mojolicious versions from 0.999922 for Perl uses a hard coded string, or the application's class name, as an HMAC session cookie secret by default

8.1 High

Mojolicious versions from 0.999922 for Perl uses a hard coded string, or the application's class name, as an HMAC session cookie secret by default.

These predictable default secrets can be exploited by an attacker to forge session cookies.  An attacker who knows or guesses the secret could compute valid HMAC signatures for the session cookie, allowing them to tamper with or hijack another user’s session.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
None

Exploit likelihood

0.56%Up 0.5 points since May 4, 2025
90%50%10%1%

What each source reports

CVE List Score used 8.1

Mojolicious versions from 0.999922 for Perl uses a hard coded string, or the application's class name, as an HMAC session cookie secret by default

Mojolicious versions from 0.999922 for Perl uses a hard coded string, or the application's class name, as an HMAC session cookie secret by default.

These predictable default secrets can be exploited by an attacker to forge session cookies.  An attacker who knows or guesses the secret could compute valid HMAC signatures for the session cookie, allowing them to tamper with or hijack another user’s session.

Record
CVE-2024-58134
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-321, CWE-331
Updated
2026-11-02
EUVDEUVD-2025-13360 8.1

Mojolicious versions from 0.999922 for Perl uses a hard coded string, or the application's class name, as an HMAC session cookie secret by default.

These predictable default secrets can be exploited by an attacker to forge session cookies.  An attacker who knows or guesses the secret could compute valid HMAC signatures for the session cookie, allowing them to tamper with or hijack another user’s session.

Record
EUVD-2025-13360
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-3g23-7g3r-898j 8.1

Mojolicious versions from 0.999922 through 9.39 for Perl uses a hard coded string, or the...

Mojolicious versions from 0.999922 through 9.39 for Perl uses a hard coded string, or the application's class name, as a HMAC session secret by default.

These predictable default secrets can be exploited to forge session cookies. An attacker who knows or guesses the secret could compute valid HMAC signatures for the session cookie, allowing them to tamper with or hijack another user’s session.

Record
GHSA-3g23-7g3r-898j
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-321
Updated
2026-11-02
NVD 8.1

Mojolicious versions from 0.999922 for Perl uses a hard coded string, or the application's class name, as an HMAC session cookie secret by default.

These predictable default secrets can be exploited by an attacker to forge session cookies.  An attacker who knows or guesses the secret could compute valid HMAC signatures for the session cookie, allowing them to tamper with or hijack another user’s session.

Record
CVE-2024-58134
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-321, CWE-331
Updated
2026-11-02
OSV 8.1

Mojolicious versions from 0.999922 for Perl uses a hard coded string, or the application's class name, as an HMAC session cookie secret by default

Mojolicious versions from 0.999922 for Perl uses a hard coded string, or the application's class name, as an HMAC session cookie secret by default.

These predictable default secrets can be exploited by an attacker to forge session cookies.  An attacker who knows or guesses the secret could compute valid HMAC signatures for the session cookie, allowing them to tamper with or hijack another user’s session.

Record
CVE-2024-58134
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-321, CWE-331
Updated
2026-11-02
OSVDEBIAN-CVE-2024-58134 8.1

Mojolicious versions from 0.999922 for Perl uses a hard coded string, or the application's class name, as an HMAC session cookie secret by default. These predictable default secrets can be exploited by an attacker to forge session cookies.  An attacker who knows or guesses the secret could compute valid HMAC signatures for the session cookie, allowing them to tamper with or hijack another user’s session.

Record
DEBIAN-CVE-2024-58134
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2024-58134 8.1

Mojolicious versions from 0.999922 for Perl uses a hard coded string, or the application's class name, as an HMAC session cookie secret by default. These predictable default secrets can be exploited by an attacker to forge session cookies.  An attacker who knows or guesses the secret could compute valid HMAC signatures for the session cookie, allowing them to tamper with or hijack another user’s session.

Record
UBUNTU-CVE-2024-58134
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Updated
2026-11-02
OSVAZL-61673 No score

CVE-2024-58134 affecting package perl-Mojolicious 8.57-3

Mojolicious versions from 0.999922 for Perl uses a hard coded string, or the application's class name, as an HMAC session cookie secret by default.

These predictable default secrets can be exploited by an attacker to forge session cookies.  An attacker who knows or guesses the secret could compute valid HMAC signatures for the session cookie, allowing them to tamper with or hijack another user’s session.

Record
AZL-61673
Updated
2026-11-02
OSVAZL-61825 No score

CVE-2024-58134 affecting package perl-Mojolicious 8.57-3

Mojolicious versions from 0.999922 for Perl uses a hard coded string, or the application's class name, as an HMAC session cookie secret by default.

These predictable default secrets can be exploited by an attacker to forge session cookies.  An attacker who knows or guesses the secret could compute valid HMAC signatures for the session cookie, allowing them to tamper with or hijack another user’s session.

Record
AZL-61825
Updated
2026-11-05

Affected products

Affected packages

Affected packages
PackageAffectedFixed
perl-Mojolicious
Azure Linux:2
through 8.57-3 None known
perl-Mojolicious
Azure Linux:3
through 8.57-3 None known
libmojolicious-perl
Debian:12
All versions, plus listed versions
9.31+dfsg-19.33+dfsg-19.34+dfsg-19.35+dfsg-19.36+dfsg-1
Show 15 moreShow less
9.36+dfsg-1~bpo12+29.37+dfsg-19.37+dfsg-29.37+dfsg-2~bpo12+19.38+dfsg-19.39+dfsg-19.42+dfsg-19.42+dfsg-1~bpo13+29.45+dfsg-19.45+dfsg-29.46+dfsg-19.47+dfsg-19.48+dfsg-19.49+dfsg-19.53+dfsg-1
None known
libmojolicious-perl
Debian:13
All versions, plus listed versions
9.39+dfsg-19.42+dfsg-19.42+dfsg-1~bpo13+29.45+dfsg-19.45+dfsg-2
Show 5 moreShow less
9.46+dfsg-19.47+dfsg-19.48+dfsg-19.49+dfsg-19.53+dfsg-1
None known
libmojolicious-perl
Debian:14
All versions, plus listed versions
9.39+dfsg-19.42+dfsg-19.42+dfsg-1~bpo13+29.45+dfsg-19.45+dfsg-2
Show 5 moreShow less
9.46+dfsg-19.47+dfsg-19.48+dfsg-19.49+dfsg-19.53+dfsg-1
None known
libmojolicious-perl
Ubuntu:16.04:LTS
All versions, plus listed versions
6.15+dfsg-16.15+dfsg-1ubuntu1
None known
libmojolicious-perl
Ubuntu:18.04:LTS
All versions, plus listed versions
7.39+dfsg-1ubuntu17.43+dfsg-1ubuntu17.57+dfsg-1ubuntu17.59+dfsg-1ubuntu1
None known
libmojolicious-perl
Ubuntu:20.04:LTS
All versions, plus listed versions
8.22+dfsg-18.23+dfsg-18.26+dfsg-18.27+dfsg-18.32+dfsg-18.33+dfsg-1
None known
libmojolicious-perl
Ubuntu:22.04:LTS
All versions, plus listed versions
8.71+dfsg-19.22+dfsg-1
None known
libmojolicious-perl
Ubuntu:24.04:LTS
All versions, plus listed versions
9.33+dfsg-19.35+dfsg-1
None known
libmojolicious-perl
Ubuntu:25.10
All versions, plus listed versions
9.39+dfsg-1
None known
libmojolicious-perl
Ubuntu:26.10
All versions, plus listed versions
9.42+dfsg-19.45+dfsg-29.46+dfsg-19.48+dfsg-1
None known
libmojolicious-perl
Ubuntu:26.04:LTS
All versions, plus listed versions
9.39+dfsg-19.42+dfsg-1
None known

History

History
RecordedChangedSources
factsOSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-58134 is a high vulnerability (CVSS 8.1) in Mojolicious, published May 3, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.56%, the 46th percentile. No source names a fixed version.

References

Show 14 moreShow less
MoveEnter Open