Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-58135

5.3 · MEDIUM
Published May 3, 2025 mojolicious CWE-338 EPSS 0.54% (43th pctl)

Overview

CVE-2024-58135 is a medium-severity vulnerability affecting mojolicious mojolicious. It was published on May 3, 2025 and has a CVSS 3.1 base score of 5.3 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.3, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

Mojolicious versions from 7.28 through 9.45 for Perl will generate weak HMAC session cookie secrets via "mojo generate app" by default.

When creating a default app skeleton 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.

Release 9.46 fixes the issue by providing high quality randomness, even in absence of CryptX.

Users should be aware that the update does not replace previously generated weak secrets. A secret generated with the previous version MUST be replaced to ensure the updated version is using a strong secret.

Remediation

Check the references section for vendor advisories and patches from mojolicious. Update mojolicious to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
mojolicious mojolicious 7.28 Affected

Frequently Asked Questions

What is CVE-2024-58135?

CVE-2024-58135 is a medium-severity vulnerability affecting mojolicious mojolicious. It was published on May 3, 2025 and has a CVSS 3.1 base score of 5.3 (MEDIUM).

How severe is CVE-2024-58135?

This vulnerability has a CVSS 3.1 base score of 5.3, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2024-58135?

Check the references section for vendor advisories and patches from mojolicious. Update mojolicious to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-58135?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-58135 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.