{"id":"CVE-2021-21426","aliases":["CVE-2021-21426","GHSA-m496-x567-f98c"],"related":[],"kind":"vulnerability","state":"published","title":"Fixes a bug in Zend Framework's Stream HTTP Wrapper","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nCVE-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\n\nThis 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.\n\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\nv20.0.9 v19.4.13","format":"markdown","source":"ghsa"},{"lang":"es","text":"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","source":"nvd"}],"published":"2021-04-21T20:15:18.000Z","modified":"2026-07-08T06:28:25.589Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"version":"<= 19.4.12","status":"affected"},{"version":"<= 20.0.8","status":"affected"}],"vendor":"OpenMage","product":"magento-lts","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"19.4.13"}],"ecosystem":"Packagist","package":"openmage/magento-lts","purl":"pkg:composer/openmage/magento-lts","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"20.0.0","status":"affected","fixed":"20.0.9"}],"ecosystem":"Packagist","package":"openmage/magento-lts","purl":"pkg:composer/openmage/magento-lts","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"19.4.13"},{"status":"affected","introduced":"20.0.0","fixed":"20.0.9"}],"vendor":"openmage","product":"magento","cpe":"cpe:2.3:a:openmage:magento:*:*:*:*:lts:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/OpenMage/magento-lts/security/advisories/GHSA-m496-x567-f98c","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21426","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-21426","url":"https://www.cve.org/CVERecord?id=CVE-2021-21426","licence":"CVE Terms of Use","modified":"2024-08-03T18:09:16.157Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m496-x567-f98c","url":"https://github.com/advisories/GHSA-m496-x567-f98c","licence":"CC-BY-4.0","modified":"2026-07-08T06:28:25.589Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-21426","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21426","licence":"Public domain","modified":"2026-06-17T03:35:33.210Z"}],"updatedAt":"2026-11-25T22:58:00.878Z","epss":{"score":0.01245,"percentile":0.70126,"date":"2026-12-01T12:00:22.000Z"}}