CVE-2024-21530CWE-323
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…
Medium · published October 2, 2024
What it is
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.
The record
Technical detail
- CVSS v3.1
- 4.5 · MEDIUM
- Vector
- CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N/E:P
- CVSS v4.0
- Not supplied
- EPSS
- 0.00140 · 3.1th percentile
- Weakness
- CWE-323 · Reusing a Nonce, Key Pair in Encryption
- Published
- 2024-10-02T05:00Z
EPSS history
Timeline
02 OCT 05:00Z
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…
cvelistv5