Skip to main content

CVE-2025-40923: CWE-340 Generation of Predictable Numbers or Identifiers in MIYAGAWA Plack::Middleware::Session

Unknown
VulnerabilityCVE-2025-40923cvecve-2025-40923cwe-340cwe-338
Published: Wed Jul 16 2025 (07/16/2025, 13:05:03 UTC)
Source: CVE Database V5
Vendor/Project: MIYAGAWA
Product: Plack::Middleware::Session

Description

Plack-Middleware-Session before version 0.35 for Perl generates session ids insecurely. The default session id generator returns a SHA-1 hash seeded with the built-in rand function, the epoch time, and the PID. 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.

Technical Details

Data Version
5.1
Assigner Short Name
CPANSec
Date Reserved
2025-04-16T09:05:34.362Z
Cvss Version
null
State
PUBLISHED

Threat ID: 6877a61aa83201eaacdb3fdc

Added to database: 7/16/2025, 1:16:10 PM

Last updated: 7/16/2025, 1:16:10 PM

Views: 1

Actions

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats