CVE-2025-40924

Source
https://cve.org/CVERecord?id=CVE-2025-40924
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40924.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-40924
Downstream
Published
2025-07-17T14:15:31.227Z
Modified
2026-03-14T12:42:41.620Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/perl-catalyst/Catalyst-Plugin-Session

Affected ranges

Type
GIT
Repo
https://github.com/perl-catalyst/Catalyst-Plugin-Session
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.44"
        }
    ]
}
Type
GIT
Repo
https://github.com/perl-catalyst/catalyst-plugin-session
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*
0.35
0.36
0.40
0.41
v0.*
v0.01
v0.02
v0.03
v0.04
v0.05
v0.06
v0.09
v0.11
v0.12
v0.13
v0.15
v0.16
v0.17
v0.18
v0.19
v0.19_01
v0.20
v0.21
v0.22
v0.23
v0.24
v0.25
v0.26
v0.26_01
v0.27
v0.28
v0.29
v0.30
v0.31
v0.32
v0.34
v0.42
v0.43

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40924.json"