SCA: security update for magento/community-edition (GHSA-2pq5-gpqf-g4r3)

high Tenable Self-Hosted Container Security Plugin ID 436015

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Magento Commerce versions 2.4.2 (and earlier), 2.4.2-p1 (and earlier) and 2.3.7 (and earlier) are affected
by an improper input validation vulnerability. An attacker with admin privileges can upload a specially
crafted file to bypass file extension restrictions and could lead to remote code execution.
(CVE-2021-36040)

See Also

https://github.com/advisories/GHSA-2pq5-gpqf-g4r3

Plugin Details

Severity: High

ID: 436015

Version: Revision 1.2

Type: Local

Family: SCA Checks

Published: 11/8/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.12

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 4.8

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P

CVSS Score Source: CVE-2021-36040

CVSS v3

Risk Factor: High

Base Score: 7.2

Temporal Score: 6.3

Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/24/2022

Vulnerability Publication Date: 8/10/2021

Reference Information

CVE: CVE-2021-36040

cwe: CWE-20