GHSA-h7qw-mxrm-c6h2

    Dashboard / Vulnerabilities / GHSA-h7qw-mxrm-c6h2

    GHSA-h7qw-mxrm-c6h2

    Published: 20 Nov 2019Last Modified: 10 Feb 2025
    Aliases:

    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.

    Affected packages

    Package

    Name: magento/community-edition

    Purl: pkg:composer/magento/community-edition

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 2.0
    Fixed -2.2.6

    Affected versions

    2.0.0
    2.0.0-rc
    2.0.0-rc2
    2.0.1
    2.0.10
    2.0.11
    2.0.12
    2.0.13
    2.0.14
    2.0.15
    2.0.16
    2.0.17
    2.0.18
    2.0.2
    2.0.3
    2.0.4
    2.0.5
    2.0.6
    2.0.7
    2.0.8
    2.0.9

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High