GHSA-x377-f64p-hf5j

    Dashboard / Vulnerabilities / GHSA-x377-f64p-hf5j

    GHSA-x377-f64p-hf5j

    Published: 17 May 2022Last Modified: 21 Oct 2024

    Summary: PyCrypto does not properly reseed PRNG before allowing access

    Details: The Crypto.Random.atfork function in PyCrypto before 2.6.1 does not properly reseed the pseudo-random number generator (PRNG) before allowing a child process to access it, which makes it easier for context-dependent attackers to obtain sensitive information by leveraging a race condition in which a child process is created and accesses the PRNG within the same rate-limit period as another process.

    Affected packages

    Package

    Name: pycrypto

    Purl: pkg:pypi/pycrypto

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.6.1

    Affected versions

    1.9a2

    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
    GHSA-x377-f64p-hf5j | CVE-DB