Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-58135

published medium CVSS 3.1 · 5.3

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

Published
03 May 2025, 10:16:10 UTC
Updated
05 Jun 2026, 12:37:53 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SRI — Mojolicious7.28 through 9.45 · Other versions: unaffected Affected Not stated CPANSec
Amazon Linux AL2023 Release evaluationALAS2023-2025-985 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 perl-Mojoliciousnoarch Listed in advisory Not stated ALAS2023-2025-985
Amazon Linux AL2023 perl-Mojolicioussrc Listed in advisory Not stated ALAS2023-2025-985

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.

en · CPANSec · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.3 / 10
Severity
medium
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
SRI Mojolicious 7.28 through 9.45 (affected · custom)Default: unaffected CPANSec · cna

Weaknesses

2
  • CWE-338 CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) (CPANSec · cna)
  • CWE-338 CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) (CISA-ADP · adp)

References

13

Provider assertions

2

CPANSec · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
7638813f808f1324961305efc3b01aec35dfed08c7fde0c077af50c81a61cf15
Ingested
23 Sep 2026, 08:32:30 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected