GHSA-96c6-m98x-hxjx: Zend-Session session validation vulnerability
6.5
CVSS Score
3.1
Basic Information
CVE ID
-
GHSA ID
EPSS Score
-
CWE
Published
6/7/2024
Updated
6/7/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| zendframework/zend-session | composer | >= 2.0.0, < 2.2.9 | 2.2.9 |
| zendframework/zend-session | composer | >= 2.3.0, < 2.3.4 | 2.3.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper session data handling in SessionManager::start(). The patch adds $_SESSION backup/merge logic to preserve validator metadata stored in $_SESSION['__ZF']['_VALID']. Without this merge, validators attached before session start would have their reference signatures erased during session initialization, making subsequent validation checks ineffective. The commit diff clearly shows the vulnerable code flow lacked this critical data preservation step prior to the fix.