CVE-2024-21530

State
Published
Severity
4.5 Medium
Published
Oct 2, 2024
Updated
Oct 2, 2024
Reserved
Dec 22, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.5 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N/E:Psnyk

Weaknesses

  • CWE-323 Reusing a Nonce, Key Pair in Encryption

Affected Products

ProductVersions
cocoonn/a
  • before 0.4.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.