CVE-2024-21530

published 2 Oct 2024 · updated 2 Oct 2024

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…

4.5MediumCVSS 4.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 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. **Note:** The issue does NOT affect objects created with Cocoon::new which utilizes ThreadRng.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<0.4.00.4.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-21530 severity on Zeptric[![CVE-2024-21530](https://zeptric.io/badge/cve/CVE-2024-21530.svg)](https://zeptric.io/cve/CVE-2024-21530)