Advisory

GHSA-h7qw-mxrm-c6h2

Also known as: CVE-2016-6485

Summary

Unauthenticated crypto and weak IV in Magento\Framework\Encryption

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2019-11-20 01:33 UTC
Modified
2025-02-10 20:19 UTC

Affected packages and fixes

magento/community-edition

Packagist · All systems

Affected

  • introduced 2.0, fixed 2.2.6 (ecosystem)

Fixed versions

2.2.6

Fix

The export has no generic command for this ecosystem.

magento/project-community-edition

Packagist · All systems

Affected

  • introduced 2.0, last affected 2.0.2 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences