CVE-2024-58134
No exploitation reported by the sources we read.
- Published2025-05-03
- WeaknessCWE-321 · CWE-331
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2025-05-0316:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 9.40 | ≥ 0.999922, ≤ 9.40 | no fix published | NVD |
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
Fix
Advisories and patches
- github.comPatch
- github.comPatch
- github.comPatch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-26
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionnone2025-05-12
- CISA-ADPCVSS 3.18.12025-05-12
- CNAweakness (CWE)CWE-321, CWE-331known since 2026-10-23
- FIRST EPSSEPSS score1.0 %2026-11-25
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-61673same flawAzure Linux · MIT
- AZL-61825same flawAzure Linux · MIT
- EUVD-2025-13360same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-3g23-7g3r-898jsame flawGitHub Advisory Database · CC-BY-4.0
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?
Is CVE-2024-58134 actively exploited?
What is the CVSS score for CVE-2024-58134?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-3g23-7g3r-898j
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0