
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-40924 affects Catalyst::Plugin::Session before version 0.44 for Perl. The vulnerability was discovered and disclosed on July 17, 2025, and involves insecure session ID generation. The session ID is generated from a SHA-1 hash of low entropy components including a simple counter, epoch time, built-in rand function, process ID (PID), and the current Catalyst context (NVD).
The vulnerability stems from using predictable components to generate session IDs. The session ID generation process combines several elements: a counter, epoch time (which may be leaked through HTTP Date headers), the built-in rand function (unsuitable for cryptographic usage), process ID (PID), and the Catalyst context. The CVSS v3.1 score is 6.5 (Medium), with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N (NVD).
The vulnerability could allow attackers to predict session IDs, potentially leading to unauthorized system access. The predictable nature of the session ID components significantly reduces the entropy of the generated IDs, making them susceptible to brute force or guessing attacks (NVD).
The vulnerability has been fixed in version 0.44 of Catalyst::Plugin::Session by implementing Crypt::SysRandom to generate session IDs. The new implementation uses system entropy source to generate random bytes, providing a more secure method of session ID generation (GitHub Patch).
The security community has discussed the importance of using cryptographically secure random number generators for session ID generation. The patch was reviewed and merged after careful consideration of backward compatibility and security improvements (GitHub PR).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."