CVE-2021-21031
Magento Commerce Failure To Invalidate User Session Could Lead To Unauthorized Access
5.6
MEDIUM
CVSS 3.1
EPSS 0.17%
Description
Magento versions 2.4.1 (and earlier), 2.4.0 (and earlier) and 2.3.6 (and earlier) do not adequately invalidate user sessions. Successful exploitation could lead to unauthorized access to restricted resources. Access to the admin console is not required for successful exploitation.
How to fix CVE-2021-21031
To remediate CVE-2021-21031, upgrade the affected package to a fixed version below.
- —upgrade to 2.3.6 or later
- —upgrade to 2.4.1-p1 or later
- —no fix listed
Is CVE-2021-21031 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 2.3.6, >= 2.4.0, < 2.4.1
- >= 2.4.0, < 2.4.1-p1
- from 0, <= 2.0.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |