Update gh-pages

This commit is contained in:
github-actions
2026-08-04 09:25:04 +00:00
parent ba6ad1e702
commit 707c6709bb
2 changed files with 2 additions and 253 deletions
-251
View File
@@ -3105,256 +3105,5 @@ enum_map! { IntentionallyWrong => 42 };
license.
</p>
&lt;/article&gt;</content></entry><entry><title>RUSTSEC-2026-0216: Vulnerability in nostr</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0216.html</id><updated>2026-08-01T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0216.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0216: Vulnerability in nostr"/><published>2026-07-27T12:00:00+00:00</published><summary xml:lang="en">Remote Denial of Service via malformed NIP‑44 v2 payload</summary><content xml:lang="en" type="html"> &lt;article&gt;
&lt;span class=&quot;floating-menu&quot;&gt;
&lt;a href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/nostr/RUSTSEC-2026-0216.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/nostr/RUSTSEC-2026-0216.md&quot;&gt;Edit&lt;/a&gt; ⋅
&lt;a href=&quot;https://api.osv.dev/v1/vulns/RUSTSEC-2026-0216&quot;&gt;JSON (OSV)&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2026-0216
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Remote Denial of Service via malformed NIP‑44 v2 payload&lt;/p&gt;
&lt;/span&gt;
&lt;/header&gt;
&lt;dl&gt;
&lt;dt id=&quot;reported&quot;&gt;Reported&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2026-07-25&quot;&gt;
July 25, 2026
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2026-07-27&quot;&gt;
July 27, 2026
&lt;/time&gt;
&lt;time datetime=&quot;2026-08-01&quot;&gt;
(last modified: August 1, 2026)
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/packages/nostr.html&quot;&gt;nostr&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/nostr&quot;&gt;crates.io&lt;/a&gt;)
&lt;/dd&gt;
&lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;
&lt;dd&gt;
Vulnerability
&lt;/dd&gt;
&lt;dt id=&quot;categories&quot;&gt;Categories&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;/categories/denial-of-service.html&quot;&gt;denial-of-service&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;keywords&quot;&gt;Keywords&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/keywords/nostr.html&quot;&gt;#nostr&lt;/a&gt;
&lt;a href=&quot;/keywords/nip-44.html&quot;&gt;#nip-44&lt;/a&gt;
&lt;a href=&quot;/keywords/panic.html&quot;&gt;#panic&lt;/a&gt;
&lt;/dd&gt;
&lt;dt id=&quot;aliases&quot;&gt;Aliases&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&quot;https://github.com/advisories/GHSA-hrqp-8w79-gwgw&quot;&gt;GHSA-hrqp-8w79-gwgw&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;details&quot;&gt;References&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&quot;https://github.com/nostrdevkit/nostr/commit/73bdd677b872641d57a2ebcc5afc23ee0e5f0d2d&quot;&gt;
https://github.com/nostrdevkit/nostr/commit/73bdd677b872641d57a2ebcc5afc23ee0e5f0d2d
&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;cvss_score&quot;&gt;CVSS Score&lt;/dt&gt;
&lt;dd&gt;7.5 &lt;span class=&quot;tag high&quot;&gt;
HIGH
&lt;/span&gt;&lt;/dd&gt;
&lt;dt id=&quot;cvss_details&quot;&gt;CVSS Details&lt;/dt&gt;
&lt;dd&gt;
&lt;dl&gt;
&lt;dt&gt;Attack Vector&lt;/dt&gt;
&lt;dd&gt;Network&lt;/dd&gt;
&lt;dt&gt;Attack Complexity&lt;/dt&gt;
&lt;dd&gt;Low&lt;/dd&gt;
&lt;dt&gt;Privileges Required&lt;/dt&gt;
&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;User Interaction&lt;/dt&gt;
&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;Scope&lt;/dt&gt;
&lt;dd&gt;Unchanged&lt;/dd&gt;
&lt;dt&gt;Confidentiality Impact&lt;/dt&gt;
&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;Integrity Impact&lt;/dt&gt;
&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;Availability Impact&lt;/dt&gt;
&lt;dd&gt;High&lt;/dd&gt;
&lt;/dl&gt;
&lt;/dd&gt;
&lt;dt id=&quot;cvss&quot;&gt;CVSS Vector&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H&quot;&gt;CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H&lt;/a&gt;&lt;/dd&gt;
&lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#62;=0.44.5, &amp;#60;0.45.0-alpha.1&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&amp;#62;=0.45.0-alpha.5&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;Affected Functions&lt;/dt&gt;
&lt;dd&gt;Version&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;nostr::nips::nip44::decrypt&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#62;=0.26.0, &amp;#60;0.44.5&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&amp;#62;=0.45.0-alpha.1, &amp;#60;0.45.0-alpha.5&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;nostr::nips::nip44::decrypt_to_bytes&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#62;=0.26.0, &amp;#60;0.44.5&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&amp;#62;=0.45.0-alpha.1, &amp;#60;0.45.0-alpha.5&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;nostr::nips::nip44::v2::decrypt_to_bytes&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#62;=0.26.0, &amp;#60;0.44.5&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&amp;#62;=0.45.0-alpha.1, &amp;#60;0.45.0-alpha.5&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;
&lt;p&gt;The NIP-44 v2 decryption path in the &lt;code&gt;nostr&lt;/code&gt; crate contains a reachable panic
when processing a short or empty ciphertext. After the HMAC check passes and the
ciphertext is decrypted via ChaCha20, the code reads a 2‑byte unpadded‑length
prefix via &lt;code&gt;buffer[0..2]&lt;/code&gt; without first verifying that the decrypted buffer
contains at least 2 bytes. A malicious sender who holds the symmetric
conversation key (e.g., a direct‑message sender) can craft a payload that
produces a 0 or 1‑byte decrypted buffer, causing an index‑out‑of‑bounds panic.
This can be triggered remotely through any relay that delivers the crafted
event to the victim&apos;s client, resulting in a denial of service. No key material,
plaintext, or memory corruption occurs.&lt;/p&gt;
&lt;p&gt;The vulnerability is present in all versions from &lt;code&gt;0.26.0&lt;/code&gt; up to &lt;code&gt;0.44.4&lt;/code&gt;
(inclusive) and in the alpha releases &lt;code&gt;0.45.0‑alpha.1&lt;/code&gt; through &lt;code&gt;0.45.0‑alpha.4&lt;/code&gt;.
Versions &lt;code&gt;0.44.5&lt;/code&gt; and &lt;code&gt;0.45.0‑alpha.5&lt;/code&gt; contain the fix.&lt;/p&gt;
&lt;h2&gt;Credit&lt;/h2&gt;
&lt;p&gt;Discovered and responsibly disclosed by &lt;strong&gt;Muhammed Shekho&lt;/strong&gt; (&lt;a href=&quot;https://mhd-shekho.com&quot;&gt;mhd-shekho.com&lt;/a&gt;).&lt;/p&gt;
&lt;p id=&quot;license&quot; class=&quot;license&quot;&gt;Advisory available under &lt;a href=&quot;https://spdx.org/licenses/CC0-1.0.html&quot;&gt;CC0-1.0&lt;/a&gt;
license.
&lt;/p&gt;
&lt;/article&gt;</content></entry></feed>
+2 -2
View File
File diff suppressed because one or more lines are too long