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.
{ "github_reviewed": true, "github_reviewed_at": "2019-11-19T01:07:44Z", "nvd_published_at": null, "cwe_ids": [ "CWE-327" ], "severity": "HIGH" }