Skip to content
OpenAdvisories
High · 7.5 CVE-2016-6485 EUVD-2019-0751GHSA-h7qw-mxrm-c6h2

Unauthenticated crypto and weak IV in Magento\Framework\Encryption

Published Mar 1, 2017 · Updated Aug 6, 2024 · Assigned by mitre

Description

The __construct function in Framework/Encryption/Crypt.php in Magento 2 uses the PHP rand function to generate a random number for the initialization vector, which makes it easier for remote attackers to defeat cryptographic protection mechanisms by guessing the value.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist magento/community-edition >= 2.0, < 2.2.6 2.2.6 GHSA-h7qw-mxrm-c6h2
Packagist magento/project-community-edition >= 2.0, <= 2.0.2 — GHSA-h7qw-mxrm-c6h2

References