bcryptify@1.1.1 vulnerabilities

Bcryptify is a modern and elegant Python library designed to simplify the use of cryptographic algorithms, while adhering to SOLID principles to ensure clean, extensible, and maintainable code.

  • latest version

    1.1.2

  • latest non vulnerable version

  • first published

    3 months ago

  • latest version published

    2 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the bcryptify package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Insecure Randomness

    bcryptify is a Bcryptify is a modern and elegant Python library designed to simplify the use of cryptographic algorithms, while adhering to SOLID principles to ensure clean, extensible, and maintainable code.

    Affected versions of this package are vulnerable to Insecure Randomness via the encrypt function in the aes_gcm.py file, which fails to generate unique nonces for each encryption operation. An attacker can recover authentication keys, forge messages, and potentially decrypt all encrypted data by exploiting the mathematical properties of the reused nonce-key pairs.

    How to fix Insecure Randomness?

    Upgrade bcryptify to version 1.1.2 or higher.

    [,1.1.2)