CVE-2024-58134

CVE-2024-58134 is a high-severity vulnerability in Mojolicious with a CVSS 3.x base score of 8.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-321.

Key facts

Description

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.

Frequently asked questions

What is 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. 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.
How severe is CVE-2024-58134?
CVE-2024-58134 has a CVSS 3.x base score of 8.1, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability none.
Is CVE-2024-58134 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (37th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-58134?
CVE-2024-58134 affects Mojolicious. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2024-58134?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
Does CVE-2024-58134 have an EU (EUVD) identifier?
Yes. CVE-2024-58134 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-13360.
When was CVE-2024-58134 published?
CVE-2024-58134 was published on 2025-05-03 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Mojolicious

All CVEs affecting Mojolicious →

Other CWE-321 vulnerabilities

Browse all CWE-321 vulnerabilities →