crates.io (Rust)Worst: Moderate2 advisories

cocoon: known vulnerabilities

cocoon has 2 reviewed security advisories in the GitHub Advisory Database — 2 moderate. The most recent was published 2024-10-02. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the cocoon versions running across your servers, containers and images, and ranks what to patch first.

How to fix cocoon

Upgrade cocoon to a release at or above the fixed version shown for each advisory below. For crates.io (Rust):

cargo update -p cocoon --precise 0.4.0 (cargo audit)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (2)

Duplicate Advisory: cocoon Reuses a Nonce, Key Pair in Encryption Moderate 4.5 CWE-323 — Affected: before 0.4.0. Fixed in 0.4.0. Published 2024-10-02. GHSA-r2jw-c95q-rj29 · CVE-2024-21530
Sequential calls of encryption API (`encrypt`, `wrap`, and `dump`) result in nonce reuse Moderate 4.5 — Affected: before 0.4.0. Fixed in 0.4.0. Published 2023-10-24. GHSA-6878-6wc2-pf5h · CVE-2024-21530

Find cocoon across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.