CVE-2021-21022
MEDIUM 5.3CVSS 3.1Magento Insecure Direct Object Reference (IDOR) in the product module
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.
- Published
- 11 Feb 2021
- Last modified
- 17 Jun 2026
- Assigned by
- psirt@adobe.com
- NVD status
- Modified
- Weakness
- CWE-285CWE-639
- Also known as
- BIT-magento-2021-21022GHSA-8pfq-g48p-x7w8
- Sources
- NVDJSONOSV GHSA-8pfq-g48p-x7w8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | psirt@adobe.com (Secondary) | CVSS 3.0 | MEDIUM 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | magento | magentocpe:2.3:a:magento:magento:*:*:*:*:commerce:*:*:* |
< 2.3.6 | 2.3.6 |
| NVD | magento | magentocpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:* |
< 2.3.6 | 2.3.6 |
| NVD | magento | magentocpe:2.3:a:magento:magento:2.3.6:-:*:*:commerce:*:*:* |
= 2.3.6 | |
| NVD | magento | magentocpe:2.3:a:magento:magento:2.3.6:-:*:*:open_source:*:*:* |
= 2.3.6 | |
| NVD | magento | magentocpe:2.3:a:magento:magento:2.4.0:-:*:*:commerce:*:*:* |
= 2.4.0 | |
| NVD | magento | magentocpe:2.3:a:magento:magento:2.4.0:-:*:*:open_source:*:*:* |
= 2.4.0 | |
| NVD | magento | magentocpe:2.3:a:magento:magento:2.4.0:p1:*:*:commerce:*:*:* |
= 2.4.0 | |
| NVD | magento | magentocpe:2.3:a:magento:magento:2.4.0:p1:*:*:open_source:*:*:* |
= 2.4.0 | |
| NVD | magento | magentocpe:2.3:a:magento:magento:2.4.1:-:*:*:commerce:*:*:* |
= 2.4.1 | |
| NVD | magento | magentocpe:2.3:a:magento:magento:2.4.1:-:*:*:open_source:*:*:* |
= 2.4.1 | |
| OSV | Packagist | magento/community-edition | < 2.3.6-p1 | 2.3.6-p1 |
| OSV | Packagist | magento/community-edition | >= 2.4.0, < 2.4.1-p1 | 2.4.1-p1 |
| OSV | Packagist | magento/project-community-edition | <= 2.0.2 |
References
- https://helpx.adobe.com/security/products/magento/apsb21-08.html · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-21022 · ADVISORY
- https://github.com/magento/magento2 · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 11 Feb 2021)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 24 May 2022)