CVE-2021-21426: Fixes a bug in Zend Framework's Stream HTTP Wrapper

Published Apr 21, 2021
·
Updated

Impact CVE-2021-3007: Backport of ZendHttpResponseStream, added certain type checking as a way to prevent exploitation. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3007

This vulnerability is caused by the unsecured deserialization of an object. In versions higher than Zend Framework 3.0.0, the attacker abuses the Zend3 feature that loads classes from objects in order to upload and execute malicious code in the server. The code can be uploaded using the “callback” parameter, which in this case inserts a malicious code instead of the “callbackOptions” array.

Patches Has the problem been patched? What versions should users upgrade to? v20.0.9 v19.4.13

Other sources

Fixes a bug in Zend Framework's Stream HTTP Wrapper

— Packagist

Magento-lts is a long-term support alternative to Magento Community Edition (CE). In magento-lts versions 19.4.12 and prior and 20.0.8 and prior, there is a vulnerability caused by the unsecured deserialization of an object. A patch in versions 19.4.13 and 20.0.9 was back ported from Zend Framework 3. The vulnerability was assigned CVE-2021-3007 in Zend Framework.

— MITRE

Affected Software

6 affected componentsFixes available
OpenMage Magento<19.4.13
OpenMage Magento>=20.0.0<20.0.9
composer/openmage/magento-lts>=20.0.0, <=20.0.8
composer/openmage/magento-lts<=19.4.12
composer/openmage/magento-lts>=20.0.0<=20.0.8
20.0.9
composer/openmage/magento-lts<=19.4.12
19.4.13

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.9
  2. Upgrade

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

    Fixed in 19.4.13
  3. Upgrade

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

    Fixed in 19.4.13
  4. Upgrade

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

    Fixed in 20.0.9

Event History

Apr 21, 2021
CVE Published
via MITRE·08:15 PM
Data Sourced
via MITRE·08:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 PM
DescriptionSeverityWeaknessAffected Software
Apr 22, 2021
Advisory Published
via GitHub·04:10 PM
Data Sourced
via GitHub·04:10 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Packagist·04:10 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2021-21426?

CVE-2021-21426 is a vulnerability in Magento-lts versions 19.4.12 and prior and 20.0.8 and prior.

2

What is the severity of CVE-2021-21426?

The severity of CVE-2021-21426 is critical with a CVSS score of 9.8.

3

How does CVE-2021-21426 affect Magento-lts?

CVE-2021-21426 affects Magento-lts versions 19.4.12 and prior and 20.0.8 and prior.

4

How can I fix CVE-2021-21426?

To fix CVE-2021-21426, update to versions 19.4.13 and 20.0.9 of Magento-lts.

5

Is there a patch available for CVE-2021-21426?

Yes, a patch is available in versions 19.4.13 and 20.0.9 of Magento-lts.

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