CVE-2024-21530

Medium

Description

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. **Note:** The issue does NOT affect objects created with Cocoon::new which utilizes ThreadRng.

SeverityMedium
CVSS4.5
Exploit probability—
ProductCocoon
PublishedOct 2, 2024
First seenOct 2, 2024
Weakness typeCWE-323CWE-323

How to fix

Update
  • cocoon0.4.0 or later

Affected products

ProductAffected versionsFixed in
cocoonv < 0.4.00.4.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.