Apache::Session::Generate::SHA256 versions before 1.3.19 for Perl create insecure session ids
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| GUIMARD | Apache::Session::Generate::SHA256 | unaffected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Guimard | Apache::session::generate::sha256 |
|
Vendor Workaround
Upgrade to version 1.3.19 or later.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.243% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:guimard:apache\:\:session\:\:generate\:\:sha256:*:*:*:*:*:perl:*:* |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Guimard apache\
|
|
| CPEs | cpe:2.3:a:guimard:apache\:\:session\:\:generate\:\:sha256:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Guimard apache\
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Guimard
Guimard apache::session::generate::sha256 |
|
| Vendors & Products |
Guimard
Guimard apache::session::generate::sha256 |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Apache::Session::Generate::SHA256 versions before 1.3.19 for Perl create insecure session ids. Apache::Session::Generate::SHA256 generated session ids insecurely. The default session id generator returns a SHA-256 hash of the built-in rand() function, the epoch time, and the PID, that is hashed again. These are predictable, low-entropy sources. Predicable session ids could allow an attacker to gain access to systems. Note that version 1.3.19 has a fallback without warning to use insecure session generation method if the call to Crypt::URandom::urandom fails. However, this is unlikely as Crypt::URandom is a hardcoded requirement of the module. This issue is similar to CVE-2025-40931 for Apache::Session::Generate::MD5. | |
| Title | Apache::Session::Generate::SHA256 versions before 1.3.19 for Perl create insecure session ids | |
| Weaknesses | CWE-338 CWE-340 |
|
| References |
|
|