Files
advisory-db/feed.xml
T
2026-07-29 08:08:07 +00:00

2067 lines
69 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>RustSec Advisories</title><id>https://rustsec.org/feed.xml</id><updated>2026-07-29T12:00:00+00:00</updated><author><name>RustSec</name></author><icon>https://rustsec.org/favicon.ico</icon><link href="https://rustsec.org/feed.xml" rel="self" type="application/atom+xml"/><link href="https://rustsec.org/" rel="alternate" type="text/html"/><subtitle xml:lang="en">Security advisories filed against Rust crates</subtitle><entry><title>RUSTSEC-2026-0219: Vulnerability in nostr</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0219.html</id><updated>2026-07-29T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0219.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0219: Vulnerability in nostr"/><published>2026-07-29T12:00:00+00:00</published><summary xml:lang="en">Remote Denial of Service via malformed NIP-04 IV</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-0219.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/nostr/RUSTSEC-2026-0219.md&quot;&gt;Edit&lt;/a&gt; ⋅
&lt;a href=&quot;https://api.osv.dev/v1/vulns/RUSTSEC-2026-0219&quot;&gt;JSON (OSV)&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2026-0219
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Remote Denial of Service via malformed NIP-04 IV&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-26&quot;&gt;
July 26, 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-29&quot;&gt;
July 29, 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/panic.html&quot;&gt;#panic&lt;/a&gt;
&lt;a href=&quot;/keywords/nip04.html&quot;&gt;#nip04&lt;/a&gt;
&lt;a href=&quot;/keywords/nip47.html&quot;&gt;#nip47&lt;/a&gt;
&lt;a href=&quot;/keywords/nwc.html&quot;&gt;#nwc&lt;/a&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/b24619346f666d08ef7fefe27f033b8bc871697f&quot;&gt;
https://github.com/nostrdevkit/nostr/commit/b24619346f666d08ef7fefe27f033b8bc871697f
&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.6, &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.6&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::nip04::decrypt&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#62;=0.1.5&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;nostr::nips::nip04::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&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 &lt;code&gt;nostr&lt;/code&gt; crate did not validate the length of the initialization vector
decoded from the &lt;code&gt;?iv=&lt;/code&gt; portion of a NIP-04 encrypted message.&lt;/p&gt;
&lt;p&gt;The decoded IV was converted from a byte slice to the 16-byte AES-CBC IV type
using a conversion that asserts the slice length. As a result, an IV whose
decoded length was not exactly 16 bytes caused a panic before ciphertext
decryption. For example, &lt;code&gt;?iv=AAAA&lt;/code&gt; decodes to a three-byte IV and triggers the
panic.&lt;/p&gt;
&lt;p&gt;Applications that decrypt untrusted NIP-04 content are affected. The issue is
also reachable through NIP-47 (Nostr Wallet Connect), where response and
notification events from a malicious or compromised wallet service are passed
to NIP-04 decryption. If the panic is not isolated, a crafted event can terminate
the application or disrupt message processing, causing a denial of service.&lt;/p&gt;
&lt;p&gt;The issue does not affect confidentiality or integrity.&lt;/p&gt;
&lt;p&gt;The flaw was corrected by converting the decoded IV to &lt;code&gt;[u8; 16]&lt;/code&gt; using a
checked conversion. Invalid IV lengths now return a &lt;code&gt;Malformed&lt;/code&gt; error instead of
panicking.&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><entry><title>RUSTSEC-2026-0217: Vulnerability in tract-nnef</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0217.html</id><updated>2026-07-28T12:00:00+00:00</updated><category term="memory-exposure"/><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0217.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0217: Vulnerability in tract-nnef"/><published>2026-07-28T12:00:00+00:00</published><summary xml:lang="en">Integer overflow in tract-nnef NNEF tensor parser leads to out-of-bounds read on model load</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/tract-nnef/RUSTSEC-2026-0217.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/tract-nnef/RUSTSEC-2026-0217.md&quot;&gt;Edit&lt;/a&gt; ⋅
&lt;a href=&quot;https://api.osv.dev/v1/vulns/RUSTSEC-2026-0217&quot;&gt;JSON (OSV)&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2026-0217
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Integer overflow in tract-nnef NNEF tensor parser leads to out-of-bounds read on model load&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-06-18&quot;&gt;
June 18, 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-28&quot;&gt;
July 28, 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/tract-nnef.html&quot;&gt;tract-nnef&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/tract-nnef&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/memory-exposure.html&quot;&gt;memory-exposure&lt;/a&gt;&lt;/li&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/parsing.html&quot;&gt;#parsing&lt;/a&gt;
&lt;a href=&quot;/keywords/nnef.html&quot;&gt;#nnef&lt;/a&gt;
&lt;a href=&quot;/keywords/integer-overflow.html&quot;&gt;#integer-overflow&lt;/a&gt;
&lt;a href=&quot;/keywords/out-of-bounds-read.html&quot;&gt;#out-of-bounds-read&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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-55093&quot;&gt;CVE-2026-55093&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&quot;https://github.com/advisories/GHSA-x5mv-8wgw-29hg&quot;&gt;GHSA-x5mv-8wgw-29hg&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/sonos/tract/security/advisories/GHSA-x5mv-8wgw-29hg&quot;&gt;
https://github.com/sonos/tract/security/advisories/GHSA-x5mv-8wgw-29hg
&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&quot;https://github.com/sonos/tract/commit/34c7df2c9bd2a36583e09b52f3e6319bf23102e8&quot;&gt;
https://github.com/sonos/tract/commit/34c7df2c9bd2a36583e09b52f3e6319bf23102e8
&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;6.1 &lt;span class=&quot;tag medium&quot;&gt;
MEDIUM
&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;Local&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;Required&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;Low&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:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H&quot;&gt;CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/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.21.16, &amp;#60;0.22.0&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&amp;#62;=0.22.2, &amp;#60;0.23.0&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&amp;#62;=0.23.1&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;tract_nnef::tensors::read_tensor&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;0.21.16&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&amp;#62;=0.22.0, &amp;#60;0.22.2&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&amp;#62;=0.23.0, &amp;#60;0.23.1&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;&lt;code&gt;tract_nnef::tensors::read_tensor&lt;/code&gt; builds a tensor shape from attacker-controlled
32-bit dimensions and computes both the element count &lt;code&gt;product(shape)&lt;/code&gt; and the
byte allocation &lt;code&gt;product(shape) * size_of(dt)&lt;/code&gt; with &lt;strong&gt;unchecked &lt;code&gt;usize&lt;/code&gt;
arithmetic&lt;/strong&gt;. In release builds (no &lt;code&gt;overflow-checks&lt;/code&gt;) both products wrap modulo
2^64.&lt;/p&gt;
&lt;p&gt;A crafted NNEF &lt;code&gt;.dat&lt;/code&gt; tensor can choose dimensions whose wrapped products
collapse to a small value that satisfies the header size-consistency check, while
the true element count stays astronomically large. &lt;code&gt;read_tensor&lt;/code&gt; then returns a
&lt;code&gt;Tensor&lt;/code&gt; whose reported &lt;code&gt;len&lt;/code&gt; (e.g. &lt;code&gt;2^61 + 7&lt;/code&gt;) far exceeds its backing heap
allocation (e.g. 56 bytes). The unchecked accessor &lt;code&gt;as_slice_unchecked&lt;/code&gt;
(&lt;code&gt;slice::from_raw_parts(ptr, self.len())&lt;/code&gt;) subsequently yields a slice spanning
~18 EiB over the small buffer.&lt;/p&gt;
&lt;p&gt;The out-of-bounds read fires automatically during model build (no inference
required), reachable through the default &lt;code&gt;DatLoader&lt;/code&gt; resource loader via the
public &lt;code&gt;tract_nnef::nnef().model_for_path&lt;/code&gt; / &lt;code&gt;model_for_read&lt;/code&gt; API when the
const-folding &lt;code&gt;as_uniform&lt;/code&gt; fast-path materializes the over-long constant. The
always-on primitive is a bounded adjacent-heap over-read (information
disclosure); access further past the mapped region SIGSEGVs (denial of service).
No out-of-bounds write or code execution was demonstrated.&lt;/p&gt;
&lt;p&gt;Affected: every release line prior to the backported fixes — &lt;code&gt;&amp;lt; 0.21.16&lt;/code&gt;,
&lt;code&gt;0.22.0&lt;/code&gt;–&lt;code&gt;0.22.1&lt;/code&gt;, and &lt;code&gt;0.23.0&lt;/code&gt;. The block-quant path had already received an
analogous blob-size guard; the dense &lt;code&gt;DatLoader&lt;/code&gt; path was missed.&lt;/p&gt;
&lt;h2&gt;Mitigation&lt;/h2&gt;
&lt;p&gt;Upgrade to &lt;code&gt;0.21.16&lt;/code&gt;, &lt;code&gt;0.22.2&lt;/code&gt;, or &lt;code&gt;0.23.1&lt;/code&gt;. The fix computes the shape product
and byte size with &lt;code&gt;checked_mul&lt;/code&gt; and rejects the tensor on overflow
(commit &lt;a href=&quot;https://github.com/sonos/tract/commit/34c7df2c9bd2a36583e09b52f3e6319bf23102e8&quot;&gt;&lt;code&gt;34c7df2&lt;/code&gt;&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><entry><title>RUSTSEC-2026-0218: Unsoundness in enum-map</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0218.html</id><updated>2026-07-28T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0218.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0218: Unsoundness in enum-map"/><published>2026-07-28T12:00:00+00:00</published><summary xml:lang="en">`Enum` trait allows type confusion when manually implemented</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/enum-map/RUSTSEC-2026-0218.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/enum-map/RUSTSEC-2026-0218.md&quot;&gt;Edit&lt;/a&gt; ⋅
&lt;a href=&quot;https://api.osv.dev/v1/vulns/RUSTSEC-2026-0218&quot;&gt;JSON (OSV)&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2026-0218
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;&lt;code&gt;Enum&lt;/code&gt; trait allows type confusion when manually implemented&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-21&quot;&gt;
July 21, 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-28&quot;&gt;
July 28, 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/enum-map.html&quot;&gt;enum-map&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/enum-map&quot;&gt;crates.io&lt;/a&gt;)
&lt;/dd&gt;
&lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;
&lt;dd&gt;
&lt;span class=&quot;tag info&quot;&gt;INFO&lt;/span&gt;
Unsound
&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/memory-corruption.html&quot;&gt;memory-corruption&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://codeberg.org/sugar700/enum-map/src/branch/master/CHANGELOG.md#version-310&quot;&gt;
https://codeberg.org/sugar700/enum-map/src/branch/master/CHANGELOG.md#version-310
&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&quot;https://github.com/rustsec/advisory-db/issues/3060&quot;&gt;
https://github.com/rustsec/advisory-db/issues/3060
&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&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;=3.1.0&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;unaffected&quot;&gt;Unaffected&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;3.0.0-0.gat.0&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;Affected versions of this crate did not require the element type of the &lt;code&gt;Array&lt;/code&gt; associated type in the &lt;code&gt;Enum&lt;/code&gt; trait to match the array&apos;s generic parameter &lt;code&gt;V&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This can result in type confusion, and consequently memory corruption, when a manual &lt;code&gt;Enum&lt;/code&gt; implementation declares an &lt;code&gt;Array&amp;lt;V&amp;gt;&lt;/code&gt; whose elements are not actually of type &lt;code&gt;V&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-rust&quot;&gt;struct IntentionallyWrong;
impl Enum for IntentionallyWrong {
type Array&amp;lt;V&amp;gt; = [String; 4];
fn from_usize(_: usize) -&amp;gt; Self {
IntentionallyWrong
}
fn into_usize(self) -&amp;gt; usize {
0
}
}
enum_map! { IntentionallyWrong =&amp;gt; 42 };
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The flaw was corrected in commit &lt;a href=&quot;https://codeberg.org/sugar700/enum-map/commit/7a8b8154323d426415a10accf104cd05c394cda9&quot;&gt;7a8b815432&lt;/a&gt; by adding a &lt;code&gt;Value = V&lt;/code&gt; bound to the &lt;code&gt;Array&lt;/code&gt; type in the &lt;code&gt;Enum&lt;/code&gt; trait.&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><entry><title>RUSTSEC-2026-0216: Vulnerability in nostr</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0216.html</id><updated>2026-07-27T12: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;/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;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; (info@mhd-shekho.com, &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><entry><title>RUSTSEC-2026-0214: gumdrop is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0214.html</id><updated>2026-07-23T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2026-0214.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0214: gumdrop is unmaintained"/><published>2026-07-23T12:00:00+00:00</published><summary xml:lang="en">gumdrop is unmaintained</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/gumdrop/RUSTSEC-2026-0214.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/gumdrop/RUSTSEC-2026-0214.md&quot;&gt;Edit&lt;/a&gt; ⋅
&lt;a href=&quot;https://api.osv.dev/v1/vulns/RUSTSEC-2026-0214&quot;&gt;JSON (OSV)&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2026-0214
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;gumdrop is unmaintained&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-22&quot;&gt;
July 22, 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-23&quot;&gt;
July 23, 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/gumdrop.html&quot;&gt;gumdrop&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/gumdrop&quot;&gt;crates.io&lt;/a&gt;)
&lt;/dd&gt;
&lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;
&lt;dd&gt;
&lt;span class=&quot;tag info&quot;&gt;INFO&lt;/span&gt;
Unmaintained
&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/murarth/gumdrop/issues/63&quot;&gt;
https://github.com/murarth/gumdrop/issues/63
&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;
&lt;dd&gt;
no patched versions
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;
&lt;p&gt;The gumdrop crate is unmaintained, and all versions are affected.&lt;/p&gt;
&lt;p&gt;Recommended alternatives:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://crates.io/crates/clap&quot;&gt;clap&lt;/a&gt; is the most popular by far&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://crates.io/crates/bpaf&quot;&gt;bpaf&lt;/a&gt; is a more lightweight alternative&lt;/li&gt;
&lt;/ul&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><entry><title>RUSTSEC-2026-0215: smallstr is unmaintained</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0215.html</id><updated>2026-07-23T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2026-0215.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0215: smallstr is unmaintained"/><published>2026-07-23T12:00:00+00:00</published><summary xml:lang="en">smallstr is unmaintained</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/smallstr/RUSTSEC-2026-0215.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/smallstr/RUSTSEC-2026-0215.md&quot;&gt;Edit&lt;/a&gt; ⋅
&lt;a href=&quot;https://api.osv.dev/v1/vulns/RUSTSEC-2026-0215&quot;&gt;JSON (OSV)&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2026-0215
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;smallstr is unmaintained&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-22&quot;&gt;
July 22, 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-23&quot;&gt;
July 23, 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/smallstr.html&quot;&gt;smallstr&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/smallstr&quot;&gt;crates.io&lt;/a&gt;)
&lt;/dd&gt;
&lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;
&lt;dd&gt;
&lt;span class=&quot;tag info&quot;&gt;INFO&lt;/span&gt;
Unmaintained
&lt;/dd&gt;
&lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;
&lt;dd&gt;
no patched versions
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;
&lt;p&gt;The smallstr crate is unmaintained, and all versions are affected.&lt;/p&gt;
&lt;p&gt;Recommended alternatives:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://crates.io/crates/compact_str&quot;&gt;compact_str&lt;/a&gt; is the most popular by far&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://crates.io/crates/smol_str&quot;&gt;smol_str&lt;/a&gt; focuses on immutable strings&lt;/li&gt;
&lt;/ul&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><entry><title>RUSTSEC-2026-0213: Vulnerability in ammonia</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0213.html</id><updated>2026-07-22T12:00:00+00:00</updated><category term="format-injection"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0213.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0213: Vulnerability in ammonia"/><published>2026-07-22T12:00:00+00:00</published><summary xml:lang="en">XSS in ammonia via SVG `animate` and `set` animation tags</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/ammonia/RUSTSEC-2026-0213.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/ammonia/RUSTSEC-2026-0213.md&quot;&gt;Edit&lt;/a&gt; ⋅
&lt;a href=&quot;https://api.osv.dev/v1/vulns/RUSTSEC-2026-0213&quot;&gt;JSON (OSV)&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2026-0213
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;XSS in ammonia via SVG &lt;code&gt;animate&lt;/code&gt; and &lt;code&gt;set&lt;/code&gt; animation tags&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-21&quot;&gt;
July 21, 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-22&quot;&gt;
July 22, 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/ammonia.html&quot;&gt;ammonia&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/ammonia&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/format-injection.html&quot;&gt;format-injection&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/html.html&quot;&gt;#html&lt;/a&gt;
&lt;a href=&quot;/keywords/xss.html&quot;&gt;#xss&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-m6mh-2hw2-555x&quot;&gt;GHSA-m6mh-2hw2-555x&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&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;=4.1.4&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&amp;#62;=4.0.3, &amp;#60;4.1.0&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&amp;#62;=3.3.3, &amp;#60;4.0.0&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 following SVG will produce a link with a javascript scheme.
If the user clicks this link, they will run it.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-xml&quot;&gt;&amp;lt;svg xmlns=&amp;quot;http://www.w3.org/2000/svg&amp;quot;&amp;gt;
&amp;lt;a&amp;gt;
&amp;lt;set attributeName=&amp;quot;href&amp;quot; to=&amp;quot;javascript:alert(&apos;SET_XSS&apos;)&amp;quot;&amp;gt;&amp;lt;/set&amp;gt;
&amp;lt;text y=&amp;quot;30&amp;quot;&amp;gt;Click set&amp;lt;/text&amp;gt;
&amp;lt;/a&amp;gt;
&amp;lt;/svg&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Ammonia did not apply attribute filters based on &lt;code&gt;attributeName&lt;/code&gt;,
so the contents of the &lt;code&gt;to&lt;/code&gt;, &lt;code&gt;from&lt;/code&gt;, and &lt;code&gt;values&lt;/code&gt; tags were not sanitized as URLs.&lt;/p&gt;
&lt;p&gt;Applications that do not explicitly allow either of these tags should not be affected,
since neither are allowed by default.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;strong&gt;Discovered by:&lt;/strong&gt; &lt;a href=&quot;https://github.com/koyokr&quot;&gt;Younghun Ko (@koyokr)&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><entry><title>RUSTSEC-2026-0207: Vulnerability in libcrux-sha3</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0207.html</id><updated>2026-07-17T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2026-0207.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0207: Vulnerability in libcrux-sha3"/><published>2026-07-17T12:00:00+00:00</published><summary xml:lang="en">Incorrect Output of Incremental Portable SHAKE API on Multiple Squeeze Calls</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/libcrux-sha3/RUSTSEC-2026-0207.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/libcrux-sha3/RUSTSEC-2026-0207.md&quot;&gt;Edit&lt;/a&gt; ⋅
&lt;a href=&quot;https://api.osv.dev/v1/vulns/RUSTSEC-2026-0207&quot;&gt;JSON (OSV)&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2026-0207
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Incorrect Output of Incremental Portable SHAKE API on Multiple Squeeze Calls&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-04-22&quot;&gt;
April 22, 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-17&quot;&gt;
July 17, 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/libcrux-sha3.html&quot;&gt;libcrux-sha3&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/libcrux-sha3&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;details&quot;&gt;References&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&quot;https://github.com/celabshq/libcrux/pull/1389&quot;&gt;
https://github.com/celabshq/libcrux/pull/1389
&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;8.2 &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 Complexity&lt;/dt&gt;
&lt;dd&gt;Low&lt;/dd&gt;
&lt;dt&gt;Attack Requirements&lt;/dt&gt;
&lt;dd&gt;Present&lt;/dd&gt;
&lt;dt&gt;Attack Vector&lt;/dt&gt;
&lt;dd&gt;Network&lt;/dd&gt;
&lt;dt&gt;Privileges Required&lt;/dt&gt;
&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;Availability Impact to the Subsequent System&lt;/dt&gt;
&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;Confidentiality Impact to the Subsequent System&lt;/dt&gt;
&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;Integrity Impact to the Subsequent System&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;Availability Impact to the Vulnerable System&lt;/dt&gt;
&lt;dd&gt;High&lt;/dd&gt;
&lt;dt&gt;Confidentiality Impact to the Vulnerable System&lt;/dt&gt;
&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;Integrity Impact to the Vulnerable System&lt;/dt&gt;
&lt;dd&gt;None&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:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N&quot;&gt;CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N&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.0.10&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;libcrux_sha3::portable::incremental::Shake128Xof::squeeze&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;=0.0.9&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;libcrux_sha3::portable::incremental::Shake256Xof::squeeze&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;=0.0.9&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 incremental squeeze functions in the portable SHAKE XOF API, when
attempting to squeeze an output using multiple calls to &lt;code&gt;squeeze&lt;/code&gt;,
rather than squeezing the full output at once, could output incorrect
values. Internally, output blocks that were not completely squeezed
were not buffered for the next call to &lt;code&gt;squeeze&lt;/code&gt;, which would
consequently drop bytes of the correct squeeze output if the preceding
call requested an output of length in bytes not cleanly divisible by
&lt;code&gt;RATE&lt;/code&gt; (168 for SHAKE128, 136 for SHAKE256).&lt;/p&gt;
&lt;h2&gt;Impact&lt;/h2&gt;
&lt;p&gt;This bug impacts users that rely on this XOF API to squeeze output in
multiple calls where any of the calls request an output length that is
not divisible by &lt;code&gt;RATE&lt;/code&gt;. It does not impact the use of libcrux-sha3 in
libcrux-ml-kem or libcrux-ml-dsa.&lt;/p&gt;
&lt;h2&gt;Mitigation&lt;/h2&gt;
&lt;p&gt;Starting from version &lt;code&gt;0.0.10&lt;/code&gt; the squeeze functions correctly output
all squeezed bytes independent of the number of &lt;code&gt;squeeze&lt;/code&gt; calls and
the output lengths requested in each call.&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><entry><title>RUSTSEC-2026-0208: Vulnerability in libcrux-sha3</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0208.html</id><updated>2026-07-17T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2026-0208.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0208: Vulnerability in libcrux-sha3"/><published>2026-07-17T12:00:00+00:00</published><summary xml:lang="en">Potential Panic in AVX2 SHAKE-256</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/libcrux-sha3/RUSTSEC-2026-0208.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/libcrux-sha3/RUSTSEC-2026-0208.md&quot;&gt;Edit&lt;/a&gt; ⋅
&lt;a href=&quot;https://api.osv.dev/v1/vulns/RUSTSEC-2026-0208&quot;&gt;JSON (OSV)&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2026-0208
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Potential Panic in AVX2 SHAKE-256&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-05-21&quot;&gt;
May 21, 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-17&quot;&gt;
July 17, 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/libcrux-sha3.html&quot;&gt;libcrux-sha3&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/libcrux-sha3&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;details&quot;&gt;References&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&quot;https://github.com/celabshq/libcrux/pull/1456&quot;&gt;
https://github.com/celabshq/libcrux/pull/1456
&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;8.2 &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 Complexity&lt;/dt&gt;
&lt;dd&gt;Low&lt;/dd&gt;
&lt;dt&gt;Attack Requirements&lt;/dt&gt;
&lt;dd&gt;Present&lt;/dd&gt;
&lt;dt&gt;Attack Vector&lt;/dt&gt;
&lt;dd&gt;Network&lt;/dd&gt;
&lt;dt&gt;Privileges Required&lt;/dt&gt;
&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;Availability Impact to the Subsequent System&lt;/dt&gt;
&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;Confidentiality Impact to the Subsequent System&lt;/dt&gt;
&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;Integrity Impact to the Subsequent System&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;Availability Impact to the Vulnerable System&lt;/dt&gt;
&lt;dd&gt;High&lt;/dd&gt;
&lt;dt&gt;Confidentiality Impact to the Vulnerable System&lt;/dt&gt;
&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;Integrity Impact to the Vulnerable System&lt;/dt&gt;
&lt;dd&gt;None&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:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N&quot;&gt;CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N&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.0.10&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;libcrux_sha3::avx2::x4::shake256&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;=0.0.9&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 AVX2-optimized implementation of SHAKE-256 intended for use in
ML-KEM and ML-DSA would panic if the length of the output buffers was
greater than 32 and not a multiple of 8, due to an out-of-bounds
indexing operation.&lt;/p&gt;
&lt;h2&gt;Impact&lt;/h2&gt;
&lt;p&gt;This bug impacts users on AVX2 platforms that use the
&lt;code&gt;libcrux_sha3::avx2::x4::shake256&lt;/code&gt; API outside of ML-KEM or ML-DSA
with output buffers of length &lt;code&gt;&amp;gt; 32&lt;/code&gt; and not divisible by &lt;code&gt;8&lt;/code&gt;. It does
not impact the use in ML-KEM or ML-DSA because there output buffer
lengths are always divisible by &lt;code&gt;8&lt;/code&gt;.&lt;/p&gt;
&lt;h2&gt;Mitigation&lt;/h2&gt;
&lt;p&gt;Starting from version &lt;code&gt;0.0.10&lt;/code&gt;, the AVX2-optimized SHAKE-256 will no
longer panic on output buffer lengths &lt;code&gt;&amp;gt; 32&lt;/code&gt; that are not divisible by
&lt;code&gt;8&lt;/code&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><entry><title>RUSTSEC-2026-0211: Vulnerability in libcrux-aesgcm</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0211.html</id><updated>2026-07-17T12:00:00+00:00</updated><category term="crypto-failure"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0211.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0211: Vulnerability in libcrux-aesgcm"/><published>2026-07-17T12:00:00+00:00</published><summary xml:lang="en">Non-constant time Authentication Tag Check in AES-GCM Decryption</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/libcrux-aesgcm/RUSTSEC-2026-0211.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/libcrux-aesgcm/RUSTSEC-2026-0211.md&quot;&gt;Edit&lt;/a&gt; ⋅
&lt;a href=&quot;https://api.osv.dev/v1/vulns/RUSTSEC-2026-0211&quot;&gt;JSON (OSV)&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2026-0211
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Non-constant time Authentication Tag Check in AES-GCM Decryption&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-14&quot;&gt;
July 14, 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-17&quot;&gt;
July 17, 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/libcrux-aesgcm.html&quot;&gt;libcrux-aesgcm&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/libcrux-aesgcm&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/crypto-failure.html&quot;&gt;crypto-failure&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/celabshq/libcrux/pull/1528&quot;&gt;
https://github.com/celabshq/libcrux/pull/1528
&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;6.3 &lt;span class=&quot;tag medium&quot;&gt;
MEDIUM
&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 Complexity&lt;/dt&gt;
&lt;dd&gt;Low&lt;/dd&gt;
&lt;dt&gt;Attack Requirements&lt;/dt&gt;
&lt;dd&gt;Present&lt;/dd&gt;
&lt;dt&gt;Attack Vector&lt;/dt&gt;
&lt;dd&gt;Network&lt;/dd&gt;
&lt;dt&gt;Privileges Required&lt;/dt&gt;
&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;Availability Impact to the Subsequent System&lt;/dt&gt;
&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;Confidentiality Impact to the Subsequent System&lt;/dt&gt;
&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;Integrity Impact to the Subsequent System&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;Availability Impact to the Vulnerable System&lt;/dt&gt;
&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;Confidentiality Impact to the Vulnerable System&lt;/dt&gt;
&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;Integrity Impact to the Vulnerable System&lt;/dt&gt;
&lt;dd&gt;Low&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:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N&quot;&gt;CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N&lt;/a&gt;&lt;/dd&gt;
&lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;
&lt;dd&gt;
no patched versions
&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;libcrux_aesgcm::AesGcm128Key::decrypt&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;=0.0.8&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;libcrux_aesgcm::AesGcm256Key::decrypt&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;=0.0.8&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;libcrux_aesgcm::aes_gcm_128::AesGcm128::decrypt&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;=0.0.8&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;libcrux_aesgcm::aes_gcm_128::Key::decrypt&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;=0.0.8&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;libcrux_aesgcm::aes_gcm_128::KeyRef::decrypt&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;=0.0.8&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;libcrux_aesgcm::aes_gcm_128::neon::Key::decrypt&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;=0.0.8&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;libcrux_aesgcm::aes_gcm_128::neon::KeyRef::decrypt&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;=0.0.8&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;libcrux_aesgcm::aes_gcm_128::neon::NeonAesGcm128::decrypt&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;=0.0.8&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;libcrux_aesgcm::aes_gcm_128::portable::Key::decrypt&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;=0.0.8&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;libcrux_aesgcm::aes_gcm_128::portable::KeyRef::decrypt&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;=0.0.8&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;libcrux_aesgcm::aes_gcm_128::portable::PortableAesGcm128::decrypt&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;=0.0.8&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;libcrux_aesgcm::aes_gcm_128::x64::Key::decrypt&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;=0.0.8&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;libcrux_aesgcm::aes_gcm_128::x64::KeyRef::decrypt&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;=0.0.8&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;libcrux_aesgcm::aes_gcm_128::x64::X64AesGcm128::decrypt&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;=0.0.8&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;libcrux_aesgcm::aes_gcm_256::AesGcm256::decrypt&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;=0.0.8&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;libcrux_aesgcm::aes_gcm_256::Key::decrypt&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;=0.0.8&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;libcrux_aesgcm::aes_gcm_256::KeyRef::decrypt&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;=0.0.8&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;libcrux_aesgcm::aes_gcm_256::neon::Key::decrypt&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;=0.0.8&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;libcrux_aesgcm::aes_gcm_256::neon::KeyRef::decrypt&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;=0.0.8&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;libcrux_aesgcm::aes_gcm_256::neon::NeonAesGcm256::decrypt&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;=0.0.8&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;libcrux_aesgcm::aes_gcm_256::portable::Key::decrypt&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;=0.0.8&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;libcrux_aesgcm::aes_gcm_256::portable::KeyRef::decrypt&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;=0.0.8&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;libcrux_aesgcm::aes_gcm_256::portable::PortableAesGcm256::decrypt&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;=0.0.8&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;libcrux_aesgcm::aes_gcm_256::x64::Key::decrypt&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;=0.0.8&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;libcrux_aesgcm::aes_gcm_256::x64::KeyRef::decrypt&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;=0.0.8&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;libcrux_aesgcm::aes_gcm_256::x64::X64AesGcm256::decrypt&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;=0.0.8&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;AES-GCM decryption used an implementation for checking the provided
authentication tag against the recomputed authentication tag that was
intended to be constant-time, but resulted in non-constant-time code
generation in certain circumstances.
Note that &lt;code&gt;libcrux-aesgcm&lt;/code&gt; does not give guarantees on constant-time
code generation and possible mitigations must be considered
on a best-effort basis.&lt;/p&gt;
&lt;h2&gt;Impact&lt;/h2&gt;
&lt;p&gt;Users of &lt;code&gt;libcrux-aesgcm&lt;/code&gt; that expose a decryption oracle to an
attacker, which allows repeatedly querying for the same ciphertext
were at risk from timing side-channel attacks, depending on their
compilation environment. In the worst case, this could lead to
recovery of the recomputed authentication tag by the attacker, which
enables ciphertext forgery.&lt;/p&gt;
&lt;h2&gt;Mitigation&lt;/h2&gt;
&lt;p&gt;Starting from version &lt;code&gt;0.0.9&lt;/code&gt; (published as &lt;code&gt;libcrux-aes@v0.0.9&lt;/code&gt;),
AES-GCM decryption uses a different, best-effort constant-time
implementation of the tag check, which has been checked to reliably
lead to constant time code generation, at the moment.&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>