SQL Injection Affecting magento/community-edition package, versions <2.3.6-p1>=2.4.0, <2.4.2


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.07% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-MAGENTOCOMMUNITYEDITION-1071038
  • published10 Feb 2021
  • disclosed10 Feb 2021
  • creditWohlie

Introduced: 10 Feb 2021

CVE-2021-21024  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade magento/community-edition to version 2.3.6-p1, 2.4.2 or higher.

Overview

magento/community-edition is a modern cloud eCommerce platform.

Affected versions of this package are vulnerable to SQL Injection. The vulnerability allows a remote administrator to execute arbitrary SQL queries in database.

The vulnerability exists due to insufficient sanitization of user-supplied data. A remote authenticated administrator can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.

Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.

CVSS Scores

version 3.1