CVE-2024-21530
Versions of the package cocoon before 0.4.0 are vulnerable to …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/fadeevab/cocoon/issues/22
- github.com/fadeevab/cocoon/commit/1b6392173ce35db4736a94b62b2d2973f9a71441
- rustsec.org/advisories/RUSTSEC-2023-0068.html
- nvd.nist.gov/vuln/detail/CVE-2024-21530
- security.snyk.io/vuln/SNYK-RUST-COCOON-6028364
- github.com/advisories/GHSA-6878-6wc2-pf5h
- nvd.nist.gov/vuln/detail/CVE-2024-21530
- cve.org/CVERecord?id=CVE-2024-21530
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.