CVE-2021-39217
HIGH 7.2CVSS 3.1Fix for arbitrary command execution in custom layout update through blocks
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.
- Published
- 27 Jan 2023
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-77
- Also known as
- GHSA-c9q3-r4rv-mjm7
- Sources
- NVDJSONOSV GHSA-c9q3-r4rv-mjm7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openmage | magentocpe:2.3:a:openmage:magento:*:*:*:*:lts:*:*:* |
< 19.4.22 | 19.4.22 |
| NVD | openmage | magentocpe:2.3:a:openmage:magento:*:*:*:*:lts:*:*:* |
>= 20.0.0, < 20.0.19 | 20.0.19 |
| OSV | Packagist | openmage/magento-lts | < 19.4.22 | 19.4.22 |
| OSV | Packagist | openmage/magento-lts | >= 20.0.0, < 20.0.19 | 20.0.19 |
References
- https://github.com/OpenMage/magento-lts/commit/289bd4b4f53622138e3e5c2d2cef7502d780086f · Patch, Third Party Advisory, WEB
- https://github.com/OpenMage/magento-lts/releases/tag/v19.4.22 · Release Notes, Third Party Advisory, WEB
- https://github.com/OpenMage/magento-lts/releases/tag/v20.0.19 · Release Notes, Third Party Advisory, WEB
- https://github.com/OpenMage/magento-lts/security/advisories/GHSA-c9q3-r4rv-mjm7 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-39217 · ADVISORY
- https://github.com/OpenMage/magento-lts · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 27 Jan 2023)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 27 Jan 2023)