CVE-2021-21016
Critical
Description
Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) are vulnerable to OS command injection via the WebAPI. Successful exploitation could lead to remote code execution by an authenticated attacker. Access to the admin console is required for successful exploitation.
SeverityCritical
CVSS9.1
Exploit probability—
Product
Magento
PublishedFeb 11, 2021
First seenFeb 11, 2021
Weakness typeCWE-78OS command injection
How to fix
Update
- magento magento2.3.6 or later
- magento/community-edition2.3.6-p1, 2.4.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| magento magento | v < 2.3.6, 2.3.6, 2.4.0, 2.4.1 | 2.3.6 |
| magento/community-editionPackagist | v < 2.3.6-p1, 2.4.0 ≤ v < 2.4.2 | 2.3.6-p1, 2.4.2 |
| magento/project-community-editionPackagist | v ≤ 2.0.2 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.