From ff1cfb96c8ddcf1303203f601aec115cf1e62559 Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 29 Jul 2026 15:17:31 +0000 Subject: [PATCH] Update OSV exported data --- crates/RUSTSEC-2026-0216.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/RUSTSEC-2026-0216.json b/crates/RUSTSEC-2026-0216.json index 271e0435c..d9377b280 100644 --- a/crates/RUSTSEC-2026-0216.json +++ b/crates/RUSTSEC-2026-0216.json @@ -1,11 +1,11 @@ { "id": "RUSTSEC-2026-0216", - "modified": "2026-07-27T14:44:28Z", + "modified": "2026-07-29T15:17:10Z", "published": "2026-07-25T12:00:00Z", "aliases": [], "related": [], "summary": "Remote Denial of Service via malformed NIP‑44 v2 payload", - "details": "The NIP-44 v2 decryption path in the `nostr` crate contains a reachable panic\nwhen processing a short or empty ciphertext. After the HMAC check passes and the\nciphertext is decrypted via ChaCha20, the code reads a 2‑byte unpadded‑length\nprefix via `buffer[0..2]` without first verifying that the decrypted buffer\ncontains at least 2 bytes. A malicious sender who holds the symmetric\nconversation key (e.g., a direct‑message sender) can craft a payload that\nproduces a 0 or 1‑byte decrypted buffer, causing an index‑out‑of‑bounds panic.\nThis can be triggered remotely through any relay that delivers the crafted\nevent to the victim's client, resulting in a denial of service. No key material,\nplaintext, or memory corruption occurs.\n\nThe vulnerability is present in all versions from `0.26.0` up to `0.44.4`\n(inclusive) and in the alpha releases `0.45.0‑alpha.1` through `0.45.0‑alpha.4`.\nVersions `0.44.5` and `0.45.0‑alpha.5` contain the fix.\n\n## Credit\n\nDiscovered and responsibly disclosed by **Muhammed Shekho** (info@mhd-shekho.com, [mhd-shekho.com](https://mhd-shekho.com)).", + "details": "The NIP-44 v2 decryption path in the `nostr` crate contains a reachable panic\nwhen processing a short or empty ciphertext. After the HMAC check passes and the\nciphertext is decrypted via ChaCha20, the code reads a 2‑byte unpadded‑length\nprefix via `buffer[0..2]` without first verifying that the decrypted buffer\ncontains at least 2 bytes. A malicious sender who holds the symmetric\nconversation key (e.g., a direct‑message sender) can craft a payload that\nproduces a 0 or 1‑byte decrypted buffer, causing an index‑out‑of‑bounds panic.\nThis can be triggered remotely through any relay that delivers the crafted\nevent to the victim's client, resulting in a denial of service. No key material,\nplaintext, or memory corruption occurs.\n\nThe vulnerability is present in all versions from `0.26.0` up to `0.44.4`\n(inclusive) and in the alpha releases `0.45.0‑alpha.1` through `0.45.0‑alpha.4`.\nVersions `0.44.5` and `0.45.0‑alpha.5` contain the fix.\n\n## Credit\n\nDiscovered and responsibly disclosed by **Muhammed Shekho** ([mhd-shekho.com](https://mhd-shekho.com)).", "severity": [ { "type": "CVSS_V3",