ADVISORIES

GitHub Advisory Database

GHSA-m496-x567-f98c

Fixes a bug in Zend Framework's Stream HTTP Wrapper

Critical CVE-2021-21426

Details

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

Affected packages

EcosystemPackageAffected versions
Packagistopenmage/magento-lts
All versions before 19.4.13 (fixed in 19.4.13)
Packagistopenmage/magento-lts
From 20.0.0 before 20.0.9 (fixed in 20.0.9)

References