CVEvulnerability
CVE-2016-6485
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2017-03-01
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 7.5 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:P/I:N/A:N
- Weaknesses
- CWE-327
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 configurations
• magento magento2
Related
Weakness · CWE (1)
- CWE-327 Use of a Broken or Risky Cryptographic Algorithm weakness
Referenced by CWE · observed example (1)
- CWE-1204 Generation of Weak Initialization Vector (IV) weakness
References
- http://www.openwall.com/lists/oss-security/2016/07/19/3 Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2016/07/27/14 Mailing List, Third Party Advisory
- https://github.com/magento/magento2/pull/15017 github.com
- http://www.openwall.com/lists/oss-security/2016/07/19/3 Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2016/07/27/14 Mailing List, Third Party Advisory
- https://github.com/magento/magento2/pull/15017 github.com