CVE-2021-21014: Magento vulnerable to a file upload restriction bypass
Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) are vulnerable to a file upload restriction bypass. Successful exploitation could lead to arbitrary code execution by an authenticated attacker. Access to the admin console is required for successful exploitation.
Other sources
Magento vulnerable to a file upload restriction bypass
— Packagist
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.2 - 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 the vulnerability ID for this Magento vulnerability?
The vulnerability ID for this Magento vulnerability is CVE-2021-21014.
What versions of Magento are affected by this vulnerability?
Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) are affected by this vulnerability.
What is the severity of CVE-2021-21014?
The severity of CVE-2021-21014 is critical with a CVSS score of 9.1.
What is the impact of this vulnerability?
Successful exploitation of this vulnerability could lead to arbitrary code execution by an authenticated attacker.
What is the recommended fix for this vulnerability?
To fix CVE-2021-21014, it is recommended to apply the latest patch provided by Magento.