CVE-2024-21530

MEDIUM
4.5
CVSS Score
Published: October 2, 2024 at 05:00 AM UTC
Updated: June 17, 2026 at 07:09 AM UTC
2 products affected across 2 vendorsCocoonCocoon

Using cocoon by N/A?

Get instant alerts when new vulnerabilities affect cocoon - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.5
Exploit prediction
EPSS 0.1%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 0.4.0
Affected range stops below 0.4.0, so it looks safe — our inference, not a vendor statement
v < 0.4.0
Affected range stops below 0.4.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

4.5MEDIUMsnyk
Attack Vector
LOCAL
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-323

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card