CVE-2021-36042

Source
https://cve.org/CVERecord?id=CVE-2021-36042
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-36042.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-36042
Aliases
Published
2021-09-01T15:15:10Z
Modified
2026-07-08T05:59:46Z
Severity
  • 7.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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 in the API File Option Upload Extension. An attacker with Admin privileges can achieve unrestricted file upload which can result in remote code execution.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:a:adobe:adobe_commerce:*:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "2.3.0"
                },
                {
                    "last_affected": "2.3.7"
                },
                {
                    "introduced": "2.4.0"
                },
                {
                    "last_affected": "2.4.2"
                }
            ],
            "source": "CPE_RANGE",
            "vendor_product": "adobe:adobe_commerce"
        },
        {
            "cpes": [
                "cpe:2.3:a:adobe:adobe_commerce:2.4.2:p1:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "2.4.2-p1"
                },
                {
                    "last_affected": "2.4.2-p1"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "adobe:adobe_commerce"
        }
    ]
}
References

Affected packages

Git / github.com/magento/magento2

Affected ranges

Type
GIT
Repo
https://github.com/magento/magento2
Events
Database specific
Show details
{
    "cpe": [
        "cpe:2.3:a:adobe:magento_open_source:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:adobe:magento_open_source:2.4.2:p1:*:*:*:*:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "2.3.0"
        },
        {
            "last_affected": "2.3.7"
        },
        {
            "introduced": "2.4.0"
        },
        {
            "last_affected": "2.4.2"
        },
        {
            "introduced": "2.4.2-p1"
        },
        {
            "last_affected": "2.4.2-p1"
        }
    ],
    "source": [
        "CPE_RANGE",
        "CPE_STRING"
    ]
}

Affected versions

2.*
2.4.2-p1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-36042.json"