01 Record
CVE-2024-21530
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
MediumPUBLISHEDCNA: snyk
CNA base score4.5 CVSS v3.xCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N/E:P
02 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
03 Exploitation and scoring
- Exploitation
- Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
- SSVC decision
- ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 0.14% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 3.3% of scored records. A rank, not a probability.
- NVD base score
- 4.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
- NVD analysis status
- Deferred. NVD last modified this record on 2026-06-17.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2024-10-02 05:00Z2 YR AGO
- Last updated
- 2024-10-02 13:42Z2 YR AGO
- Reserved
- 2023-12-22
- Assigning CNA
- snyk
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 4.5)
- CNA CVSS vector
- CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N/E:P
- Weaknesses
- CWE-323Reusing a Nonce, Key Pair in EncryptionBase
- Data version
- 5.1
- Document digest
- 5f48152da4267f0e47ba0b63daa9338cff9265d71f7555fd8b9b866a8a3cc426
05 Affected products
06 References
- security.snyk.iohttps://security.snyk.io/vuln/SNYK-RUST-COCOON-6028364
- github.comhttps://github.com/fadeevab/cocoon/issues/22
- github.comhttps://github.com/fadeevab/cocoon/commit/1b6392173ce35db4736a94b62b2d2973f9a71441
- rustsec.orghttps://rustsec.org/advisories/RUSTSEC-2023-0068.html
- github.comhttps://github.com/advisories/GHSA-6878-6wc2-pf5h