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.
CVE ID: CVE-2024-58135
CVSS Base Severity: MEDIUM
CVSS Base Score: 5.3
CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Vendor: SRI
Product: Mojolicious
EPSS Score: 0.05% (probability of being exploited)
EPSS Percentile: 13.61% (scored less or equal to compared to others)
EPSS Date: 2025-06-01 (when was this score calculated)