Skip to content

Fixes a bug in Zend Framework's Stream HTTP Wrapper

Critical severity GitHub Reviewed Published Apr 20, 2021 in OpenMage/magento-lts • Updated Feb 1, 2023

Package

composer openmage/magento-lts (Composer)

Affected versions

<= 19.4.12
>= 20.0.0, <= 20.0.8

Patched versions

19.4.13
20.0.9

Description

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

References

@Flyingmana Flyingmana published to OpenMage/magento-lts Apr 20, 2021
Reviewed Apr 21, 2021
Published by the National Vulnerability Database Apr 21, 2021
Published to the GitHub Advisory Database Apr 22, 2021
Last updated Feb 1, 2023

Severity

Critical

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS score

0.408%
(74th percentile)

Weaknesses

CVE ID

CVE-2021-21426

GHSA ID

GHSA-m496-x567-f98c

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.