mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-11-30 10:24:32 -06:00
2148 lines
72 KiB
XML
2148 lines
72 KiB
XML
<?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-01-04T12: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-2025-0139: Vulnerability in theshit</title><id>https://rustsec.org/advisories/RUSTSEC-2025-0139.html</id><updated>2026-01-04T12:00:00+00:00</updated><category term="privilege-escalation"/><category term="code-execution"/><link href="https://rustsec.org/advisories/RUSTSEC-2025-0139.html" rel="alternate" type="text/html" title="RUSTSEC-2025-0139: Vulnerability in theshit"/><published>2026-01-04T12:00:00+00:00</published><summary xml:lang="en">theshit vulnerable to unsafe loading of user-owned Python rules when running as root</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/theshit/RUSTSEC-2025-0139.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/theshit/RUSTSEC-2025-0139.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2025-0139">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2025-0139
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>theshit vulnerable to unsafe loading of user-owned Python rules when running as root</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2025-12-30">
|
|
December 30, 2025
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-01-04">
|
|
January 4, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/theshit.html">theshit</a>
|
|
(<a href="https://crates.io/crates/theshit">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/privilege-escalation.html">privilege-escalation</a></li>
|
|
|
|
<li><a href="/categories/code-execution.html">code-execution</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/pyo3.html">#pyo3</a>
|
|
|
|
<a href="/keywords/lpe.html">#lpe</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-69257">CVE-2025-69257</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-95qg-89c2-w5hj">GHSA-95qg-89c2-w5hj</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/advisories/GHSA-95qg-89c2-w5hj">
|
|
https://github.com/advisories/GHSA-95qg-89c2-w5hj
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/AsfhtgkDavid/theshit/commit/8e0b565e7876a83b0e1cfbacb8af39dadfdcc500">
|
|
https://github.com/AsfhtgkDavid/theshit/commit/8e0b565e7876a83b0e1cfbacb8af39dadfdcc500
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>7.3 <span class="tag high">
|
|
HIGH
|
|
</span></dd>
|
|
|
|
<dt id="cvss_details">CVSS Details</dt>
|
|
<dd>
|
|
<dl>
|
|
|
|
<dt>Attack Vector</dt>
|
|
<dd>Local</dd>
|
|
|
|
<dt>Attack Complexity</dt>
|
|
<dd>Low</dd>
|
|
|
|
<dt>Privileges Required</dt>
|
|
<dd>Low</dd>
|
|
|
|
<dt>User Interaction</dt>
|
|
<dd>Required</dd>
|
|
|
|
<dt>Scope</dt>
|
|
<dd>Unchanged</dd>
|
|
|
|
<dt>Confidentiality Impact</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>Integrity Impact</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>Availability Impact</dt>
|
|
<dd>High</dd>
|
|
|
|
</dl>
|
|
</dd>
|
|
|
|
<dt id="cvss">CVSS Vector</dt>
|
|
|
|
|
|
<dd><a href="https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H">CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H</a></dd>
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.1.1</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>theshit::fix::python::process_python_rules</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.1.1</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The application loads custom Python rules and configuration files from user-writable locations (e.g., <code>~/.config/theshit/</code>) without validating ownership or permissions when executed with elevated privileges.</p>
|
|
<p>If the tool is invoked with <code>sudo</code> or otherwise runs with an effective UID of root, it continues to trust configuration files originating from the unprivileged user's environment. This allows a local attacker to inject arbitrary Python code via a malicious rule or configuration file, which is then executed with root privileges.</p>
|
|
<p>The patch introduces strict ownership and permission checks for all configuration files and custom rules. The application now enforces that rules are only loaded if they are owned by the effective user executing the tool.</p>
|
|
<p>When executed with elevated privileges (<code>EUID=0</code>), the application refuses to load any files that are not owned by root or that are writable by non-root users. When executed as a non-root user, it similarly refuses to load rules owned by other users. This prevents both vertical and horizontal privilege escalation via execution of untrusted code.</p>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC-BY-4.0.html">CC-BY-4.0</a>
|
|
license.
|
|
|
|
|
|
|
|
|
|
Source: <a href="https://github.com/advisories/GHSA-95qg-89c2-w5hj">https://github.com/advisories/GHSA-95qg-89c2-w5hj</a>
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2025-0140: Vulnerability in gix-date</title><id>https://rustsec.org/advisories/RUSTSEC-2025-0140.html</id><updated>2026-01-04T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2025-0140.html" rel="alternate" type="text/html" title="RUSTSEC-2025-0140: Vulnerability in gix-date"/><published>2026-01-04T12:00:00+00:00</published><summary xml:lang="en">Non-utf8 String can be created with `TimeBuf::as_str`</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/gix-date/RUSTSEC-2025-0140.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/gix-date/RUSTSEC-2025-0140.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2025-0140">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2025-0140
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Non-utf8 String can be created with <code>TimeBuf::as_str</code></p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2025-12-29">
|
|
December 29, 2025
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2026-01-04">
|
|
January 4, 2026
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/gix-date.html">gix-date</a>
|
|
(<a href="https://crates.io/crates/gix-date">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/memory-corruption.html">memory-corruption</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/utf8.html">#utf8</a>
|
|
|
|
<a href="/keywords/undefined-behavior.html">#undefined-behavior</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/GitoxideLabs/gitoxide/issues/2305">
|
|
https://github.com/GitoxideLabs/gitoxide/issues/2305
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.12.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>gix_date::parse::TimeBuf::as_str</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;=0.11.1</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The function <code>gix_date::parse::TimeBuf::as_str</code> can create an illegal string containing non-utf8 characters. This violates the safety invariant of <code>TimeBuf</code> and can lead to undefined behavior when consuming the string.</p>
|
|
<p>The bug can be prevented by adding <code>str::from_utf8</code> to the function <code>TimeBuf::write</code>.</p>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC0-1.0.html">CC0-1.0</a>
|
|
license.
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2023-0096: Vulnerability in aes-gcm</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0096.html</id><updated>2025-12-29T12:00:00+00:00</updated><category term="crypto-failure"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0096.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0096: Vulnerability in aes-gcm"/><published>2025-12-29T12:00:00+00:00</published><summary xml:lang="en">Plaintext exposed in decrypt_in_place_detached even on tag verification failure</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/aes-gcm/RUSTSEC-2023-0096.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/aes-gcm/RUSTSEC-2023-0096.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0096">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0096
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Plaintext exposed in decrypt_in_place_detached even on tag verification failure</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-11-22">
|
|
November 22, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2025-12-29">
|
|
December 29, 2025
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/aes-gcm.html">aes-gcm</a>
|
|
(<a href="https://crates.io/crates/aes-gcm">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/crypto-failure.html">crypto-failure</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-42811">CVE-2023-42811</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-423w-p2w9-r7vq">GHSA-423w-p2w9-r7vq</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/RustCrypto/AEADs/security/advisories/GHSA-423w-p2w9-r7vq">
|
|
https://github.com/RustCrypto/AEADs/security/advisories/GHSA-423w-p2w9-r7vq
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>4.7 <span class="tag medium">
|
|
MEDIUM
|
|
</span></dd>
|
|
|
|
<dt id="cvss_details">CVSS Details</dt>
|
|
<dd>
|
|
<dl>
|
|
|
|
<dt>Attack Vector</dt>
|
|
<dd>Local</dd>
|
|
|
|
<dt>Attack Complexity</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>Privileges Required</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>User Interaction</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Scope</dt>
|
|
<dd>Unchanged</dd>
|
|
|
|
<dt>Confidentiality Impact</dt>
|
|
<dd>Low</dd>
|
|
|
|
<dt>Integrity Impact</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>Availability Impact</dt>
|
|
<dd>None</dd>
|
|
|
|
</dl>
|
|
</dd>
|
|
|
|
<dt id="cvss">CVSS Vector</dt>
|
|
|
|
|
|
<dd><a href="https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:N">CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:N</a></dd>
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.10.3</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.10.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>aes_gcm::AeadInPlace::decrypt_in_place_detached</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.10.0, &#60;0.10.3</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt><code>aes_gcm::AesGcm::decrypt_in_place_detached</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.10.0, &#60;0.10.3</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<h2>Summary</h2>
|
|
<p>In the AES GCM implementation of decrypt_in_place_detached,
|
|
the decrypted ciphertext (i.e. the correct plaintext) is
|
|
exposed even if tag verification fails.</p>
|
|
<h2>Impact</h2>
|
|
<p>If a program using the aes-gcm crate's decrypt_in_place*
|
|
APIs accesses the buffer after decryption failure, it will
|
|
contain a decryption of an unauthenticated input. Depending
|
|
on the specific nature of the program this may enable
|
|
Chosen Ciphertext Attacks (CCAs) which can cause a
|
|
catastrophic breakage of the cipher including full
|
|
plaintext recovery.</p>
|
|
<h2>Details</h2>
|
|
<p>As seen in the implementation of decrypt_in_place_detached for
|
|
AES GCM, if the tag verification fails, an error is returned.
|
|
Because the decryption of the ciphertext is done in place,
|
|
the plaintext contents are now exposed via buffer.</p>
|
|
<p>This should ideally not be the case - as noted in page 17 of
|
|
NIST's publication Recommendation for Block Cipher Modes of
|
|
Operation: Galois/Counter Mode (GCM) and GMAC:</p>
|
|
<p>In Step 8, the result of Step 7 is compared with the
|
|
authentication tag that was received as an input: if
|
|
they are identical, then the plaintext is returned;
|
|
otherwise,FAIL is returned.</p>
|
|
<p>This is seems correctly addressed in the AES GCM SIV
|
|
implementation, where the decrypted buffer is encrypted
|
|
again before the error is returned - this fix is
|
|
straightforward to implement in AES GCM. To ensure that
|
|
these types of cases are covered during testing, it
|
|
would be valuable to add test cases like 23, 24 etc
|
|
from project wycheproof to ensure that when a bad tag
|
|
is used, there is an error on decryption and that the
|
|
plaintext value is not exposed.</p>
|
|
<h2>PoC</h2>
|
|
<p>To reproduce this issue, I'm using test case 23 from
|
|
project wycheproof.</p>
|
|
<pre><code> let key = GenericArray::from_slice(&amp;hex!(&quot;000102030405060708090a0b0c0d0e0f&quot;));
|
|
let nonce = GenericArray::from_slice(&amp;hex!(&quot;505152535455565758595a5b&quot;));
|
|
let tag = GenericArray::from_slice(&amp;hex!(&quot;d9847dbc326a06e988c77ad3863e6083&quot;)); // bad tag
|
|
let mut ct = hex!(&quot;eb156d081ed6b6b55f4612f021d87b39&quot;);
|
|
let msg = hex!(&quot;202122232425262728292a2b2c2d2e2f&quot;);
|
|
let aad = hex!(&quot;&quot;);
|
|
let cipher = Aes128Gcm::new(&amp;key);
|
|
let _plaintext = cipher.decrypt_in_place_detached(&amp;nonce, &amp;aad, &amp;mut ct, &amp;tag);
|
|
assert_eq!(ct, msg);
|
|
</code></pre>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC-BY-4.0.html">CC-BY-4.0</a>
|
|
license.
|
|
|
|
|
|
|
|
|
|
Source: <a href="https://github.com/RustCrypto/AEADs/security/advisories/GHSA-423w-p2w9-r7vq">https://github.com/RustCrypto/AEADs/security/advisories/GHSA-423w-p2w9-r7vq</a>
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2025-0138: Vulnerability in deno</title><id>https://rustsec.org/advisories/RUSTSEC-2025-0138.html</id><updated>2025-12-29T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2025-0138.html" rel="alternate" type="text/html" title="RUSTSEC-2025-0138: Vulnerability in deno"/><published>2025-12-29T12:00:00+00:00</published><summary xml:lang="en">--allow-read / --allow-write permission bypass in `node:sqlite`</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/deno/RUSTSEC-2025-0138.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/deno/RUSTSEC-2025-0138.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2025-0138">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2025-0138
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>--allow-read / --allow-write permission bypass in <code>node:sqlite</code></p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2025-06-03">
|
|
June 3, 2025
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2025-12-29">
|
|
December 29, 2025
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/deno.html">deno</a>
|
|
(<a href="https://crates.io/crates/deno">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/read-write-bypass.html">#read-write-bypass</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-48935">CVE-2025-48935</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-8vxj-4cph-c596">GHSA-8vxj-4cph-c596</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/denoland/deno/security/advisories/GHSA-8vxj-4cph-c596">
|
|
https://github.com/denoland/deno/security/advisories/GHSA-8vxj-4cph-c596
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/denoland/deno/commit/31a97803995bd94629528ba841b2418d3ca01860">
|
|
https://github.com/denoland/deno/commit/31a97803995bd94629528ba841b2418d3ca01860
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>5.5 <span class="tag medium">
|
|
MEDIUM
|
|
</span></dd>
|
|
|
|
<dt id="cvss_details">CVSS Details</dt>
|
|
<dd>
|
|
<dl>
|
|
|
|
<dt>Attack Complexity</dt>
|
|
<dd>Low</dd>
|
|
|
|
<dt>Attack Requirements</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Attack Vector</dt>
|
|
<dd>Network</dd>
|
|
|
|
<dt>Privileges Required</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Availability Impact to the Subsequent System</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Confidentiality Impact to the Subsequent System</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Integrity Impact to the Subsequent System</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>User Interaction</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Availability Impact to the Vulnerable System</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Confidentiality Impact to the Vulnerable System</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Integrity Impact to the Vulnerable System</dt>
|
|
<dd>Low</dd>
|
|
|
|
<dt>Exploit Maturity</dt>
|
|
<dd>ProofOfConcept</dd>
|
|
|
|
</dl>
|
|
</dd>
|
|
|
|
<dt id="cvss">CVSS Vector</dt>
|
|
|
|
|
|
<dd><a href="https://www.first.org/cvss/calculator/3.1#CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P">CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P</a></dd>
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=2.2.5</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;2.2.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>It is possible to bypass Deno's read/write permission
|
|
checks by using ATTACH DATABASE statement.</p>
|
|
<h2>PoC</h2>
|
|
<pre><code>// poc.js
|
|
import { DatabaseSync } from &quot;node:sqlite&quot;
|
|
|
|
const db = new DatabaseSync(&quot;:memory:&quot;);
|
|
db.exec(&quot;ATTACH DATABASE 'test.db' as test;&quot;);
|
|
|
|
db.exec(&quot;CREATE TABLE test.test (id INTEGER PRIMARY KEY, name TEXT);&quot;);
|
|
</code></pre>
|
|
<pre><code>$ deno poc.js
|
|
</code></pre>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC-BY-4.0.html">CC-BY-4.0</a>
|
|
license.
|
|
|
|
|
|
|
|
|
|
Source: <a href="https://github.com/denoland/deno/security/advisories/GHSA-8vxj-4cph-c596">https://github.com/denoland/deno/security/advisories/GHSA-8vxj-4cph-c596</a>
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2024-0447: Vulnerability in pgp</title><id>https://rustsec.org/advisories/RUSTSEC-2024-0447.html</id><updated>2025-12-24T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2024-0447.html" rel="alternate" type="text/html" title="RUSTSEC-2024-0447: Vulnerability in pgp"/><published>2025-12-24T12:00:00+00:00</published><summary xml:lang="en">Panics on Malformed Untrusted Input</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/pgp/RUSTSEC-2024-0447.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/pgp/RUSTSEC-2024-0447.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2024-0447">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2024-0447
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Panics on Malformed Untrusted Input</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2024-12-05">
|
|
December 5, 2024
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2025-12-24">
|
|
December 24, 2025
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/pgp.html">pgp</a>
|
|
(<a href="https://crates.io/crates/pgp">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/denial-of-service.html">denial-of-service</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-53856">CVE-2024-53856</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-9rmp-2568-59rv">GHSA-9rmp-2568-59rv</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/rpgp/rpgp/security/advisories/GHSA-9rmp-2568-59rv">
|
|
https://github.com/rpgp/rpgp/security/advisories/GHSA-9rmp-2568-59rv
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/radicallyopensecurity/ros-website/blob/8169b16fc138a0b0dde14dd0e222d1279701b4d3/ros-public-reports/ROS%20-%20NLNet%20-%20rPGP%20-%202024.pdf">
|
|
https://github.com/radicallyopensecurity/ros-website/blob/8169b16fc138a0b0dde14dd0e222d1279701b4d3/ros-public-reports/ROS%20-%20NLNet%20-%20rPGP%20-%202024.pdf
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>7.5 <span class="tag high">
|
|
HIGH
|
|
</span></dd>
|
|
|
|
<dt id="cvss_details">CVSS Details</dt>
|
|
<dd>
|
|
<dl>
|
|
|
|
<dt>Attack Vector</dt>
|
|
<dd>Network</dd>
|
|
|
|
<dt>Attack Complexity</dt>
|
|
<dd>Low</dd>
|
|
|
|
<dt>Privileges Required</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>User Interaction</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Scope</dt>
|
|
<dd>Unchanged</dd>
|
|
|
|
<dt>Confidentiality Impact</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Integrity Impact</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Availability Impact</dt>
|
|
<dd>High</dd>
|
|
|
|
</dl>
|
|
</dd>
|
|
|
|
<dt id="cvss">CVSS Vector</dt>
|
|
|
|
|
|
<dd><a href="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">CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H</a></dd>
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.14.1</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>During a security audit, Radically Open Security discovered
|
|
several reachable edge cases which allow an attacker to
|
|
trigger rpgp crashes by providing crafted data.</p>
|
|
<h2>Impact</h2>
|
|
<p>When processing malformed input, rpgp can run into Rust panics which halt
|
|
the program.</p>
|
|
<p>This can happen in the following scenarios:</p>
|
|
<ul>
|
|
<li>Parsing OpenPGP messages from binary or armor format</li>
|
|
<li>Decrypting OpenPGP messages via decrypt_with_password()</li>
|
|
<li>Parsing or converting public keys</li>
|
|
<li>Parsing signed cleartext messages from armor format</li>
|
|
<li>Using malformed private keys to sign or encrypt</li>
|
|
</ul>
|
|
<p>Given the affected components, we consider most attack vectors to be
|
|
reachable by remote attackers during typical use cases of the rpgp
|
|
library. The attack complexity is low since the malformed messages
|
|
are generic, short, and require no victim-specific knowledge.</p>
|
|
<p>The result is a denial-of-service impact via program termination.
|
|
There is no impact to confidentiality or integrity security properties.</p>
|
|
<h2>Versions and Patches</h2>
|
|
<p>All recent versions are affected by at least some of the above mentioned
|
|
issues.</p>
|
|
<p>The vulnerabilities have been fixed with version 0.14.1. We recommend
|
|
all users to upgrade to this version.</p>
|
|
<h2>References</h2>
|
|
<p>The security audit was made possible by the NLnet Foundation
|
|
NGI Zero Core grant program for rpgp.</p>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC-BY-4.0.html">CC-BY-4.0</a>
|
|
license.
|
|
|
|
|
|
|
|
|
|
Source: <a href="https://github.com/rpgp/rpgp/security/advisories/GHSA-9rmp-2568-59rv">https://github.com/rpgp/rpgp/security/advisories/GHSA-9rmp-2568-59rv</a>
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2025-0137: Vulnerability in ruint</title><id>https://rustsec.org/advisories/RUSTSEC-2025-0137.html</id><updated>2025-12-28T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2025-0137.html" rel="alternate" type="text/html" title="RUSTSEC-2025-0137: Vulnerability in ruint"/><published>2025-12-24T12:00:00+00:00</published><summary xml:lang="en">Unsoundness of safe `reciprocal_mg10`</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/ruint/RUSTSEC-2025-0137.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/ruint/RUSTSEC-2025-0137.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2025-0137">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2025-0137
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Unsoundness of safe <code>reciprocal_mg10</code></p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2025-12-22">
|
|
December 22, 2025
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2025-12-24">
|
|
December 24, 2025
|
|
</time>
|
|
|
|
<time datetime="2025-12-28">
|
|
(last modified: December 28, 2025)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/ruint.html">ruint</a>
|
|
(<a href="https://crates.io/crates/ruint">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/memory-corruption.html">memory-corruption</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/soundness.html">#soundness</a>
|
|
|
|
<a href="/keywords/out-of-bounds.html">#out-of-bounds</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-9fjq-45qv-pcm7">GHSA-9fjq-45qv-pcm7</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/recmo/uint/issues/550">
|
|
https://github.com/recmo/uint/issues/550
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=1.17.1</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt>Affected Functions</dt>
|
|
<dd>Version</dd>
|
|
|
|
<dt><code>ruint::algorithms::div::reciprocal_mg10</code></dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;1.17.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The function <code>reciprocal_mg10</code> is marked as safe but can trigger undefined behavior (out-of-bounds access) because it relies on <code>debug_assert!</code> for safety checks instead of <code>assert!</code>.</p>
|
|
<p>When compiled in release mode, the <code>debug_assert!</code> is optimized out, potentially allowing invalid inputs to cause memory corruption.</p>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC0-1.0.html">CC0-1.0</a>
|
|
license.
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2024-0446: Vulnerability in starship</title><id>https://rustsec.org/advisories/RUSTSEC-2024-0446.html</id><updated>2025-12-22T12:00:00+00:00</updated><category term="code-execution"/><link href="https://rustsec.org/advisories/RUSTSEC-2024-0446.html" rel="alternate" type="text/html" title="RUSTSEC-2024-0446: Vulnerability in starship"/><published>2025-12-22T12:00:00+00:00</published><summary xml:lang="en">Shell expansion in custom commands</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/starship/RUSTSEC-2024-0446.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/starship/RUSTSEC-2024-0446.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2024-0446">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2024-0446
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Shell expansion in custom commands</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2024-07-26">
|
|
July 26, 2024
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2025-12-22">
|
|
December 22, 2025
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/starship.html">starship</a>
|
|
(<a href="https://crates.io/crates/starship">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/code-execution.html">code-execution</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-41815">CVE-2024-41815</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-vx24-x4mv-vwr5">GHSA-vx24-x4mv-vwr5</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/starship/starship/security/advisories/GHSA-vx24-x4mv-vwr5">
|
|
https://github.com/starship/starship/security/advisories/GHSA-vx24-x4mv-vwr5
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>7.4 <span class="tag high">
|
|
HIGH
|
|
</span></dd>
|
|
|
|
<dt id="cvss_details">CVSS Details</dt>
|
|
<dd>
|
|
<dl>
|
|
|
|
<dt>Attack Vector</dt>
|
|
<dd>Local</dd>
|
|
|
|
<dt>Attack Complexity</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>Privileges Required</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>User Interaction</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Scope</dt>
|
|
<dd>Unchanged</dd>
|
|
|
|
<dt>Confidentiality Impact</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>Integrity Impact</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>Availability Impact</dt>
|
|
<dd>High</dd>
|
|
|
|
</dl>
|
|
</dd>
|
|
|
|
<dt id="cvss">CVSS Vector</dt>
|
|
|
|
|
|
<dd><a href="https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H">CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H</a></dd>
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=1.20.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;=1.0.0</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<h2>Summary</h2>
|
|
<p>Undocumented and unpredictable shell expansion and/or quoting
|
|
rules make it easily to accidentally cause shell injection
|
|
when using custom commands with starship in bash.</p>
|
|
<h2>Details</h2>
|
|
<p>I wanted to show the git commit name in my prompt (I use bash), so I added a command:</p>
|
|
<pre><code>[custom.git_commit_name]
|
|
command = 'git show -s --format=&quot;%&lt;(25,mtrunc)%s&quot;'
|
|
style = &quot;italic&quot;
|
|
when = true
|
|
</code></pre>
|
|
<p>To my surprise, when I had a commit with backticks in it,
|
|
the backticks were expanded. e.g.:</p>
|
|
<pre><code>touch foo
|
|
git add foo
|
|
git commit -m '`ls`'
|
|
</code></pre>
|
|
<p>Thankfully I noticed it on my own commit before checking out
|
|
someone's code whose commit message was</p>
|
|
<p><code>rm -rf /important/stuff</code></p>
|
|
<p>The documentation says:</p>
|
|
<p>Command output is printed unescaped to the prompt</p>
|
|
<pre><code> Whatever output the command generates is printed unmodified in the prompt.
|
|
This means if the output contains special sequences that are interpreted
|
|
by your shell they will be expanded when displayed. These special
|
|
sequences are shell specific, e.g. you can write a command module that
|
|
writes bash sequences, e.g. \h, but this module will not work in a fish
|
|
or zsh shell.
|
|
|
|
Format strings can also contain shell specific prompt sequences, e.g. Bash, Zsh.
|
|
</code></pre>
|
|
<p>However, it doesn't specifically mention shell injection with $()
|
|
and backticks; it just mentions the prompt escape sequences, and
|
|
the link doesn't suggest any shell injection possibilities either.</p>
|
|
<p>Furthermore, I can't even figure out how to properly escape things,
|
|
because simply changing the command to</p>
|
|
<pre><code>command = 'printf %q &quot;$(git show -s --format=&quot;%&lt;(25,mtrunc)%s&quot;)&quot;'
|
|
</code></pre>
|
|
<p>doesn't work, as it's also adding a backslash before spaces. I also
|
|
tried <code>use_stdin=false</code></p>
|
|
<p>I'm not 100% sure this qualifies as a vulnerability, but I feel it is not
|
|
documented well enough to warn unsuspecting users, and it certainly is
|
|
not documented how to properly quote things, because after 15-30 minutes
|
|
of trying, I can't figure it out.</p>
|
|
<p>I see some past commits about fixing shell injection with $, and it does
|
|
seem like the problem doesn't exist in build-in modules like git branch.</p>
|
|
<h2>PoC</h2>
|
|
<p>Have some custom command which prints out information from a potentially untrusted/unverified source.</p>
|
|
<pre><code>[custom.git_commit_name]
|
|
command = 'git show -s --format=&quot;%&lt;(25,mtrunc)%s&quot;'
|
|
style = &quot;italic&quot;
|
|
when = true
|
|
</code></pre>
|
|
<h2>Impact</h2>
|
|
<p>People with custom commands, so the scope is limited, and without knowledge
|
|
of people's commands, it could be hard to target people. The only one I saw
|
|
in the example custom commands that may be vulnerable is the playerctl one.</p>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC-BY-4.0.html">CC-BY-4.0</a>
|
|
license.
|
|
|
|
|
|
|
|
|
|
Source: <a href="https://github.com/starship/starship/security/advisories/GHSA-vx24-x4mv-vwr5">https://github.com/starship/starship/security/advisories/GHSA-vx24-x4mv-vwr5</a>
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2023-0095: Vulnerability in odoh-rs</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0095.html</id><updated>2025-12-22T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0095.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0095: Vulnerability in odoh-rs"/><published>2025-12-22T12:00:00+00:00</published><summary xml:lang="en">Invalid Slice Split Results in Server Panic</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/odoh-rs/RUSTSEC-2023-0095.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/odoh-rs/RUSTSEC-2023-0095.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0095">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0095
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Invalid Slice Split Results in Server Panic</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-08-03">
|
|
August 3, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2025-12-22">
|
|
December 22, 2025
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/odoh-rs.html">odoh-rs</a>
|
|
(<a href="https://crates.io/crates/odoh-rs">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/denial-of-service.html">denial-of-service</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-3766">CVE-2023-3766</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-gpcv-p28p-fv2p">GHSA-gpcv-p28p-fv2p</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/cloudflare/odoh-rs/security/advisories/GHSA-gpcv-p28p-fv2p">
|
|
https://github.com/cloudflare/odoh-rs/security/advisories/GHSA-gpcv-p28p-fv2p
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/cloudflare/odoh-rs/pull/28">
|
|
https://github.com/cloudflare/odoh-rs/pull/28
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>5.9 <span class="tag medium">
|
|
MEDIUM
|
|
</span></dd>
|
|
|
|
<dt id="cvss_details">CVSS Details</dt>
|
|
<dd>
|
|
<dl>
|
|
|
|
<dt>Attack Vector</dt>
|
|
<dd>Network</dd>
|
|
|
|
<dt>Attack Complexity</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>Privileges Required</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>User Interaction</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Scope</dt>
|
|
<dd>Unchanged</dd>
|
|
|
|
<dt>Confidentiality Impact</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Integrity Impact</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Availability Impact</dt>
|
|
<dd>High</dd>
|
|
|
|
</dl>
|
|
</dd>
|
|
|
|
<dt id="cvss">CVSS Vector</dt>
|
|
|
|
|
|
<dd><a href="https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H">CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H</a></dd>
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=1.0.2</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>A vulnerability was discovered in the odoh-rs rust crate that stems
|
|
from faulty logic during the parsing of encrypted queries. This
|
|
issue specifically occurs when processing encrypted query data
|
|
received from remote clients.</p>
|
|
<h2>Impact</h2>
|
|
<p>An attacker with knowledge of this vulnerability could craft and send
|
|
specially designed encrypted queries to targeted ODOH servers running
|
|
with odoh-rs. Upon successful exploitation, the server will crash
|
|
abruptly, disrupting its normal operation and rendering the service
|
|
temporarily unavailable.</p>
|
|
<h2>Patches</h2>
|
|
<p>Users are encouraged to update their odoh-rs's rust crate to v1.0.2.</p>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC-BY-4.0.html">CC-BY-4.0</a>
|
|
license.
|
|
|
|
|
|
|
|
|
|
Source: <a href="https://github.com/cloudflare/odoh-rs/security/advisories/GHSA-gpcv-p28p-fv2p">https://github.com/cloudflare/odoh-rs/security/advisories/GHSA-gpcv-p28p-fv2p</a>
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2022-0103: Vulnerability in coreos-installer</title><id>https://rustsec.org/advisories/RUSTSEC-2022-0103.html</id><updated>2025-12-21T12:00:00+00:00</updated><category term="privilege-escalation"/><link href="https://rustsec.org/advisories/RUSTSEC-2022-0103.html" rel="alternate" type="text/html" title="RUSTSEC-2022-0103: Vulnerability in coreos-installer"/><published>2025-12-21T12:00:00+00:00</published><summary xml:lang="en">Incorrect signature verification on gzip-compressed install images</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/coreos-installer/RUSTSEC-2022-0103.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/coreos-installer/RUSTSEC-2022-0103.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2022-0103">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2022-0103
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Incorrect signature verification on gzip-compressed install images</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2022-03-04">
|
|
March 4, 2022
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2025-12-21">
|
|
December 21, 2025
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/coreos-installer.html">coreos-installer</a>
|
|
(<a href="https://crates.io/crates/coreos-installer">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/privilege-escalation.html">privilege-escalation</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-20319">CVE-2021-20319</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-3r3g-g73x-g593">GHSA-3r3g-g73x-g593</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=2011862">
|
|
https://bugzilla.redhat.com/show_bug.cgi?id=2011862
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://nvd.nist.gov/vuln/detail/CVE-2021-20319">
|
|
https://nvd.nist.gov/vuln/detail/CVE-2021-20319
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>7.8 <span class="tag high">
|
|
HIGH
|
|
</span></dd>
|
|
|
|
<dt id="cvss_details">CVSS Details</dt>
|
|
<dd>
|
|
<dl>
|
|
|
|
<dt>Attack Vector</dt>
|
|
<dd>Local</dd>
|
|
|
|
<dt>Attack Complexity</dt>
|
|
<dd>Low</dd>
|
|
|
|
<dt>Privileges Required</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>User Interaction</dt>
|
|
<dd>Required</dd>
|
|
|
|
<dt>Scope</dt>
|
|
<dd>Unchanged</dd>
|
|
|
|
<dt>Confidentiality Impact</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>Integrity Impact</dt>
|
|
<dd>High</dd>
|
|
|
|
<dt>Availability Impact</dt>
|
|
<dd>High</dd>
|
|
|
|
</dl>
|
|
</dd>
|
|
|
|
<dt id="cvss">CVSS Vector</dt>
|
|
|
|
|
|
<dd><a href="https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H">CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H</a></dd>
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.10.1</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The coreos-installer is a program to fetch a disk image and
|
|
stream it to a target disk.</p>
|
|
<p>During the installation process the installation image gpg
|
|
signatures are verified.</p>
|
|
<p>The signature verification can be bypassed for gzip-compressed
|
|
images due to a flaw in gzip coreos-installer wrapper.</p>
|
|
<p>When the decoder encounters the gzip trailer, it signals EOF
|
|
to its output and does not continue reading from its input.
|
|
As a result, earlier wrappers don't notice that they've reached
|
|
EOF.</p>
|
|
<p>In particular, the GPG wrapper does not check the exit code of GPG.</p>
|
|
<p>Thus, if an attacker can substitute an attacker-controlled
|
|
gzipped disk image, installation will complete successfully
|
|
without a valid signature.</p>
|
|
<p>This vulnerability impacts only specific, User-Provisioned
|
|
Infrastructure (UPI) installation methods where coreos-installer
|
|
is used and where gzip-compressed images are configured as
|
|
the installation source.</p>
|
|
<p>The Installer-Provisioned Infrastructure (IPI) bare-metal
|
|
installs do use coreos-installer, but this installation
|
|
method uses an install image embedded in the live OS image
|
|
(ISO or PXE image), therefore is not affected by this
|
|
vulnerability.</p>
|
|
<p>This vulnerability is specific to some upstream Fedora
|
|
CoreOS installation flows.</p>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC0-1.0.html">CC0-1.0</a>
|
|
license.
|
|
|
|
|
|
</p>
|
|
</article></content></entry><entry><title>RUSTSEC-2024-0444: Vulnerability in boa_engine</title><id>https://rustsec.org/advisories/RUSTSEC-2024-0444.html</id><updated>2025-12-19T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2024-0444.html" rel="alternate" type="text/html" title="RUSTSEC-2024-0444: Vulnerability in boa_engine"/><published>2025-12-19T12:00:00+00:00</published><summary xml:lang="en">Uncaught exception when transitioning the state of `AsyncGenerator` objects from within a property getter of `then`</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/boa_engine/RUSTSEC-2024-0444.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/boa_engine/RUSTSEC-2024-0444.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2024-0444">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2024-0444
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Uncaught exception when transitioning the state of <code>AsyncGenerator</code> objects from within a property getter of <code>then</code></p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2024-08-14">
|
|
August 14, 2024
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2025-12-19">
|
|
December 19, 2025
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/boa_engine.html">boa_engine</a>
|
|
(<a href="https://crates.io/crates/boa_engine">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
Vulnerability
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/denial-of-service.html">denial-of-service</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-f67q-wr6w-23jq">GHSA-f67q-wr6w-23jq</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-43367">CVE-2024-43367</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/boa-dev/boa/security/advisories/GHSA-f67q-wr6w-23jq">
|
|
https://github.com/boa-dev/boa/security/advisories/GHSA-f67q-wr6w-23jq
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://nvd.nist.gov/vuln/detail/CVE-2024-43357">
|
|
https://nvd.nist.gov/vuln/detail/CVE-2024-43357
|
|
</a>
|
|
</li>
|
|
|
|
<li>
|
|
<a href="https://github.com/boa-dev/boa/commit/69ea2f52ed976934bff588d6b566bae01be313f7">
|
|
https://github.com/boa-dev/boa/commit/69ea2f52ed976934bff588d6b566bae01be313f7
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="related">Related</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-43357">CVE-2024-43357</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>8.6 <span class="tag high">
|
|
HIGH
|
|
</span></dd>
|
|
|
|
<dt id="cvss_details">CVSS Details</dt>
|
|
<dd>
|
|
<dl>
|
|
|
|
<dt>Attack Vector</dt>
|
|
<dd>Network</dd>
|
|
|
|
<dt>Attack Complexity</dt>
|
|
<dd>Low</dd>
|
|
|
|
<dt>Privileges Required</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>User Interaction</dt>
|
|
<dd>None</dd>
|
|
|
|
<dt>Scope</dt>
|
|
<dd>Unchanged</dd>
|
|
|
|
<dt>Confidentiality Impact</dt>
|
|
<dd>Low</dd>
|
|
|
|
<dt>Integrity Impact</dt>
|
|
<dd>Low</dd>
|
|
|
|
<dt>Availability Impact</dt>
|
|
<dd>High</dd>
|
|
|
|
</dl>
|
|
</dd>
|
|
|
|
<dt id="cvss">CVSS Vector</dt>
|
|
|
|
|
|
<dd><a href="https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H">CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H</a></dd>
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&#62;=0.19</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="unaffected">Unaffected</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><code>&#60;0.16</code></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>A wrong assumption made when handling ECMAScript's AsyncGenerator operations
|
|
can cause an uncaught exception on certain scripts.</p>
|
|
<h2>Details</h2>
|
|
<p>Boa's implementation of AsyncGenerator makes the assumption that the state of
|
|
an AsyncGenerator object cannot change while resolving a promise created by
|
|
methods of AsyncGenerator such as %AsyncGeneratorPrototype%.next,
|
|
%AsyncGeneratorPrototype%.return, or %AsyncGeneratorPrototype%.throw.</p>
|
|
<p>However, a carefully constructed code could trigger a state transition from
|
|
a getter method for the promise's then property, which causes the engine to
|
|
fail an assertion of this assumption, causing an uncaught exception. This
|
|
could be used to create a Denial Of Service attack in applications that
|
|
run arbitrary ECMAScript code provided by an external user.</p>
|
|
<h2>Patches</h2>
|
|
<p>Version 0.19.0 is patched to correctly handle this case.</p>
|
|
<h2>Workarounds</h2>
|
|
<p>Users unable to upgrade to the patched version would want to use
|
|
std::panic::catch_unwind to ensure any exceptions caused by the
|
|
engine don't impact the availability of the main application.</p>
|
|
|
|
|
|
<p id="license" class="license">Advisory available under <a href="https://spdx.org/licenses/CC-BY-4.0.html">CC-BY-4.0</a>
|
|
license.
|
|
|
|
|
|
|
|
|
|
Source: <a href="https://github.com/boa-dev/boa/security/advisories/GHSA-f67q-wr6w-23jq">https://github.com/boa-dev/boa/security/advisories/GHSA-f67q-wr6w-23jq</a>
|
|
|
|
|
|
</p>
|
|
</article></content></entry></feed> |