CVE-2024-20720 — Vulnerability in magento/community-edition — CVE...
Magento Open Source allows OS Command Injection
Summary
Advisory Timeline
- First published February 15, 2024 (970 days ago).
- Last revised March 4, 2025 — 383 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "magento/community-edition:^2.4.5-p6"
composer require "magento/community-edition:^2.4.6-p4"
composer require "magento/community-edition:^2.4.4-p7"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (7)
Affects 1 ecosystem: packagist (2).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| magento/community-edition | packagist | 2.4.5-p1, 2.4.5-p2, 2.4.5-p3, 2.4.5-p4 (+1 more) | 2.4.5-p6 |
| magento/community-edition | packagist | 2.4.6-p1, 2.4.6-p2, 2.4.6-p3 | 2.4.6-p4 |
| magento/community-edition | packagist | 2.4.5 | No fix available |
| magento/community-edition | packagist | 2.4.4-p1, 2.4.4-p2, 2.4.4-p3, 2.4.4-p4 (+2 more) | 2.4.4-p7 |
| magento/community-edition | packagist | 2.4.6 | No fix available |
| magento/project-community-edition | packagist | 0.1.0-alpha100, 0.1.0-alpha101, 0.1.0-alpha102, 0.1.0-alpha103 (+49 more) | Range-based data available |
| magento/community-edition | packagist | 2.4.4 | No fix available |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-78OS Command InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2024-20720?
- Magento Open Source allows OS Command Injection This vulnerability has been assigned a severity rating of HIGH (CVSS score: 9.1/10).
- How do I check if my project is affected by CVE-2024-20720?
- CVE-2024-20720 affects magento/community-edition and magento/project-community-edition. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-20720 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2020-9632CRITICAL
Magento security mitigation bypass vulnerability
- CVE-2020-9578CRITICAL
Magento command injection vulnerability
- CVE-2024-34102CRITICAL
Magento Open Source affected by an Improper Restriction of XML External Entity Reference ('XXE') vulnerability
- CVE-2019-7876HIGH
Magento 2 Community Edition RCE Vulnerability
- CVE-2025-49556HIGH
Magento has incorrect authorization issue that leads to arbitrary file system read
- CVE-2024-39403HIGH
Magento Stored Cross-Site Scripting (XSS) vulnerability
- CVE-2023-38208HIGH
Magento Open Source allows Improper Neutralization of Special Elements Used
- CVE-2024-39398HIGH
Magento does not properly restrict excessive authentication attempts
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies