Read the docs
TI-2024-38343 Aliases CVE-2024-58135GHSA-3r5v-gmfp-3mh9

Mojolicious versions from 7.28 through 9.45 for Perl will generate weak HMAC session…

Priority MEDIUM 57CWE-338Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Low · None · None
Fix status
No fix listed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00577 47th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD and the CNA
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
SRIMojolicious7.28 – 9.45—No fix listedCNA
  • Mojolicious VendorSRI Affected 7.28 – 9.45 Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:mojolicious:mojolicious:*:*:*:*:*:perl:*:*7.28 – 9.40VulnerableMojolicious
  • cpe:2.3:a:mojolicious:mojolicious:*:*:*:*:*:perl:*:* Versions 7.28 – 9.40 Vulnerable ·Mojolicious

Remediation

No fixed version listed by the sources yet.

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-58135
  2. 2026-10-03 Alias added: GHSA-3r5v-gmfp-3mh9

References

  • TI-2026-13247 Cross-site request forgery in SRI Mojolicious CVSS 3.1CRITICAL 9.1
  • TI-2026-12479 Uncontrolled recursion in SRI Mojo::JSON CVSS 3.1MEDIUM 6.5

Sources