CVE-2024-21530
Last modified
CVE-2024-21530 is a medium-severity vulnerability rated 4.5/10 on the CVSS scale. 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.. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2024-21530?
How severe is CVE-2024-21530?
How do I fix CVE-2024-21530?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-21525All versions of the package node-twain are vulnerable to Imp…8.3
- CVE-2024-21526All versions of the package speaker are vulnerable to Denial…7.5
- CVE-2024-21527Versions of the package github.com/gotenberg/gotenberg/v8/pk…8.2
- CVE-2024-21528All versions of the package node-gettext are vulnerable to P…5.9
- CVE-2024-21529Versions of the package dset before 3.1.4 are vulnerable to …8.8
- CVE-2024-2153A vulnerability, which was classified as critical, was found…9.8
- CVE-2024-21531All versions of the package git-shallow-clone are vulnerable…5.3
- CVE-2024-21532All versions of the package ggit are vulnerable to Command I…7.3
- CVE-2024-21533All versions of the package ggit are vulnerable to Arbitrary…6.5
- CVE-2024-21534All versions of the package jsonpath-plus are vulnerable to …9.8
- CVE-2024-21535Versions of the package markdown-to-jsx before 7.4.0 are vul…6.1
- CVE-2024-21536Versions of the package http-proxy-middleware before 2.0.7, …7.5
Are you affected by CVE-2024-21530?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
