Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2024-58135
mojolicious

Score5.3 Medium
CVSS 3.1
Exploit probability (EPSS)1.0%
within the next 30 days
CategoryCryptographic weakness
Published3 May 2025
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.

Impact is limited: reading confidential data.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official 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.

CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Weakness: CWE-338

Affected products

VendorProductVersions
mojoliciousmojolicious>=7.28 <=9.40

Sources

Latest in the same category

  • CVE-2026-140099 Low 3.7
    Forge, also called node-forge, is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.4, pki.privateKeyFromPem() and pki.privateKeyFromAsn1() ignore the RSAPrivateKey version and…
    Cryptographic weakness · 30 November 2026
  • CVE-2026-140014 Medium 6.5
    cookie is an HTTP cookie parsing and cookie jar management library for Rust. From 0.11.3 until 0.12.0 and from 0.14.0 until 0.18.3, PrivateJar generates AES-256-GCM nonces with rand::thread_rng(), whose buffered state…
    Cryptographic weakness · 30 November 2026
  • CVE-2026-126783 Medium 6.8
    Fortra's Globalscape EFT uses a predictable pseudo-random number generator when creating web authentication and session-related tokens. An authenticated attacker can collect tokens, recover the generator state, predict…
    Cryptographic weakness · 30 November 2026
  • CVE-2026-139881 Medium 6.3
    libexpat 2.2.3 through 2.11.0 contains an insufficient entropy vulnerability in writeRandomBytes_dev_urandom() that falls back to a predictable hash salt after short reads. Attackers can craft XML documents with names…
    Cryptographic weakness · 30 November 2026
  • CVE-2026-137021 High 8.2
    Enclave OS Mini is a Rust-based runtime for confidential applications inside Intel SGX enclaves. Prior to enclave-vaults version 0.33.0, Enclave OS Mini's handle_wrap operation accepted the caller-supplied iv_b64 value…
    Cryptographic weakness · 30 November 2026
  • CVE-2026-81069 Low 2.5
    Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains a Use of Insufficiently Random Values vulnerability. A low privileged local attacker could potentially exploit this vulnerability,…
    Cryptographic weakness · 30 November 2026