CVE-2021-39217: Fix for arbitrary command execution in custom layout update through blocks

Published Jan 27, 2023
·
Updated

Impact Custom Layout enabled admin users to execute arbitrary commands via block methods.

Other sources

Fix for arbitrary command execution in custom layout update through blocks

— Packagist

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.

Affected Software

6 affected componentsFixes available
OpenMage Magento<19.4.22
OpenMage Magento>=20.0.0<20.0.19
composer/openmage/magento-lts>=20.0.0, <20.0.19
20.0.19
composer/openmage/magento-lts<19.4.22
19.4.22
composer/openmage/magento-lts>=20.0.0<20.0.19
20.0.19
composer/openmage/magento-lts<19.4.22
19.4.22

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/openmage/magento-lts to a version that resolves this vulnerability.

    Fixed in 20.0.19
  2. Upgrade

    Upgrade composer/openmage/magento-lts to a version that resolves this vulnerability.

    Fixed in 19.4.22
  3. Upgrade

    Upgrade OpenMage LTS to a version that resolves this vulnerability.

    Fixed in 19.4.22
  4. Upgrade

    Upgrade OpenMage LTS to a version that resolves this vulnerability.

    Fixed in 20.0.19

Event History

Jan 27, 2023
Advisory Published
via GitHub·12:54 AM
Data Sourced
via GitHub·12:54 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Packagist·12:54 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·05:57 PM
Data Sourced
via MITRE·05:57 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is CVE-2021-39217?

CVE-2021-39217 is a vulnerability in OpenMage LTS, an e-commerce platform, that allows arbitrary command execution for admin users with Custom Layout enabled.

2

What is the severity of CVE-2021-39217?

The severity of CVE-2021-39217 is high with a CVSS score of 7.2.

3

How can I check if my version of OpenMage LTS is affected by CVE-2021-39217?

To check if your version of OpenMage LTS is affected, please check the version number against either version 19.4.22 or versions between 20.0.0 and 20.0.19 (exclusive).

4

How do I fix CVE-2021-39217?

To fix CVE-2021-39217, update your OpenMage LTS installation to version 19.4.22 or version 20.0.19, both of which contain patches for the vulnerability.

5

Where can I find more information about CVE-2021-39217?

You can find more information about CVE-2021-39217 on the OpenMage GitHub repository at the following links: [Link1](https://github.com/OpenMage/magento-lts/commit/289bd4b4f53622138e3e5c2d2cef7502d780086f), [Link2](https://github.com/OpenMage/magento-lts/releases/tag/v19.4.22), [Link3](https://github.com/OpenMage/magento-lts/releases/tag/v20.0.19).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203