Skip to main content
No exploitation reportedFix available

CVE-2024-58134

No exploitation reported by the sources we read.

  • Published2025-05-03
  • WeaknessCWE-321 · CWE-331

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2025-05-0316:15CVE publishedNVD

Versions per branch

NVD
Mojolicious
BranchAffectedFixed in
9.40≥ 0.999922, ≤ 9.40no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As CPANSec, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • SRI Mojoliciousother versions: not affected

    package Mojolicioushttps://cpan.org/modules

    Affected
    • ≥ 0.999922no fix statedcustom

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2025-10-20

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • libmojolicious-perlUbuntu:Pro:20.04:LTSall versions · no fixed version listed
  • libmojolicious-perlUbuntu:Pro:18.04:LTSall versions · no fixed version listed
  • libmojolicious-perlUbuntu:Pro:16.04:LTSall versions · no fixed version listed
  • libmojolicious-perlUbuntu:26.10all versions · no fixed version listed
  • libmojolicious-perlUbuntu:26.04:LTSall versions · no fixed version listed
  • libmojolicious-perlUbuntu:25.10all versions · no fixed version listed
  • libmojolicious-perlUbuntu:24.04:LTSall versions · no fixed version listed
  • libmojolicious-perlUbuntu:22.04:LTSall versions · no fixed version listed

5 more package ranges on OSV.dev

Vendor advisories

  • CVE-2024-58134 Red Hat Product Security

    Mojolicious: 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

Full record on NVD

Fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Published
2025-05-03
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-3g23-7g3r-898j

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.

Is CVE-2024-58134 actively exploited?

Active exploitation of CVE-2024-58134 has not been confirmed. Its EPSS score was 1.0% on 2026-11-25, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-58134?

CVE-2024-58134 has a CVSS v3 base score of 8.1 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.

Running Mojolicious? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record