CVE-2016-6485
HIGH7.5EPSS 0.08%Unauthenticated crypto and weak IV in Magento\Framework\Encryption
Published: 11/20/2019Modified: 2/10/2025
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 packages (2)
- Packagist/magento/community-edition>= 2.0, < 2.2.6
- Packagist/magento/project-community-edition>= 2.0, <= 2.0.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
References (5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2016-6485
- WEBhttps://github.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2016-6485.yaml
- WEBhttps://github.com/magento/magento2/pull/15017
- WEBhttp://www.openwall.com/lists/oss-security/2016/07/19/3
- WEBhttp://www.openwall.com/lists/oss-security/2016/07/27/14