Files
advisory-db/feed.xml
T
2026-02-07 13:29:16 +00:00

1604 lines
54 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-02-07T12: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-0149: Vulnerability in below</title><id>https://rustsec.org/advisories/RUSTSEC-2025-0149.html</id><updated>2026-02-07T12:00:00+00:00</updated><category term="privilege-escalation"/><link href="https://rustsec.org/advisories/RUSTSEC-2025-0149.html" rel="alternate" type="text/html" title="RUSTSEC-2025-0149: Vulnerability in below"/><published>2026-02-07T12:00:00+00:00</published><summary xml:lang="en">World Writable Directory in /var/log/below Allows Local Privilege Escalation</summary><content xml:lang="en" type="html"> &lt;article&gt;
&lt;span class=&quot;floating-menu&quot;&gt;
&lt;a href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/below/RUSTSEC-2025-0149.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/below/RUSTSEC-2025-0149.md&quot;&gt;Edit&lt;/a&gt; ⋅
&lt;a href=&quot;https://api.osv.dev/v1/vulns/RUSTSEC-2025-0149&quot;&gt;JSON (OSV)&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2025-0149
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;World Writable Directory in /var/log/below Allows Local Privilege Escalation&lt;/p&gt;
&lt;/span&gt;
&lt;/header&gt;
&lt;dl&gt;
&lt;dt id=&quot;reported&quot;&gt;Reported&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2025-03-12&quot;&gt;
March 12, 2025
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2026-02-07&quot;&gt;
February 7, 2026
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/packages/below.html&quot;&gt;below&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/below&quot;&gt;crates.io&lt;/a&gt;)
&lt;/dd&gt;
&lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;
&lt;dd&gt;
Vulnerability
&lt;/dd&gt;
&lt;dt id=&quot;categories&quot;&gt;Categories&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;/categories/privilege-escalation.html&quot;&gt;privilege-escalation&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;aliases&quot;&gt;Aliases&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&quot;https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-27591&quot;&gt;CVE-2025-27591&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;details&quot;&gt;References&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&quot;https://www.openwall.com/lists/oss-security/2025/03/12/1&quot;&gt;
https://www.openwall.com/lists/oss-security/2025/03/12/1
&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;cvss_score&quot;&gt;CVSS Score&lt;/dt&gt;
&lt;dd&gt;7.3 &lt;span class=&quot;tag high&quot;&gt;
HIGH
&lt;/span&gt;&lt;/dd&gt;
&lt;dt id=&quot;cvss_details&quot;&gt;CVSS Details&lt;/dt&gt;
&lt;dd&gt;
&lt;dl&gt;
&lt;dt&gt;Attack Complexity&lt;/dt&gt;
&lt;dd&gt;Low&lt;/dd&gt;
&lt;dt&gt;Attack Requirements&lt;/dt&gt;
&lt;dd&gt;Present&lt;/dd&gt;
&lt;dt&gt;Attack Vector&lt;/dt&gt;
&lt;dd&gt;Local&lt;/dd&gt;
&lt;dt&gt;Privileges Required&lt;/dt&gt;
&lt;dd&gt;Low&lt;/dd&gt;
&lt;dt&gt;Availability Impact to the Subsequent System&lt;/dt&gt;
&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;Confidentiality Impact to the Subsequent System&lt;/dt&gt;
&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;Integrity Impact to the Subsequent System&lt;/dt&gt;
&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;User Interaction&lt;/dt&gt;
&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;Availability Impact to the Vulnerable System&lt;/dt&gt;
&lt;dd&gt;High&lt;/dd&gt;
&lt;dt&gt;Confidentiality Impact to the Vulnerable System&lt;/dt&gt;
&lt;dd&gt;High&lt;/dd&gt;
&lt;dt&gt;Integrity Impact to the Vulnerable System&lt;/dt&gt;
&lt;dd&gt;High&lt;/dd&gt;
&lt;/dl&gt;
&lt;/dd&gt;
&lt;dt id=&quot;cvss&quot;&gt;CVSS Vector&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;https://www.first.org/cvss/calculator/3.1#CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N&quot;&gt;CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N&lt;/a&gt;&lt;/dd&gt;
&lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#62;=0.9.0&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;
&lt;p&gt;Below is a tool for recording and displaying system data like
hardware utilization and cgroup information on Linux.&lt;/p&gt;
&lt;h2&gt;Symlink Attack in &lt;code&gt;/var/log/below/error_root.log&lt;/code&gt;&lt;/h2&gt;
&lt;p&gt;Below&apos;s systemd service runs with full &lt;code&gt;root&lt;/code&gt; privileges. It attempts to
create a world-writable directory in &lt;code&gt;/var/log/below&lt;/code&gt;. Even if the
directory already exists, the Rust code ensures &lt;a href=&quot;https://github.com/facebookincubator/below/blob/v0.8.1/below/src/main.rs#L379&quot;&gt;1&lt;/a&gt; that it receives
mode 0777 permissions:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt; if perm.mode() &amp;amp; 0o777 != 0o777 {
perm.set_mode(0o777);
match dir.set_permissions(perm) {
Ok(()) =&amp;gt; {}
Err(e) =&amp;gt; {
bail!(
&amp;quot;Failed to set permissions on {}: {}&amp;quot;,
path.to_string_lossy(),
e
);
}
}
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This logic leads to different outcomes depending on the packaging on Linux
distributions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;in openSUSE Tumbleweed the directory was packaged with 01755
permissions (below.spec &lt;a href=&quot;https://build.opensuse.org/projects/openSUSE:Factory/packages/below/files/below.spec?expand=1&amp;amp;rev=5e78e7f743f87bea8648eeee673c649b&quot;&gt;2&lt;/a&gt; line 73), thus causing the
&lt;code&gt;set_permissions()&lt;/code&gt; call to run, resulting in a directory with mode
0777 during runtime.&lt;/li&gt;
&lt;li&gt;in Gentoo Linux the directory is created with mode 01755 resulting in
the same outcome as on openSUSE Tumbleweed (below.ebuild &lt;a href=&quot;https://github.com/gentoo/gentoo/blob/master/sys-process/below/below-0.8.1-r1.ebuild#L344&quot;&gt;3&lt;/a&gt;). Where
the 01755 mode is exactly coming from is not fully clear, maybe the
&lt;code&gt;cargo&lt;/code&gt; build process assigns these permissions during installation.&lt;/li&gt;
&lt;li&gt;in Fedora Linux the directory is packaged with 01777 permissions, thus
the &lt;code&gt;set_permissions()&lt;/code&gt; code will not run, because the &lt;code&gt;if&lt;/code&gt; condition
masks out the sticky bit. The directory stays at mode 01777
(rust-below.spec &lt;a href=&quot;https://src.fedoraproject.org/rpms/rust-below/blob/6ae58353b5d12e58462425c20a2aedfbae2e769a/f/rust-below.spec#_108&quot;&gt;4&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;the Arch Linux AUR package &lt;a href=&quot;https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=below#n34&quot;&gt;5&lt;/a&gt; (maybe wrongly) does not pre-create
the log directory. Thus the &lt;code&gt;set_permissions()&lt;/code&gt; code will run and
create the directory with mode 0777.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Below creates a log file in &lt;code&gt;/var/log/below/error_root.log&lt;/code&gt; and assigns
mode 0666 to it. This (somewhat confusingly) happens via a &lt;code&gt;log_dir&lt;/code&gt;
variable &lt;a href=&quot;https://github.com/facebookincubator/below/blob/v0.8.1/below/src/main.rs#L552&quot;&gt;6&lt;/a&gt;, which has been changed to point to the &lt;code&gt;error_root.log&lt;/code&gt;
file. The 0666 permission assignment to the logfile happens in
&lt;code&gt;logging::setup()&lt;/code&gt; &lt;a href=&quot;https://github.com/facebookincubator/below/blob/v0.8.1/below/src/open_source/logging.rs#L68&quot;&gt;7&lt;/a&gt;, also accompanied by a somewhat strange comment
in the code.&lt;/p&gt;
&lt;p&gt;A local unprivileged attacker can stage a symlink attack in this
location and cause an arbitrary file in the system to obtain 0666
permissions, likely leading to a full local root exploit, if done right,
e.g. by pointing the symlink to &lt;code&gt;/etc/shadow&lt;/code&gt;. Even if the file already
exists it can be removed and replaced by a symlink, because of the
world-writable directory permissions. The attack is thus not limited to
scenarios in which the file has not yet been created by Below.&lt;/p&gt;
&lt;h2&gt;Further Issues&lt;/h2&gt;
&lt;p&gt;Even on Fedora Linux, where &lt;code&gt;/var/log/below&lt;/code&gt; has &amp;quot;safe&amp;quot; 01777
permissions, there is a time window during which problems can arise. As
long as &lt;code&gt;below.service&lt;/code&gt; has not been started, another local user can
pre-create &lt;code&gt;/var/log/below/error_root.log&lt;/code&gt; and e.g. place a FIFO special
file there. This will pose a local DoS against the below service, since
it will fail to open the path and thus fail to start.&lt;/p&gt;
&lt;p&gt;If &lt;code&gt;/var/log/below&lt;/code&gt; were to be deleted for any reason, then Below would
still recreate it using the bad 0777 mode permissions, which can also
happen on distributions that initially package &lt;code&gt;/var/log/below&lt;/code&gt; using
permissions that do not trigger the &lt;code&gt;set_permissions()&lt;/code&gt; call in Below&apos;s
code.&lt;/p&gt;
&lt;p id=&quot;license&quot; class=&quot;license&quot;&gt;Advisory available under &lt;a href=&quot;https://spdx.org/licenses/CC0-1.0.html&quot;&gt;CC0-1.0&lt;/a&gt;
license.
&lt;/p&gt;
&lt;/article&gt;</content></entry><entry><title>RUSTSEC-2025-0145: Vulnerability in uniswap-utils</title><id>https://rustsec.org/advisories/RUSTSEC-2025-0145.html</id><updated>2026-02-06T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2025-0145.html" rel="alternate" type="text/html" title="RUSTSEC-2025-0145: Vulnerability in uniswap-utils"/><published>2026-02-06T12:00:00+00:00</published><summary xml:lang="en">`uniswap-utils` was removed from crates.io for malicious code</summary><content xml:lang="en" type="html"> &lt;article&gt;
&lt;span class=&quot;floating-menu&quot;&gt;
&lt;a href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/uniswap-utils/RUSTSEC-2025-0145.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/uniswap-utils/RUSTSEC-2025-0145.md&quot;&gt;Edit&lt;/a&gt; ⋅
&lt;a href=&quot;https://api.osv.dev/v1/vulns/RUSTSEC-2025-0145&quot;&gt;JSON (OSV)&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2025-0145
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;&lt;code&gt;uniswap-utils&lt;/code&gt; was removed from crates.io for malicious code&lt;/p&gt;
&lt;/span&gt;
&lt;/header&gt;
&lt;dl&gt;
&lt;dt id=&quot;reported&quot;&gt;Reported&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2025-12-03&quot;&gt;
December 3, 2025
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2026-02-06&quot;&gt;
February 6, 2026
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/packages/uniswap-utils.html&quot;&gt;uniswap-utils&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/uniswap-utils&quot;&gt;crates.io&lt;/a&gt;)
&lt;/dd&gt;
&lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;
&lt;dd&gt;
Vulnerability
&lt;/dd&gt;
&lt;dt id=&quot;details&quot;&gt;References&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&quot;https://blog.rust-lang.org/2025/12/03/crates.io-malicious-crates-evm-units-and-uniswap-utils/&quot;&gt;
https://blog.rust-lang.org/2025/12/03/crates.io-malicious-crates-evm-units-and-uniswap-utils/
&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&quot;https://socket.dev/blog/malicious-rust-crate-evm-units-serves-cross-platform-payloads&quot;&gt;
https://socket.dev/blog/malicious-rust-crate-evm-units-serves-cross-platform-payloads
&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;
&lt;dd&gt;
no patched versions
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;
&lt;p&gt;It depended on the &lt;code&gt;evm-units&lt;/code&gt; crate, which appeared to be attempting to steal cryptocurrency.&lt;/p&gt;
&lt;p id=&quot;license&quot; class=&quot;license&quot;&gt;Advisory available under &lt;a href=&quot;https://spdx.org/licenses/CC0-1.0.html&quot;&gt;CC0-1.0&lt;/a&gt;
license.
&lt;/p&gt;
&lt;/article&gt;</content></entry><entry><title>RUSTSEC-2025-0146: Vulnerability in sha-rust</title><id>https://rustsec.org/advisories/RUSTSEC-2025-0146.html</id><updated>2026-02-06T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2025-0146.html" rel="alternate" type="text/html" title="RUSTSEC-2025-0146: Vulnerability in sha-rust"/><published>2026-02-06T12:00:00+00:00</published><summary xml:lang="en">`sha-rust` was removed from crates.io for malicious code</summary><content xml:lang="en" type="html"> &lt;article&gt;
&lt;span class=&quot;floating-menu&quot;&gt;
&lt;a href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/sha-rust/RUSTSEC-2025-0146.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/sha-rust/RUSTSEC-2025-0146.md&quot;&gt;Edit&lt;/a&gt; ⋅
&lt;a href=&quot;https://api.osv.dev/v1/vulns/RUSTSEC-2025-0146&quot;&gt;JSON (OSV)&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2025-0146
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;&lt;code&gt;sha-rust&lt;/code&gt; was removed from crates.io for malicious code&lt;/p&gt;
&lt;/span&gt;
&lt;/header&gt;
&lt;dl&gt;
&lt;dt id=&quot;reported&quot;&gt;Reported&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2025-12-05&quot;&gt;
December 5, 2025
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2026-02-06&quot;&gt;
February 6, 2026
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/packages/sha-rust.html&quot;&gt;sha-rust&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/sha-rust&quot;&gt;crates.io&lt;/a&gt;)
&lt;/dd&gt;
&lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;
&lt;dd&gt;
Vulnerability
&lt;/dd&gt;
&lt;dt id=&quot;details&quot;&gt;References&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&quot;https://blog.rust-lang.org/2025/12/05/crates.io-malicious-crates-finch-rust-and-sha-rust/&quot;&gt;
https://blog.rust-lang.org/2025/12/05/crates.io-malicious-crates-finch-rust-and-sha-rust/
&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&quot;https://socket.dev/blog/malicious-crate-mimicking-finch-exfiltrates-credentials&quot;&gt;
https://socket.dev/blog/malicious-crate-mimicking-finch-exfiltrates-credentials
&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;
&lt;dd&gt;
no patched versions
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;
&lt;p&gt;It appeared to be attempting to steal credentials from local files.&lt;/p&gt;
&lt;p id=&quot;license&quot; class=&quot;license&quot;&gt;Advisory available under &lt;a href=&quot;https://spdx.org/licenses/CC0-1.0.html&quot;&gt;CC0-1.0&lt;/a&gt;
license.
&lt;/p&gt;
&lt;/article&gt;</content></entry><entry><title>RUSTSEC-2026-0010: Vulnerability in polymarket-clients-sdk</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0010.html</id><updated>2026-02-06T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2026-0010.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0010: Vulnerability in polymarket-clients-sdk"/><published>2026-02-06T12:00:00+00:00</published><summary xml:lang="en">`polymarket-clients-sdk` was removed from crates.io for malicious code</summary><content xml:lang="en" type="html"> &lt;article&gt;
&lt;span class=&quot;floating-menu&quot;&gt;
&lt;a href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/polymarket-clients-sdk/RUSTSEC-2026-0010.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/polymarket-clients-sdk/RUSTSEC-2026-0010.md&quot;&gt;Edit&lt;/a&gt; ⋅
&lt;a href=&quot;https://api.osv.dev/v1/vulns/RUSTSEC-2026-0010&quot;&gt;JSON (OSV)&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2026-0010
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;&lt;code&gt;polymarket-clients-sdk&lt;/code&gt; was removed from crates.io for malicious code&lt;/p&gt;
&lt;/span&gt;
&lt;/header&gt;
&lt;dl&gt;
&lt;dt id=&quot;reported&quot;&gt;Reported&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2026-02-06&quot;&gt;
February 6, 2026
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2026-02-06&quot;&gt;
February 6, 2026
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/packages/polymarket-clients-sdk.html&quot;&gt;polymarket-clients-sdk&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/polymarket-clients-sdk&quot;&gt;crates.io&lt;/a&gt;)
&lt;/dd&gt;
&lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;
&lt;dd&gt;
Vulnerability
&lt;/dd&gt;
&lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;
&lt;dd&gt;
no patched versions
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;
&lt;p&gt;It appeared to be typosquatting existing crate
&lt;a href=&quot;https://crates.io/crates/polymarket-client-sdk&quot;&gt;&lt;code&gt;polymarket-client-sdk&lt;/code&gt;&lt;/a&gt; (&lt;code&gt;clients&lt;/code&gt; vs &lt;code&gt;client&lt;/code&gt;)
and attempting to steal credentials from local files.&lt;/p&gt;
&lt;p&gt;The malicious crate had 6 versions published on 2026-02-05 and had been downloaded only 59 times.
There were no crates depending on this crate on crates.io.&lt;/p&gt;
&lt;p&gt;Thanks to &lt;a href=&quot;https://socket.dev/&quot;&gt;Socket.dev&lt;/a&gt; for detecting and reporting this to the crates.io team!&lt;/p&gt;
&lt;p id=&quot;license&quot; class=&quot;license&quot;&gt;Advisory available under &lt;a href=&quot;https://spdx.org/licenses/CC0-1.0.html&quot;&gt;CC0-1.0&lt;/a&gt;
license.
&lt;/p&gt;
&lt;/article&gt;</content></entry><entry><title>RUSTSEC-2025-0147: Vulnerability in evm-units</title><id>https://rustsec.org/advisories/RUSTSEC-2025-0147.html</id><updated>2026-02-06T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2025-0147.html" rel="alternate" type="text/html" title="RUSTSEC-2025-0147: Vulnerability in evm-units"/><published>2026-02-06T12:00:00+00:00</published><summary xml:lang="en">`evm-units` was removed from crates.io for malicious code</summary><content xml:lang="en" type="html"> &lt;article&gt;
&lt;span class=&quot;floating-menu&quot;&gt;
&lt;a href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/evm-units/RUSTSEC-2025-0147.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/evm-units/RUSTSEC-2025-0147.md&quot;&gt;Edit&lt;/a&gt; ⋅
&lt;a href=&quot;https://api.osv.dev/v1/vulns/RUSTSEC-2025-0147&quot;&gt;JSON (OSV)&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2025-0147
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;&lt;code&gt;evm-units&lt;/code&gt; was removed from crates.io for malicious code&lt;/p&gt;
&lt;/span&gt;
&lt;/header&gt;
&lt;dl&gt;
&lt;dt id=&quot;reported&quot;&gt;Reported&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2025-12-03&quot;&gt;
December 3, 2025
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2026-02-06&quot;&gt;
February 6, 2026
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/packages/evm-units.html&quot;&gt;evm-units&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/evm-units&quot;&gt;crates.io&lt;/a&gt;)
&lt;/dd&gt;
&lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;
&lt;dd&gt;
Vulnerability
&lt;/dd&gt;
&lt;dt id=&quot;details&quot;&gt;References&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&quot;https://blog.rust-lang.org/2025/12/03/crates.io-malicious-crates-evm-units-and-uniswap-utils/&quot;&gt;
https://blog.rust-lang.org/2025/12/03/crates.io-malicious-crates-evm-units-and-uniswap-utils/
&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&quot;https://socket.dev/blog/malicious-rust-crate-evm-units-serves-cross-platform-payloads&quot;&gt;
https://socket.dev/blog/malicious-rust-crate-evm-units-serves-cross-platform-payloads
&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;
&lt;dd&gt;
no patched versions
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;
&lt;p&gt;It appeared to be attempting to steal cryptocurrency.&lt;/p&gt;
&lt;p id=&quot;license&quot; class=&quot;license&quot;&gt;Advisory available under &lt;a href=&quot;https://spdx.org/licenses/CC0-1.0.html&quot;&gt;CC0-1.0&lt;/a&gt;
license.
&lt;/p&gt;
&lt;/article&gt;</content></entry><entry><title>RUSTSEC-2026-0009: Vulnerability in time</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0009.html</id><updated>2026-02-06T12:00:00+00:00</updated><category term="denial-of-service"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0009.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0009: Vulnerability in time"/><published>2026-02-06T12:00:00+00:00</published><summary xml:lang="en">Denial of Service via Stack Exhaustion</summary><content xml:lang="en" type="html"> &lt;article&gt;
&lt;span class=&quot;floating-menu&quot;&gt;
&lt;a href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/time/RUSTSEC-2026-0009.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/time/RUSTSEC-2026-0009.md&quot;&gt;Edit&lt;/a&gt; ⋅
&lt;a href=&quot;https://api.osv.dev/v1/vulns/RUSTSEC-2026-0009&quot;&gt;JSON (OSV)&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2026-0009
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Denial of Service via Stack Exhaustion&lt;/p&gt;
&lt;/span&gt;
&lt;/header&gt;
&lt;dl&gt;
&lt;dt id=&quot;reported&quot;&gt;Reported&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2026-02-05&quot;&gt;
February 5, 2026
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2026-02-06&quot;&gt;
February 6, 2026
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/packages/time.html&quot;&gt;time&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/time&quot;&gt;crates.io&lt;/a&gt;)
&lt;/dd&gt;
&lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;
&lt;dd&gt;
Vulnerability
&lt;/dd&gt;
&lt;dt id=&quot;categories&quot;&gt;Categories&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;/categories/denial-of-service.html&quot;&gt;denial-of-service&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;keywords&quot;&gt;Keywords&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/keywords/stack.html&quot;&gt;#stack&lt;/a&gt;
&lt;a href=&quot;/keywords/exhaustion.html&quot;&gt;#exhaustion&lt;/a&gt;
&lt;/dd&gt;
&lt;dt id=&quot;aliases&quot;&gt;Aliases&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&quot;https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-25727&quot;&gt;CVE-2026-25727&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&quot;https://github.com/advisories/GHSA-r6v5-fh4h-64xc&quot;&gt;GHSA-r6v5-fh4h-64xc&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;details&quot;&gt;References&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&quot;https://github.com/time-rs/time/blob/main/CHANGELOG.md#0347-2026-02-05&quot;&gt;
https://github.com/time-rs/time/blob/main/CHANGELOG.md#0347-2026-02-05
&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;cvss_score&quot;&gt;CVSS Score&lt;/dt&gt;
&lt;dd&gt;6.8 &lt;span class=&quot;tag medium&quot;&gt;
MEDIUM
&lt;/span&gt;&lt;/dd&gt;
&lt;dt id=&quot;cvss_details&quot;&gt;CVSS Details&lt;/dt&gt;
&lt;dd&gt;
&lt;dl&gt;
&lt;dt&gt;Attack Complexity&lt;/dt&gt;
&lt;dd&gt;High&lt;/dd&gt;
&lt;dt&gt;Attack Requirements&lt;/dt&gt;
&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;Attack Vector&lt;/dt&gt;
&lt;dd&gt;Network&lt;/dd&gt;
&lt;dt&gt;Privileges Required&lt;/dt&gt;
&lt;dd&gt;Low&lt;/dd&gt;
&lt;dt&gt;Availability Impact to the Subsequent System&lt;/dt&gt;
&lt;dd&gt;High&lt;/dd&gt;
&lt;dt&gt;Confidentiality Impact to the Subsequent System&lt;/dt&gt;
&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;Integrity Impact to the Subsequent System&lt;/dt&gt;
&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;User Interaction&lt;/dt&gt;
&lt;dd&gt;Active&lt;/dd&gt;
&lt;dt&gt;Availability Impact to the Vulnerable System&lt;/dt&gt;
&lt;dd&gt;High&lt;/dd&gt;
&lt;dt&gt;Confidentiality Impact to the Vulnerable System&lt;/dt&gt;
&lt;dd&gt;None&lt;/dd&gt;
&lt;dt&gt;Integrity Impact to the Vulnerable System&lt;/dt&gt;
&lt;dd&gt;None&lt;/dd&gt;
&lt;/dl&gt;
&lt;/dd&gt;
&lt;dt id=&quot;cvss&quot;&gt;CVSS Vector&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;https://www.first.org/cvss/calculator/3.1#CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H&quot;&gt;CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H&lt;/a&gt;&lt;/dd&gt;
&lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#62;=0.3.47&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;unaffected&quot;&gt;Unaffected&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;0.3.6&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;Affected Functions&lt;/dt&gt;
&lt;dd&gt;Version&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;time::Date::parse&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#62;=0.3.6, &amp;#60;0.3.47&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;time::OffsetDateTime::parse&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#62;=0.3.6, &amp;#60;0.3.47&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;time::PrimitiveDateTime::parse&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#62;=0.3.6, &amp;#60;0.3.47&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;time::Time::parse&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#62;=0.3.6, &amp;#60;0.3.47&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;time::UtcDateTime::parse&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#62;=0.3.38, &amp;#60;0.3.47&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;time::UtcOffset::parse&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#62;=0.3.6, &amp;#60;0.3.47&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;time::parsing::Parsed::parse_item&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#62;=0.3.6, &amp;#60;0.3.47&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;
&lt;h2&gt;Impact&lt;/h2&gt;
&lt;p&gt;When user-provided input is provided to any type that parses with the RFC 2822 format, a denial of
service attack via stack exhaustion is possible. The attack relies on formally deprecated and
rarely-used features that are part of the RFC 2822 format used in a malicious manner. Ordinary,
non-malicious input will never encounter this scenario.&lt;/p&gt;
&lt;h2&gt;Patches&lt;/h2&gt;
&lt;p&gt;A limit to the depth of recursion was added in v0.3.47. From this version, an error will be returned
rather than exhausting the stack.&lt;/p&gt;
&lt;h2&gt;Workarounds&lt;/h2&gt;
&lt;p&gt;Limiting the length of user input is the simplest way to avoid stack exhaustion, as the amount of
the stack consumed would be at most a factor of the length of the input.&lt;/p&gt;
&lt;p id=&quot;license&quot; class=&quot;license&quot;&gt;Advisory available under &lt;a href=&quot;https://spdx.org/licenses/CC0-1.0.html&quot;&gt;CC0-1.0&lt;/a&gt;
license.
&lt;/p&gt;
&lt;/article&gt;</content></entry><entry><title>RUSTSEC-2025-0148: Vulnerability in finch-rust</title><id>https://rustsec.org/advisories/RUSTSEC-2025-0148.html</id><updated>2026-02-06T12:00:00+00:00</updated><link href="https://rustsec.org/advisories/RUSTSEC-2025-0148.html" rel="alternate" type="text/html" title="RUSTSEC-2025-0148: Vulnerability in finch-rust"/><published>2026-02-06T12:00:00+00:00</published><summary xml:lang="en">`finch-rust` was removed from crates.io for malicious code</summary><content xml:lang="en" type="html"> &lt;article&gt;
&lt;span class=&quot;floating-menu&quot;&gt;
&lt;a href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/finch-rust/RUSTSEC-2025-0148.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/finch-rust/RUSTSEC-2025-0148.md&quot;&gt;Edit&lt;/a&gt; ⋅
&lt;a href=&quot;https://api.osv.dev/v1/vulns/RUSTSEC-2025-0148&quot;&gt;JSON (OSV)&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2025-0148
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;&lt;code&gt;finch-rust&lt;/code&gt; was removed from crates.io for malicious code&lt;/p&gt;
&lt;/span&gt;
&lt;/header&gt;
&lt;dl&gt;
&lt;dt id=&quot;reported&quot;&gt;Reported&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2025-12-05&quot;&gt;
December 5, 2025
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2026-02-06&quot;&gt;
February 6, 2026
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/packages/finch-rust.html&quot;&gt;finch-rust&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/finch-rust&quot;&gt;crates.io&lt;/a&gt;)
&lt;/dd&gt;
&lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;
&lt;dd&gt;
Vulnerability
&lt;/dd&gt;
&lt;dt id=&quot;details&quot;&gt;References&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&quot;https://blog.rust-lang.org/2025/12/05/crates.io-malicious-crates-finch-rust-and-sha-rust/&quot;&gt;
https://blog.rust-lang.org/2025/12/05/crates.io-malicious-crates-finch-rust-and-sha-rust/
&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&quot;https://socket.dev/blog/malicious-crate-mimicking-finch-exfiltrates-credentials&quot;&gt;
https://socket.dev/blog/malicious-crate-mimicking-finch-exfiltrates-credentials
&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;
&lt;dd&gt;
no patched versions
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;
&lt;p&gt;It depended on the &lt;code&gt;sha-rust&lt;/code&gt; crate, which appeared to be attempting to steal credentials from local files.&lt;/p&gt;
&lt;p id=&quot;license&quot; class=&quot;license&quot;&gt;Advisory available under &lt;a href=&quot;https://spdx.org/licenses/CC0-1.0.html&quot;&gt;CC0-1.0&lt;/a&gt;
license.
&lt;/p&gt;
&lt;/article&gt;</content></entry><entry><title>RUSTSEC-2026-0008: Unsoundness in git2</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0008.html</id><updated>2026-02-05T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0008.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0008: Unsoundness in git2"/><published>2026-02-04T12:00:00+00:00</published><summary xml:lang="en">Potential undefined behavior when dereferencing Buf struct</summary><content xml:lang="en" type="html"> &lt;article&gt;
&lt;span class=&quot;floating-menu&quot;&gt;
&lt;a href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/git2/RUSTSEC-2026-0008.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/git2/RUSTSEC-2026-0008.md&quot;&gt;Edit&lt;/a&gt; ⋅
&lt;a href=&quot;https://api.osv.dev/v1/vulns/RUSTSEC-2026-0008&quot;&gt;JSON (OSV)&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2026-0008
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Potential undefined behavior when dereferencing Buf struct&lt;/p&gt;
&lt;/span&gt;
&lt;/header&gt;
&lt;dl&gt;
&lt;dt id=&quot;reported&quot;&gt;Reported&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2026-02-02&quot;&gt;
February 2, 2026
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2026-02-04&quot;&gt;
February 4, 2026
&lt;/time&gt;
&lt;time datetime=&quot;2026-02-05&quot;&gt;
(last modified: February 5, 2026)
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/packages/git2.html&quot;&gt;git2&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/git2&quot;&gt;crates.io&lt;/a&gt;)
&lt;/dd&gt;
&lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;
&lt;dd&gt;
&lt;span class=&quot;tag info&quot;&gt;INFO&lt;/span&gt;
Unsound
&lt;/dd&gt;
&lt;dt id=&quot;categories&quot;&gt;Categories&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;/categories/memory-corruption.html&quot;&gt;memory-corruption&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;keywords&quot;&gt;Keywords&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/keywords/undefined-behavior.html&quot;&gt;#undefined-behavior&lt;/a&gt;
&lt;/dd&gt;
&lt;dt id=&quot;aliases&quot;&gt;Aliases&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&quot;https://github.com/advisories/GHSA-j39j-6gw9-jw6h&quot;&gt;GHSA-j39j-6gw9-jw6h&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;details&quot;&gt;References&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&quot;https://github.com/rust-lang/git2-rs/pull/1213&quot;&gt;
https://github.com/rust-lang/git2-rs/pull/1213
&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#62;=0.20.4&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;
&lt;p&gt;if we dereference the Buf struct right after calling new() or default() on Buf struct, it passes Null Pointer to the unsafe function slice::from_raw_parts. Based on the safety section documentation of function,
data must be non-null and aligned even for zero-length slices or slices of ZSTs. Thus, passing Null Pointer will lead to undefined behavior.&lt;/p&gt;
&lt;p id=&quot;license&quot; class=&quot;license&quot;&gt;Advisory available under &lt;a href=&quot;https://spdx.org/licenses/CC0-1.0.html&quot;&gt;CC0-1.0&lt;/a&gt;
license.
&lt;/p&gt;
&lt;/article&gt;</content></entry><entry><title>RUSTSEC-2026-0007: Vulnerability in bytes</title><id>https://rustsec.org/advisories/RUSTSEC-2026-0007.html</id><updated>2026-02-04T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2026-0007.html" rel="alternate" type="text/html" title="RUSTSEC-2026-0007: Vulnerability in bytes"/><published>2026-02-03T12:00:00+00:00</published><summary xml:lang="en">Integer overflow in `BytesMut::reserve`</summary><content xml:lang="en" type="html"> &lt;article&gt;
&lt;span class=&quot;floating-menu&quot;&gt;
&lt;a href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/bytes/RUSTSEC-2026-0007.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/bytes/RUSTSEC-2026-0007.md&quot;&gt;Edit&lt;/a&gt; ⋅
&lt;a href=&quot;https://api.osv.dev/v1/vulns/RUSTSEC-2026-0007&quot;&gt;JSON (OSV)&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2026-0007
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Integer overflow in &lt;code&gt;BytesMut::reserve&lt;/code&gt;&lt;/p&gt;
&lt;/span&gt;
&lt;/header&gt;
&lt;dl&gt;
&lt;dt id=&quot;reported&quot;&gt;Reported&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2026-02-03&quot;&gt;
February 3, 2026
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2026-02-03&quot;&gt;
February 3, 2026
&lt;/time&gt;
&lt;time datetime=&quot;2026-02-04&quot;&gt;
(last modified: February 4, 2026)
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/packages/bytes.html&quot;&gt;bytes&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/bytes&quot;&gt;crates.io&lt;/a&gt;)
&lt;/dd&gt;
&lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;
&lt;dd&gt;
Vulnerability
&lt;/dd&gt;
&lt;dt id=&quot;categories&quot;&gt;Categories&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;/categories/memory-corruption.html&quot;&gt;memory-corruption&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;keywords&quot;&gt;Keywords&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/keywords/integer-overflow.html&quot;&gt;#integer-overflow&lt;/a&gt;
&lt;/dd&gt;
&lt;dt id=&quot;aliases&quot;&gt;Aliases&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&quot;https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-25541&quot;&gt;CVE-2026-25541&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&quot;https://github.com/advisories/GHSA-434x-w66g-qw3r&quot;&gt;GHSA-434x-w66g-qw3r&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;details&quot;&gt;References&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&quot;https://github.com/advisories/GHSA-434x-w66g-qw3r&quot;&gt;
https://github.com/advisories/GHSA-434x-w66g-qw3r
&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#62;=1.11.1&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;unaffected&quot;&gt;Unaffected&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;1.2.1&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;
&lt;p&gt;In the unique reclaim path of &lt;code&gt;BytesMut::reserve&lt;/code&gt;, the condition&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-rs&quot;&gt;if v_capacity &amp;gt;= new_cap + offset
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;uses an unchecked addition. When &lt;code&gt;new_cap + offset&lt;/code&gt; overflows &lt;code&gt;usize&lt;/code&gt; in release builds, this condition may incorrectly pass, causing &lt;code&gt;self.cap&lt;/code&gt; to be set to a value that exceeds the actual allocated capacity. Subsequent APIs such as &lt;code&gt;spare_capacity_mut()&lt;/code&gt; then trust this corrupted &lt;code&gt;cap&lt;/code&gt; value and may create out-of-bounds slices, leading to UB.&lt;/p&gt;
&lt;p&gt;This behavior is observable in release builds (integer overflow wraps), whereas debug builds panic due to overflow checks.&lt;/p&gt;
&lt;h2&gt;PoC&lt;/h2&gt;
&lt;pre&gt;&lt;code class=&quot;language-rs&quot;&gt;use bytes::*;
fn main() {
let mut a = BytesMut::from(&amp;amp;b&amp;quot;hello world&amp;quot;[..]);
let mut b = a.split_off(5);
// Ensure b becomes the unique owner of the backing storage
drop(a);
// Trigger overflow in new_cap + offset inside reserve
b.reserve(usize::MAX - 6);
// This call relies on the corrupted cap and may cause UB &amp;amp; HBO
b.put_u8(b&apos;h&apos;);
}
&lt;/code&gt;&lt;/pre&gt;
&lt;h1&gt;Workarounds&lt;/h1&gt;
&lt;p&gt;Users of &lt;code&gt;BytesMut::reserve&lt;/code&gt; are only affected if integer overflow checks are configured to wrap. When integer overflow is configured to panic, this issue does not apply.&lt;/p&gt;
&lt;p id=&quot;license&quot; class=&quot;license&quot;&gt;Advisory available under &lt;a href=&quot;https://spdx.org/licenses/CC-BY-4.0.html&quot;&gt;CC-BY-4.0&lt;/a&gt;
license.
Source: &lt;a href=&quot;https://github.com/advisories/GHSA-434x-w66g-qw3r&quot;&gt;https://github.com/advisories/GHSA-434x-w66g-qw3r&lt;/a&gt;
&lt;/p&gt;
&lt;/article&gt;</content></entry><entry><title>RUSTSEC-2025-0143: Vulnerability in capnp</title><id>https://rustsec.org/advisories/RUSTSEC-2025-0143.html</id><updated>2026-01-29T12:00:00+00:00</updated><category term="memory-corruption"/><link href="https://rustsec.org/advisories/RUSTSEC-2025-0143.html" rel="alternate" type="text/html" title="RUSTSEC-2025-0143: Vulnerability in capnp"/><published>2026-01-27T12:00:00+00:00</published><summary xml:lang="en">Unsound APIs of public `constant::Reader` and `StructSchema`</summary><content xml:lang="en" type="html"> &lt;article&gt;
&lt;span class=&quot;floating-menu&quot;&gt;
&lt;a href=&quot;https://github.com/RustSec/advisory-db/commits/main/crates/capnp/RUSTSEC-2025-0143.md&quot;&gt;History&lt;/a&gt; ⋅
&lt;a href=&quot;https://github.com/RustSec/advisory-db/edit/main/crates/capnp/RUSTSEC-2025-0143.md&quot;&gt;Edit&lt;/a&gt; ⋅
&lt;a href=&quot;https://api.osv.dev/v1/vulns/RUSTSEC-2025-0143&quot;&gt;JSON (OSV)&lt;/a&gt;
&lt;/span&gt;
&lt;header&gt;
&lt;h1&gt;
RUSTSEC-2025-0143
&lt;/h1&gt;
&lt;span class=&quot;subtitle&quot;&gt;&lt;p&gt;Unsound APIs of public &lt;code&gt;constant::Reader&lt;/code&gt; and &lt;code&gt;StructSchema&lt;/code&gt;&lt;/p&gt;
&lt;/span&gt;
&lt;/header&gt;
&lt;dl&gt;
&lt;dt id=&quot;reported&quot;&gt;Reported&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2025-12-24&quot;&gt;
December 24, 2025
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;issued&quot;&gt;Issued&lt;/dt&gt;
&lt;dd&gt;
&lt;time datetime=&quot;2026-01-27&quot;&gt;
January 27, 2026
&lt;/time&gt;
&lt;time datetime=&quot;2026-01-29&quot;&gt;
(last modified: January 29, 2026)
&lt;/time&gt;
&lt;/dd&gt;
&lt;dt id=&quot;package&quot;&gt;Package&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/packages/capnp.html&quot;&gt;capnp&lt;/a&gt;
(&lt;a href=&quot;https://crates.io/crates/capnp&quot;&gt;crates.io&lt;/a&gt;)
&lt;/dd&gt;
&lt;dt id=&quot;type&quot;&gt;Type&lt;/dt&gt;
&lt;dd&gt;
Vulnerability
&lt;/dd&gt;
&lt;dt id=&quot;categories&quot;&gt;Categories&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;/categories/memory-corruption.html&quot;&gt;memory-corruption&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;keywords&quot;&gt;Keywords&lt;/dt&gt;
&lt;dd&gt;
&lt;a href=&quot;/keywords/unsoundness.html&quot;&gt;#unsoundness&lt;/a&gt;
&lt;a href=&quot;/keywords/undefined-behavior.html&quot;&gt;#undefined-behavior&lt;/a&gt;
&lt;/dd&gt;
&lt;dt id=&quot;aliases&quot;&gt;Aliases&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&quot;https://github.com/advisories/GHSA-5w5r-mf82-595p&quot;&gt;GHSA-5w5r-mf82-595p&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;details&quot;&gt;References&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&quot;https://github.com/capnproto/capnproto-rust/issues/605&quot;&gt;
https://github.com/capnproto/capnproto-rust/issues/605
&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt id=&quot;patched&quot;&gt;Patched&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#62;=0.24.0&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;Affected Functions&lt;/dt&gt;
&lt;dd&gt;Version&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;capnp::constant::Reader::get&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;0.24.0&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;capnp::schema::StructSchema::new&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;#60;0.24.0&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h3 id=&quot;description&quot;&gt;Description&lt;/h3&gt;
&lt;p&gt;The safe API functions &lt;code&gt;constant::Reader::get&lt;/code&gt; and &lt;code&gt;StructSchema::new&lt;/code&gt; rely on &lt;code&gt;PointerReader::get_root_unchecked&lt;/code&gt;, which can cause undefined behavior (UB) by constructing arbitrary words or schemas.&lt;/p&gt;
&lt;h2&gt;&lt;code&gt;Reader::get&lt;/code&gt;&lt;/h2&gt;
&lt;pre&gt;&lt;code class=&quot;language-rust&quot;&gt;pub fn get(&amp;amp;self) -&amp;gt; Result&amp;lt;&amp;lt;T as Owned&amp;gt;::Reader&amp;lt;&apos;static&amp;gt;&amp;gt; {
// ...
// UNSAFE: access `words` without validation
}
&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;code&gt;StructSchema::new&lt;/code&gt;&lt;/h2&gt;
&lt;pre&gt;&lt;code class=&quot;language-rust&quot;&gt;pub fn new(builder: RawBrandedStructSchema) -&amp;gt; StructSchema {
// ...
// UNSAFE: access encoded nodes without validation
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This vulnerability allows safe Rust code to trigger UB, which violates Rust&apos;s safety guarantees.&lt;/p&gt;
&lt;p&gt;The issue is resolved in version &lt;code&gt;0.24.0&lt;/code&gt; by making constructor functions unsafe and mark the fields of struct as visible only in the crate.&lt;/p&gt;
&lt;p id=&quot;license&quot; class=&quot;license&quot;&gt;Advisory available under &lt;a href=&quot;https://spdx.org/licenses/CC0-1.0.html&quot;&gt;CC0-1.0&lt;/a&gt;
license.
&lt;/p&gt;
&lt;/article&gt;</content></entry></feed>