VYPR

crates.io package

cocoon

pkg:cargo/cocoon

Vulnerabilities (1)

  • CVE-2024-21530MedOct 2, 2024
    affected < 0.4.0fixed 0.4.0

    Versions of the package cocoon before 0.4.0 are vulnerable to Reusing a Nonce, Key Pair in Encryption when the encrypt, wrap, and dump functions are sequentially called. An attacker can generate the same ciphertext by creating a new encrypted message with the same cocoon object.