Skip to content
Fencer Intel
medium 5.3

CVE-2021-21022 json

Magento Commerce Incorrect permissions Could Lead To Unauthorized Access

published 5y ago modified 2mo ago also BIT-magento-2021-21022 , EUVD-2022-3210 , GHSA-8pfq-g48p-x7w8

cvss
5.3
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
2.1%
EPSS 2.1% chance of exploitation in 30 days, percentile 82%
public exploits
0
none known

Summary

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.

Patch / fix

  • packagist magento/community-edition 2.3.6-p1, 2.4.1-p1
  • bitnami magento 2.3.6, 2.4.1
  • magento magento 2.3.6

Is CVE-2021-21022 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Exploit prediction

2.14% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CNA 3.0 5.3 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
GitHub 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:P/I:N/A:N
OSV 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected packages

ecosystem package affected fixed in
packagist magento/community-edition
<2.3.6-p1
>=2.4.0, <2.4.1-p1
2.3.6-p1
2.4.1-p1
packagist magento/project-community-edition
<=2.0.2
no fix listed
bitnami magento
<2.3.6
>=2.4.0, <2.4.1
2.3.6
2.4.1

Affected products

  • Adobe Magento Commerce

Classification

Weakness
  • CWE-639 Authorization Bypass Through User-Controlled Key
  • CWE-285 Improper Authorization

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.