Advisory

GHSA-m496-x567-f98c

Also known as: CVE-2021-21426

Summary

Fixes a bug in Zend Framework's Stream HTTP Wrapper

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

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-04-22 16:10 UTC
Modified
2026-07-08 06:28 UTC

Affected packages and fixes

openmage/magento-lts

Packagist · All systems

Affected

  • introduced 0, fixed 19.4.13 (ecosystem)

Fixed versions

19.4.13

Fix

The export has no generic command for this ecosystem.

openmage/magento-lts

Packagist · All systems

Affected

  • introduced 20.0.0, fixed 20.0.9 (ecosystem)

Fixed versions

20.0.9

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences