CVE-2021-21031: Magento Insufficient Session Expiration
5.6
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.3767%
CWE
Published
5/24/2022
Updated
2/10/2025
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| magento/community-edition | composer | >= 2.4.0, < 2.4.1-p1 | 2.4.1-p1 |
| magento/community-edition | composer | < 2.3.6 | 2.3.6 |
| magento/project-community-edition | composer | <= 2.0.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability description indicates insufficient session expiration but provides no specific code references, commit diffs, or patch details. Magento's session management is typically handled through PHP native session mechanisms and custom classes like Magento\Framework\Session\SessionManager, but without concrete evidence from patch comparisons or official documentation identifying specific flawed functions, we cannot confidently pinpoint exact vulnerable functions. The advisory describes the vulnerability at a architectural level rather than identifying specific method implementations.