{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2021-39217",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2021-08-16T20:13:27.756Z",
        "datePublished": "2023-01-27T17:57:58.255Z",
        "dateUpdated": "2024-08-04T01:58:18.185Z"
    },
    "containers": {
        "cna": {
            "title": "OpenMage LTS arbitrary command execution in custom layout update through blocks",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-77",
                            "lang": "en",
                            "description": "CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 7.2,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "HIGH",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/OpenMage/magento-lts/security/advisories/GHSA-c9q3-r4rv-mjm7",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/OpenMage/magento-lts/security/advisories/GHSA-c9q3-r4rv-mjm7"
                },
                {
                    "name": "https://github.com/OpenMage/magento-lts/commit/289bd4b4f53622138e3e5c2d2cef7502d780086f",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/OpenMage/magento-lts/commit/289bd4b4f53622138e3e5c2d2cef7502d780086f"
                },
                {
                    "name": "https://github.com/OpenMage/magento-lts/releases/tag/v19.4.22",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/OpenMage/magento-lts/releases/tag/v19.4.22"
                },
                {
                    "name": "https://github.com/OpenMage/magento-lts/releases/tag/v20.0.19",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/OpenMage/magento-lts/releases/tag/v20.0.19"
                }
            ],
            "affected": [
                {
                    "vendor": "OpenMage",
                    "product": "magento-lts",
                    "versions": [
                        {
                            "version": "< 19.4.22",
                            "status": "affected"
                        },
                        {
                            "version": ">= 20.0.0, < 20.0.19",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-01-27T17:57:58.255Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "OpenMage LTS is an e-commerce platform. Prior to versions 19.4.22 and 20.0.19, Custom Layout enabled admin users to execute arbitrary commands via block methods. Versions 19.4.22 and 20.0.19 contain patches for this issue."
                }
            ],
            "source": {
                "advisory": "GHSA-c9q3-r4rv-mjm7",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-04T01:58:18.185Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/OpenMage/magento-lts/security/advisories/GHSA-c9q3-r4rv-mjm7",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/OpenMage/magento-lts/security/advisories/GHSA-c9q3-r4rv-mjm7"
                    },
                    {
                        "name": "https://github.com/OpenMage/magento-lts/commit/289bd4b4f53622138e3e5c2d2cef7502d780086f",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/OpenMage/magento-lts/commit/289bd4b4f53622138e3e5c2d2cef7502d780086f"
                    },
                    {
                        "name": "https://github.com/OpenMage/magento-lts/releases/tag/v19.4.22",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/OpenMage/magento-lts/releases/tag/v19.4.22"
                    },
                    {
                        "name": "https://github.com/OpenMage/magento-lts/releases/tag/v20.0.19",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/OpenMage/magento-lts/releases/tag/v20.0.19"
                    }
                ]
            }
        ]
    }
}