Security Advisories (1)
CVE-2025-40931 (2026-03-05)

Apache::Session::Generate::MD5 versions through 1.94 for Perl create insecure session id. Apache::Session::Generate::MD5 generates session ids insecurely. The default session id generator returns a MD5 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.

Modules

A persistence framework for session data
An implementation of Apache::Session
An implementation of Apache::Session
Specify everything at runtime
Use MD5 to create random object IDs
Provides mutual exclusion using flock
Provides mutual exclusion using MySQL
Does not actually provides mutual exclusion
Provides mutual exclusion through sempahores
An implementation of Apache::Session
An implementation of Apache::Session
An implementation of Apache::Session
Use Storable and MIME::Base64 to zip up persistent data
Use Storable to zip up persistent data
Use Storable and pack() to zip up persistent data
Use DB_File to store persistent objects
Store persistent data on the filesystem
Store persistent data in a MySQL database
Store persistent data in a Oracle database
Store persistent data in a Postgres database

Provides

in Session/Store/DBI.pm

Examples