RustSec Advisorieshttps://rustsec.org/feed.xml2023-03-24T12:00:00+00:00RustSechttps://rustsec.org/favicon.icoSecurity advisories filed against Rust cratesRUSTSEC-2023-0025: git-hash is unmaintainedhttps://rustsec.org/advisories/RUSTSEC-2023-0025.html2023-03-24T12:00:00+00:002023-03-24T12:00:00+00:00Gitoxide has renamed its crates. <article>
<span class="floating-menu">
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/git-hash/RUSTSEC-2023-0025.md">History</a> ⋅
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/git-hash/RUSTSEC-2023-0025.md">Edit</a>
</span>
<header>
<h1>
RUSTSEC-2023-0025
</h1>
<span class="subtitle"><p>Gitoxide has renamed its crates.</p>
</span>
</header>
<dl>
<dt id="reported">Reported</dt>
<dd>
<time datetime="2023-03-14">
March 14, 2023
</time>
</dd>
<dt id="issued">Issued</dt>
<dd>
<time datetime="2023-03-24">
March 24, 2023
</time>
</dd>
<dt id="package">Package</dt>
<dd>
<a href="/packages/git-hash.html">git-hash</a>
(<a href="https://crates.io/crates/git-hash">crates.io</a>)
</dd>
<dt id="type">Type</dt>
<dd>
<span class="tag info">INFO</span>
Unmaintained
</dd>
<dt id="details">Details</dt>
<dd>
<a href="https://github.com/Byron/gitoxide/pull/741">
https://github.com/Byron/gitoxide/pull/741
</a>
</dd>
<dt id="patched">Patched</dt>
<dd>
no patched versions
</dd>
</dl>
<h3 id="description">Description</h3>
<p>All crates in the gitoxide project have been renamed from git-<!-- raw HTML omitted --> to
gix-<!-- raw HTML omitted -->. The git- prefixed crates are no longer being updated. Switch
to using gix-hash to continue receiving updates.</p>
</article>RUSTSEC-2023-0026: git-path is unmaintainedhttps://rustsec.org/advisories/RUSTSEC-2023-0026.html2023-03-24T12:00:00+00:002023-03-24T12:00:00+00:00Gitoxide has renamed its crates. <article>
<span class="floating-menu">
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/git-path/RUSTSEC-2023-0026.md">History</a> ⋅
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/git-path/RUSTSEC-2023-0026.md">Edit</a>
</span>
<header>
<h1>
RUSTSEC-2023-0026
</h1>
<span class="subtitle"><p>Gitoxide has renamed its crates.</p>
</span>
</header>
<dl>
<dt id="reported">Reported</dt>
<dd>
<time datetime="2023-03-14">
March 14, 2023
</time>
</dd>
<dt id="issued">Issued</dt>
<dd>
<time datetime="2023-03-24">
March 24, 2023
</time>
</dd>
<dt id="package">Package</dt>
<dd>
<a href="/packages/git-path.html">git-path</a>
(<a href="https://crates.io/crates/git-path">crates.io</a>)
</dd>
<dt id="type">Type</dt>
<dd>
<span class="tag info">INFO</span>
Unmaintained
</dd>
<dt id="details">Details</dt>
<dd>
<a href="https://github.com/Byron/gitoxide/pull/741">
https://github.com/Byron/gitoxide/pull/741
</a>
</dd>
<dt id="patched">Patched</dt>
<dd>
no patched versions
</dd>
</dl>
<h3 id="description">Description</h3>
<p>All crates in the gitoxide project have been renamed from git-<!-- raw HTML omitted --> to
gix-<!-- raw HTML omitted -->. The git- prefixed crates are no longer being updated. Switch
to using gix-path to continue receiving updates.</p>
</article>RUSTSEC-2023-0022: Vulnerability in opensslhttps://rustsec.org/advisories/RUSTSEC-2023-0022.html2023-03-24T12:00:00+00:002023-03-24T12:00:00+00:00`openssl` `X509NameBuilder::build` returned object is not thread safe <article>
<span class="floating-menu">
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/openssl/RUSTSEC-2023-0022.md">History</a> ⋅
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/openssl/RUSTSEC-2023-0022.md">Edit</a>
</span>
<header>
<h1>
RUSTSEC-2023-0022
</h1>
<span class="subtitle"><p><code>openssl</code> <code>X509NameBuilder::build</code> returned object is not thread safe</p>
</span>
</header>
<dl>
<dt id="reported">Reported</dt>
<dd>
<time datetime="2023-03-24">
March 24, 2023
</time>
</dd>
<dt id="issued">Issued</dt>
<dd>
<time datetime="2023-03-24">
March 24, 2023
</time>
</dd>
<dt id="package">Package</dt>
<dd>
<a href="/packages/openssl.html">openssl</a>
(<a href="https://crates.io/crates/openssl">crates.io</a>)
</dd>
<dt id="type">Type</dt>
<dd>
Vulnerability
</dd>
<dt id="categories">Categories</dt>
<dd>
<ul>
<li><a href="/categories/thread-safety.html">thread-safety</a></li>
</ul>
</dd>
<dt id="details">Details</dt>
<dd>
<a href="https://github.com/sfackler/rust-openssl/pull/1854">
https://github.com/sfackler/rust-openssl/pull/1854
</a>
</dd>
<dt id="patched">Patched</dt>
<dd>
<ul>
<li><code>>=0.10.48</code></li>
</ul>
</dd>
</dl>
<dl>
<dt>Affected Functions</dt>
<dd>Version</dd>
<dt><code>openssl::x509::X509NameBuilder::build</code></dt>
<dd>
<ul>
<li><code><0.10.48, >=0.9.7</code></li>
</ul>
</dd>
</dl>
<h3 id="description">Description</h3>
<p>OpenSSL has a <code>modified</code> bit that it can set on on <code>X509_NAME</code> objects. If this
bit is set then the object is not thread-safe even when it appears the code is
not modifying the value.</p>
<p>Thanks to David Benjamin (Google) for reporting this issue.</p>
</article>RUSTSEC-2023-0023: Vulnerability in opensslhttps://rustsec.org/advisories/RUSTSEC-2023-0023.html2023-03-24T12:00:00+00:002023-03-24T12:00:00+00:00`openssl` `SubjectAlternativeName` and `ExtendedKeyUsage::other` allow arbitrary file read <article>
<span class="floating-menu">
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/openssl/RUSTSEC-2023-0023.md">History</a> ⋅
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/openssl/RUSTSEC-2023-0023.md">Edit</a>
</span>
<header>
<h1>
RUSTSEC-2023-0023
</h1>
<span class="subtitle"><p><code>openssl</code> <code>SubjectAlternativeName</code> and <code>ExtendedKeyUsage::other</code> allow arbitrary file read</p>
</span>
</header>
<dl>
<dt id="reported">Reported</dt>
<dd>
<time datetime="2023-03-24">
March 24, 2023
</time>
</dd>
<dt id="issued">Issued</dt>
<dd>
<time datetime="2023-03-24">
March 24, 2023
</time>
</dd>
<dt id="package">Package</dt>
<dd>
<a href="/packages/openssl.html">openssl</a>
(<a href="https://crates.io/crates/openssl">crates.io</a>)
</dd>
<dt id="type">Type</dt>
<dd>
Vulnerability
</dd>
<dt id="categories">Categories</dt>
<dd>
<ul>
<li><a href="/categories/file-disclosure.html">file-disclosure</a></li>
</ul>
</dd>
<dt id="details">Details</dt>
<dd>
<a href="https://github.com/sfackler/rust-openssl/pull/1854">
https://github.com/sfackler/rust-openssl/pull/1854
</a>
</dd>
<dt id="patched">Patched</dt>
<dd>
<ul>
<li><code>>=0.10.48</code></li>
</ul>
</dd>
</dl>
<dl>
<dt>Affected Functions</dt>
<dd>Version</dd>
<dt><code>openssl::x509::extension::ExtendedKeyUsage::other</code></dt>
<dd>
<ul>
<li><code><0.10.48, >=0.9.7</code></li>
</ul>
</dd>
<dt><code>openssl::x509::extension::SubjectAlternativeName::new</code></dt>
<dd>
<ul>
<li><code><0.10.48, >=0.9.7</code></li>
</ul>
</dd>
</dl>
<h3 id="description">Description</h3>
<p><code>SubjectAlternativeName</code> and <code>ExtendedKeyUsage</code> arguments were parsed using the OpenSSL
function <code>X509V3_EXT_nconf</code>. This function parses all input using an OpenSSL mini-language
which can perform arbitrary file reads.</p>
<p>Thanks to David Benjamin (Google) for reporting this issue.</p>
</article>RUSTSEC-2023-0024: Vulnerability in opensslhttps://rustsec.org/advisories/RUSTSEC-2023-0024.html2023-03-24T12:00:00+00:002023-03-24T12:00:00+00:00`openssl` `X509Extension::new` and `X509Extension::new_nid` null pointer dereference <article>
<span class="floating-menu">
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/openssl/RUSTSEC-2023-0024.md">History</a> ⋅
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/openssl/RUSTSEC-2023-0024.md">Edit</a>
</span>
<header>
<h1>
RUSTSEC-2023-0024
</h1>
<span class="subtitle"><p><code>openssl</code> <code>X509Extension::new</code> and <code>X509Extension::new_nid</code> null pointer dereference</p>
</span>
</header>
<dl>
<dt id="reported">Reported</dt>
<dd>
<time datetime="2023-03-24">
March 24, 2023
</time>
</dd>
<dt id="issued">Issued</dt>
<dd>
<time datetime="2023-03-24">
March 24, 2023
</time>
</dd>
<dt id="package">Package</dt>
<dd>
<a href="/packages/openssl.html">openssl</a>
(<a href="https://crates.io/crates/openssl">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="details">Details</dt>
<dd>
<a href="https://github.com/sfackler/rust-openssl/pull/1854">
https://github.com/sfackler/rust-openssl/pull/1854
</a>
</dd>
<dt id="patched">Patched</dt>
<dd>
<ul>
<li><code>>=0.10.48</code></li>
</ul>
</dd>
</dl>
<dl>
<dt>Affected Functions</dt>
<dd>Version</dd>
<dt><code>openssl::x509::X509Extension::new</code></dt>
<dd>
<ul>
<li><code><0.10.48, >=0.9.7</code></li>
</ul>
</dd>
<dt><code>openssl::x509::X509Extension::new_nid</code></dt>
<dd>
<ul>
<li><code><0.10.48, >=0.9.7</code></li>
</ul>
</dd>
</dl>
<h3 id="description">Description</h3>
<p>These functions would crash when the context argument was None with certain extension types.</p>
<p>Thanks to David Benjamin (Google) for reporting this issue.</p>
</article>RUSTSEC-2022-0092: Unsoundness in rmp-serdehttps://rustsec.org/advisories/RUSTSEC-2022-0092.html2023-03-22T12:00:00+00:002023-03-22T12:00:00+00:00`rmp-serde` `Raw` and `RawRef` unsound <article>
<span class="floating-menu">
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/rmp-serde/RUSTSEC-2022-0092.md">History</a> ⋅
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/rmp-serde/RUSTSEC-2022-0092.md">Edit</a>
</span>
<header>
<h1>
RUSTSEC-2022-0092
</h1>
<span class="subtitle"><p><code>rmp-serde</code> <code>Raw</code> and <code>RawRef</code> unsound</p>
</span>
</header>
<dl>
<dt id="reported">Reported</dt>
<dd>
<time datetime="2022-04-13">
April 13, 2022
</time>
</dd>
<dt id="issued">Issued</dt>
<dd>
<time datetime="2023-03-22">
March 22, 2023
</time>
</dd>
<dt id="package">Package</dt>
<dd>
<a href="/packages/rmp-serde.html">rmp-serde</a>
(<a href="https://crates.io/crates/rmp-serde">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/memory-corruption.html">memory-corruption</a></li>
</ul>
</dd>
<dt id="details">Details</dt>
<dd>
<a href="https://github.com/3Hren/msgpack-rust/issues/305">
https://github.com/3Hren/msgpack-rust/issues/305
</a>
</dd>
<dt id="patched">Patched</dt>
<dd>
<ul>
<li><code>>=1.1.1</code></li>
</ul>
</dd>
</dl>
<h3 id="description">Description</h3>
<p>It was found that <code>Raw::from_utf8</code> expects valid UTF-8. If invalid UTF-8 is received it can cause the process to crash.</p>
</article>RUSTSEC-2023-0021: Vulnerability in stb_imagehttps://rustsec.org/advisories/RUSTSEC-2023-0021.html2023-03-19T12:00:00+00:002023-03-19T12:00:00+00:00NULL pointer derefernce in `stb_image` <article>
<span class="floating-menu">
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/stb_image/RUSTSEC-2023-0021.md">History</a> ⋅
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/stb_image/RUSTSEC-2023-0021.md">Edit</a>
</span>
<header>
<h1>
RUSTSEC-2023-0021
</h1>
<span class="subtitle"><p>NULL pointer derefernce in <code>stb_image</code></p>
</span>
</header>
<dl>
<dt id="reported">Reported</dt>
<dd>
<time datetime="2023-03-19">
March 19, 2023
</time>
</dd>
<dt id="issued">Issued</dt>
<dd>
<time datetime="2023-03-19">
March 19, 2023
</time>
</dd>
<dt id="package">Package</dt>
<dd>
<a href="/packages/stb_image.html">stb_image</a>
(<a href="https://crates.io/crates/stb_image">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/NULL-pointer-dereference.html">#NULL-pointer-dereference</a>
</dd>
<dt id="details">Details</dt>
<dd>
<a href="https://github.com/servo/rust-stb-image/pull/102">
https://github.com/servo/rust-stb-image/pull/102
</a>
</dd>
<dt id="patched">Patched</dt>
<dd>
<ul>
<li><code>>=0.2.5</code></li>
</ul>
</dd>
</dl>
<h3 id="description">Description</h3>
<p>A bug in error handling in the <code>stb_image</code> C library could cause a NULL pointer dereference when attempting to load an invalid or unsupported image file. This is fixed in version 0.2.5 and later of the <code>stb_image</code> Rust crate, by patching the C code to correctly handle NULL pointers.</p>
<p>Thank you to GitHub user 0xdd96 for finding and fixing this vulnerability.</p>
</article>RUSTSEC-2019-0040: boxfnonce is unmaintainedhttps://rustsec.org/advisories/RUSTSEC-2019-0040.html2023-03-12T12:00:00+00:002023-03-12T12:00:00+00:00`boxfnonce` obsolete with release of Rust 1.35.0 <article>
<span class="floating-menu">
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/boxfnonce/RUSTSEC-2019-0040.md">History</a> ⋅
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/boxfnonce/RUSTSEC-2019-0040.md">Edit</a>
</span>
<header>
<h1>
RUSTSEC-2019-0040
</h1>
<span class="subtitle"><p><code>boxfnonce</code> obsolete with release of Rust 1.35.0</p>
</span>
</header>
<dl>
<dt id="reported">Reported</dt>
<dd>
<time datetime="2019-06-20">
June 20, 2019
</time>
</dd>
<dt id="issued">Issued</dt>
<dd>
<time datetime="2023-03-12">
March 12, 2023
</time>
</dd>
<dt id="package">Package</dt>
<dd>
<a href="/packages/boxfnonce.html">boxfnonce</a>
(<a href="https://crates.io/crates/boxfnonce">crates.io</a>)
</dd>
<dt id="type">Type</dt>
<dd>
<span class="tag info">INFO</span>
Unmaintained
</dd>
<dt id="details">Details</dt>
<dd>
<a href="https://github.com/stbuehler/rust-boxfnonce/commit/058ac7e1a7d732076da9d8a37baa66bcb67758d8">
https://github.com/stbuehler/rust-boxfnonce/commit/058ac7e1a7d732076da9d8a37baa66bcb67758d8
</a>
</dd>
<dt id="patched">Patched</dt>
<dd>
no patched versions
</dd>
</dl>
<h3 id="description">Description</h3>
<p><a href="https://github.com/stbuehler/rust-boxfnonce/commit/058ac7e1a7d732076da9d8a37baa66bcb67758d8">This</a> commit marks the <code>boxfnonce</code> crate as obsolete and the GitHub repo has since been archived.</p>
<p>The functionality of <code>boxfnonce</code> has been added to Rust since 1.35.0. Use <code>Box<dyn FnOnce(...) -> ...></code>.</p>
</article>RUSTSEC-2021-0151: ncollide2d is unmaintainedhttps://rustsec.org/advisories/RUSTSEC-2021-0151.html2023-03-12T12:00:00+00:002023-03-12T12:00:00+00:00ncollide2d is unmaintained <article>
<span class="floating-menu">
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/ncollide2d/RUSTSEC-2021-0151.md">History</a> ⋅
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/ncollide2d/RUSTSEC-2021-0151.md">Edit</a>
</span>
<header>
<h1>
RUSTSEC-2021-0151
</h1>
<span class="subtitle"><p>ncollide2d is unmaintained</p>
</span>
</header>
<dl>
<dt id="reported">Reported</dt>
<dd>
<time datetime="2021-01-29">
January 29, 2021
</time>
</dd>
<dt id="issued">Issued</dt>
<dd>
<time datetime="2023-03-12">
March 12, 2023
</time>
</dd>
<dt id="package">Package</dt>
<dd>
<a href="/packages/ncollide2d.html">ncollide2d</a>
(<a href="https://crates.io/crates/ncollide2d">crates.io</a>)
</dd>
<dt id="type">Type</dt>
<dd>
<span class="tag info">INFO</span>
Unmaintained
</dd>
<dt id="details">Details</dt>
<dd>
<a href="https://github.com/dimforge/ncollide">
https://github.com/dimforge/ncollide
</a>
</dd>
<dt id="patched">Patched</dt>
<dd>
no patched versions
</dd>
</dl>
<h3 id="description">Description</h3>
<p>The maintainer has advised that this crate is passively-maintained and that it
is being superseded by the <a href="https://github.com/dimforge/parry">Parry</a> project.</p>
</article>RUSTSEC-2021-0152: Unsoundness in out-referencehttps://rustsec.org/advisories/RUSTSEC-2021-0152.html2023-03-12T12:00:00+00:002023-03-12T12:00:00+00:00`out_reference::Out::from_raw` should be `unsafe` <article>
<span class="floating-menu">
<a href="https://github.com/RustSec/advisory-db/commits/main/crates/out-reference/RUSTSEC-2021-0152.md">History</a> ⋅
<a href="https://github.com/RustSec/advisory-db/edit/main/crates/out-reference/RUSTSEC-2021-0152.md">Edit</a>
</span>
<header>
<h1>
RUSTSEC-2021-0152
</h1>
<span class="subtitle"><p><code>out_reference::Out::from_raw</code> should be <code>unsafe</code></p>
</span>
</header>
<dl>
<dt id="reported">Reported</dt>
<dd>
<time datetime="2021-01-20">
January 20, 2021
</time>
</dd>
<dt id="issued">Issued</dt>
<dd>
<time datetime="2023-03-12">
March 12, 2023
</time>
</dd>
<dt id="package">Package</dt>
<dd>
<a href="/packages/out-reference.html">out-reference</a>
(<a href="https://crates.io/crates/out-reference">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/memory-corruption.html">memory-corruption</a></li>
</ul>
</dd>
<dt id="keywords">Keywords</dt>
<dd>
<a href="/keywords/unsound.html">#unsound</a>
<a href="/keywords/raw-pointer.html">#raw-pointer</a>
</dd>
<dt id="details">Details</dt>
<dd>
<a href="https://github.com/RustyYato/out-ref/issues/1">
https://github.com/RustyYato/out-ref/issues/1
</a>
</dd>
<dt id="patched">Patched</dt>
<dd>
<ul>
<li><code>>=0.2.0</code></li>
</ul>
</dd>
<dt id="unaffected">Unaffected</dt>
<dd>
<ul>
<li><code><0.1.0</code></li>
</ul>
</dd>
</dl>
<dl>
<dt>Affected Functions</dt>
<dd>Version</dd>
<dt><code>out_reference::Out::from_raw</code></dt>
<dd>
<ul>
<li><code>>=0.1.0, <0.2.0</code></li>
</ul>
</dd>
</dl>
<h3 id="description">Description</h3>
<p><code>Out::from_raw</code> in affected versions allows writing a value to invalid memory address without requiring <code>unsafe</code>.</p>
<p>The soundness issue has been addressed by making <code>Out::from_raw</code> an unsafe function.</p>
</article>