magento/magento2 · Security
Magento vulnerable to a file upload restriction bypass
- GHSA ID
- GHSA-269w-pqc7-68q9
- CVE ID
- CVE-2021-21014
- Severity
- critical
- Published
- Updated
- CVSS
- 9.1 · CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- CVSS v3
- 9.1 · CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Description
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.
CWEs
- CWE-434 · Unrestricted Upload of File with Dangerous Type
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-21014 ↗
- https://helpx.adobe.com/security/products/magento/apsb21-08.html ↗
- https://github.com/magento/magento2/commit/a2eb7e29ea92a8bbc86c3b6b81b59d8533088497 ↗
- https://github.com/magento/magento2/commit/a349e022c9ae070e7da262021f9ef182105aa00b ↗
- https://github.com/advisories/GHSA-269w-pqc7-68q9 ↗