Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. magento/community-edition
  4. ›
  5. CVE-2021-21015

CVE-2021-21015: OS Command Injection

February 11, 2021 (updated November 9, 2023)

Magento is vulnerable to an OS command injection via the customer attribute save controller. Successful exploitation could lead to arbitrary code execution by an authenticated attacker. Access to the admin console is required for successful exploitation.

References

  • helpx.adobe.com/security/products/magento/apsb21-08.html
  • nvd.nist.gov/vuln/detail/CVE-2021-21015

Code Behaviors & Features

Detect and mitigate CVE-2021-21015 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.3.6, all versions starting from 2.4.0 up to 2.4.1

Fixed versions

  • 2.3.6
  • 2.4.1-p1

Solution

Upgrade to versions 2.3.6, 2.4.1-p1 or above.

Impact 8 HIGH

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

packagist/magento/community-edition/CVE-2021-21015.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:40 +0000.