GHSA-h7qw-mxrm-c6h2
Unauthenticated crypto and weak IV in Magento\Framework\Encryption
At a glance
- Published
- Updated
- CVE
- CVE-2016-6485
- CVSS_V3
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
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
| Package | Versions |
|---|---|
| Packagist · magento/community-edition | introduced 2.0, fixed 2.2.6 |
| Packagist · magento/project-community-edition | introduced 2.0, last affected 2.0.2 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-6485 ADVISORY
- https://github.com/magento/magento2/pull/15017 WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2016-6485.yaml WEB
- http://www.openwall.com/lists/oss-security/2016/07/19/3 WEB
- http://www.openwall.com/lists/oss-security/2016/07/27/14 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |