CVE-2021-21022: Magento Insecure Direct Object Reference (IDOR) in the product module
Magento Insecure Direct Object Reference (IDOR) in the product module
Other sources
Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) are vulnerable to an insecure direct object reference (IDOR) in the product module. Successful exploitation could lead to unauthorized access to restricted resources.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/magento/community-editionto a version that resolves this vulnerability.Fixed in 2.4.1-p1 - Upgrade
Upgrade
composer/magento/community-editionto a version that resolves this vulnerability.Fixed in 2.3.6-p1
Event History
Frequently Asked Questions
What is CVE-2021-21022?
CVE-2021-21022 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 for an insecure direct object reference (IDOR) in the product module, potentially leading to unauthorized access to restricted resources.
How severe is CVE-2021-21022?
CVE-2021-21022 has a severity level of 5.3 out of 10, which is considered medium.
How can I fix CVE-2021-21022?
To fix CVE-2021-21022, you should update your Magento installation to version 2.4.2 (or later) if you are using Magento Commerce, or version 2.3.7 (or later) if you are using Magento Open Source.
Are all versions of Magento affected by CVE-2021-21022?
No, only Magento versions 2.4.1 and earlier, 2.4.0-p1 and earlier, and 2.3.6 and earlier are affected by CVE-2021-21022.
Where can I find more information about CVE-2021-21022?
You can find more information about CVE-2021-21022 on the Adobe Security Bulletin APSB21-08.