CVE-2025-40924: Catalyst::Plugin::Session before version 0.44 for Perl generates session ids insecurely
Catalyst::Plugin::Session before version 0.44 for Perl generates session ids insecurely.
The session id is generated from a (usually SHA-1) hash of a simple counter, the epoch time, the built-in rand function, the PID and the current Catalyst context. This information is of low entropy. The PID will come from a small set of numbers, and the epoch time may be guessed, if it is not leaked from the HTTP Date header. The built-in rand function is unsuitable for cryptographic usage.
Predicable session ids could allow an attacker to gain access to systems.
Affected Software
Remediation
Information
Event History
Frequently Asked Questions
What is the severity of CVE-2025-40924?
The severity of CVE-2025-40924 is high due to the insecure generation of session IDs leading to potential session hijacking.
How do I fix CVE-2025-40924?
To fix CVE-2025-40924, upgrade Catalyst::Plugin::Session to version 0.44 or later.
What systems are affected by CVE-2025-40924?
CVE-2025-40924 affects versions of Catalyst::Plugin::Session prior to 0.44.
Why is CVE-2025-40924 a concern for developers?
CVE-2025-40924 is a concern because it can allow attackers to predict session IDs and hijack user sessions.
How does CVE-2025-40924 impact user security?
CVE-2025-40924 impacts user security by potentially exposing sensitive session information to attackers.