CVE-2025-40924
published medium CVSS 3.1 · 6.5Catalyst::Plugin::Session before version 0.44 for Perl generates session ids insecurely
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| HAARG | — | Catalyst-Plugin-SessionCatalyst::Plugin::Session · 0.01 to < 0.44 · Other versions: unaffected | Affected | Not stated | CPANSec |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 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:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| HAARG | Catalyst::Plugin::Session | 0.01 to < 0.44 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
2- CWE-340 CWE-340 Generation of Predictable Numbers or Identifiers
- CWE-338 CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator
References
3Provider assertions
2CPANSec · cna
Catalyst::Plugin::Session before version 0.44 for Perl generates session ids insecurely
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- bba321bf54026182692d98d863e0b54921e446a7bc2b265023667984d423867a
- Ingested
- 23 Sep 2026, 08:48:23 UTC
- Source record
- Official CVE record