CVE-2021-21022:
Magento Insecure Direct Object Reference (IDOR) in the product module
5.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.30817%
CWE
Published
5/24/2022
Updated
2/10/2025
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
magento/community-edition | composer | < 2.3.6-p1 | 2.3.6-p1 |
magento/community-edition | composer | >= 2.4.0, < 2.4.1-p1 | 2.4.1-p1 |
magento/project-community-edition | composer | <= 2.0.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability is an IDOR in the product module tied to improper authorization (CWE-285/639). Admin product edit controllers are high-value targets for such flaws. Magento's Product\Edit
controller would naturally handle product IDs from requests, and historical patching patterns show similar vulnerabilities were addressed by adding ACL checks in this context. While no direct code diffs are available, the combination of the vulnerability type, affected component (product module), and CWE mapping strongly implicates this entry point.