CVE-2016-6485

HIGH

Magento 2 - Use of a Broken or Risky Cryptographic Algorithm in Framework/Encryption/Crypt.php

Title source: llm
STIX 2.1

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.

References (3)

Core 3
Core References
Issue Tracking x_refsource_confirm
https://github.com/magento/magento2/pull/15017
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2016/07/19/3
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2016/07/27/14

Scores

CVSS v3 7.5
EPSS 0.0008
EPSS Percentile 24.3%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Details

CWE
CWE-327
Status published
Products (3)
magento/community-edition 2.0 - 2.2.6Packagist
magento/magento2
magento/project-community-edition 2.0Packagist
Published Mar 01, 2017
Tracked Since Feb 18, 2026