CVE-2021-21031: Magento Commerce Failure To Invalidate User Session Could Lead To Unauthorized Access

Published Feb 11, 2021
·
Updated

Magento versions 2.4.1 (and earlier), 2.4.0-p1 (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.

Affected Software

13 affected componentsFixes available
composer/magento/project-community-edition<=2.0.2
composer/magento/community-edition<2.3.6
2.3.6
composer/magento/community-edition>=2.4.0<2.4.1-p1
2.4.1-p1
Magento Magento<2.3.6
Magento Magento<2.3.6
Magento Magento=2.3.6
Magento Magento=2.3.6
Magento Magento=2.4.0
Magento Magento=2.4.0
Magento Magento=2.4.0-p1
Magento Magento=2.4.0-p1
Magento Magento=2.4.1
Magento Magento=2.4.1

Event History

Feb 11, 2021
CVE Published
via MITRE·07:28 PM
Data Sourced
via MITRE·07:28 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeaknessAffected Software
May 24, 2022
Advisory Published
via GitHub·05:41 PM

Frequently Asked Questions

1

What is CVE-2021-21031?

CVE-2021-21031 is a vulnerability in Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier), and 2.3.6 (and earlier) that allows unauthorized access to restricted resources due to inadequate invalidation of user sessions.

2

How severe is CVE-2021-21031?

CVE-2021-21031 has a severity rating of 5.6 (out of 10).

3

Which versions of Magento are affected by CVE-2021-21031?

Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier), and 2.3.6 (and earlier) are affected by CVE-2021-21031.

4

How can CVE-2021-21031 be exploited?

Successful exploitation of CVE-2021-21031 could lead to unauthorized access to restricted resources, without requiring access to the admin console.

5

Where can I find more information about CVE-2021-21031?

More information about CVE-2021-21031 can be found at the following link: [https://helpx.adobe.com/security/products/magento/apsb21-08.html].

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203