MEDIUM4.3
GHSA-h4xc-577p-hgj9
Magento cross-site request forgery (CSRF) vulnerability via the GraphQL API
Quick fix
GHSA-h4xc-577p-hgj9 — magento/community-edition: upgrade to the fixed version with the command below.
composer require magento/community-edition:^2.3.6-p1Details
Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) are affected by a cross-site request forgery (CSRF) vulnerability via the GraphQL API. Successful exploitation could lead to unauthorized modification of customer metadata by an unauthenticated attacker. Access to the admin console is not required for successful exploitation.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/magento/community-edition
Introduced in:
0Fixed in: 2.3.6-p1Fix
composer require magento/community-edition:^2.3.6-p1Packagist/magento/community-edition
Introduced in:
2.4.0Fixed in: 2.4.2Fix
composer require magento/community-edition:^2.4.2Packagist/magento/project-community-edition
Introduced in:
0No fixed version published yet for magento/project-community-edition (composer). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-21027[ADVISORY]
- https://github.com/magento/magento2/commit/a2eb7e29ea92a8bbc86c3b6b81b59d8533088497[WEB]
- https://github.com/magento/magento2/commit/a349e022c9ae070e7da262021f9ef182105aa00b[WEB]
- https://github.com/magento/magento2[PACKAGE]
- https://helpx.adobe.com/security/products/magento/apsb21-08.html[WEB]