Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| n/a / n/a | affected n/a |
CWE
No CWE identifiers supplied.
References
- https://github.com/magento/magento2/pull/15017
- http://www.openwall.com/lists/oss-security/2016/07/19/3
- http://www.openwall.com/lists/oss-security/2016/07/27/14
ADP enrichment
No English description supplied.