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

PackageVersions
Packagist · magento/community-editionintroduced 2.0, fixed 2.2.6
Packagist · magento/project-community-editionintroduced 2.0, last affected 2.0.2

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database