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.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2019-0751 | Unauthenticated crypto and weak IV in Magento\Framework\Encryption |
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.
References
History
No history.
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-06T01:29:20.240Z
Reserved: 2016-07-27T00:00:00
Link: CVE-2016-6485
No data.
Status : Deferred
Published: 2017-03-01T20:59:00.220
Modified: 2025-04-20T01:37:25.860
Link: CVE-2016-6485
No data.
OpenCVE Enrichment
No data.
EUVD
Github GHSA