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.
Advisories
Source ID Title
EUVD EUVD EUVD-2019-0751 Unauthenticated crypto and weak IV in Magento\Framework\Encryption
Github GHSA Github GHSA GHSA-h7qw-mxrm-c6h2 Unauthenticated crypto and weak IV in Magento\Framework\Encryption
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-06T01:29:20.240Z

Reserved: 2016-07-27T00:00:00

Link: CVE-2016-6485

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2017-03-01T20:59:00.220

Modified: 2025-04-20T01:37:25.860

Link: CVE-2016-6485

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses