# CVE-2024-58134: perl-Mojolicious: Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2024-58135: 	Mojolici...

CVE-2024-58134 is fixed in 2 products on 1 platform, first by ALAS2023-2025-985, released May 21, 2025. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2024-58134
- Priority: High
- CVSS: n/a (important)
- EPSS: 0.0056
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 21, 2025

## Description

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2024-58135: 	Mojolicious versions from 7.28 through 9.39 for Perl may generate weak HMAC session secrets.  When creating a default app 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.++6330  CVE-2024-58134: 	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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | perl-Mojolicious amzn 2023 | 9.40-3.amzn2023.0.1 | [ALAS2023-2025-985](https://patchblox.com/security/data/fix/linux/alas2023-2025-985.md) | May 21, 2025 |
| Linux | perl-Test-Mojo amzn 2023 | 9.40-3.amzn2023.0.1 | [ALAS2023-2025-985](https://patchblox.com/security/data/fix/linux/alas2023-2025-985.md) | May 21, 2025 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
