CVE-2021-21426
JSON

9.8critical

Fixes a bug in Zend Framework's Stream HTTP Wrapper

Severity
9.8critical CVSS:3.1 by GitHub_M
Exploit likelihood
1.24% (higher than 70% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-m496-x567-f98c

Description

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.

Affected

Product or packageVersionsReported by
OpenMage magento-lts<= 19.4.12, <= 20.0.8CVE List
openmage/magento-lts (Packagist)before 19.4.13, from 20.0.0 before 20.0.9GitHub Advisory Database
openmage magentobefore 19.4.13, from 20.0.0 before 20.0.9NVD

All scores

GitHub_M9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

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.

GitHub Advisory Database
Impact

CVE-2021-3007: Backport of Zend_Http_Response_Stream, 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

NVD (es)

Magento-lts es una alternativa de soporte a largo plazo a Magento Community Edition (CE).&#xa0;En magento-lts versiones 19.4.12 y anteriores y versiones 20.0.8 y anteriores, se presenta una vulnerabilidad causada por una deserialización no segura de un objeto.&#xa0;Un parche en versiones 19.4.13 y 20.0.9 fue actualizado desde Zend Framework 3. La vulnerabilidad fue asignada CVE-2021-3007 en Zend Framework

References

Sources

SourceRecordLicence
CVE ListCVE-2021-21426 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-m496-x567-f98c changed 2026-07-08CC-BY-4.0
NVDCVE-2021-21426 changed 2026-06-17Public domain