Lucene search
+L
RustsecMost viewed

1167 matches found

RustSec
RustSec
added 2020/12/09 12:0 p.m.19 views

dces' World type can cause data races

The World type in dces is marked as Send without bounds on its EntityStore and ComponentStore. This allows non-thread safe EntityStore and ComponentStores to be sent across threads and cause data races...

8.1CVSS3AI score0.01098EPSS
SaveExploits1
RustSec
RustSec
added 2020/11/24 12:0 p.m.19 views

QueueSender<T>/QueueReceiver<T>: Send/Sync impls need `T: Send`

Affected versions of this crate unconditionally implemented Send/Sync for QueueSender, allowing to send non-Send T to other threads by invoking &QueueSender.send. This fails to prevent users from creating data races by sending types like Rc or Arc to other threads, which can lead to memory...

8.1CVSS3.6AI score0.00847EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2020/09/25 12:0 p.m.19 views

Insufficient size checks in outgoing buffer in ws allows remote attacker to run the process out of memory

Affected versions of this crate did not properly check and cap the growth of the outgoing buffer. This allows a remote attacker to take down the process by growing the buffer of their single connection until the process runs out of memory it can allocate and is killed. The flaw was corrected in t...

7.5CVSS4AI score0.01336EPSS
SaveExploits0
RustSec
RustSec
added 2020/06/19 12:0 p.m.19 views

`pnet_packet` buffer overrun in `set_payload` setters

As indicated by this issue, a buffer overrun is possible in the setpayload setter of the various mutable "Packet" struct setters. The offending setpayload functions were defined within the struct impl blocks in earlier versions of the package, and later by the packet macro. Fixed in the packet...

4.6AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2020/05/26 12:0 p.m.19 views

crate has been renamed to `block-cipher`

This crate has been renamed from block-cipher-trait to block-cipher. The new repository location is at:...

7.1AI score
SaveExploits0
RustSec
RustSec
added 2020/05/04 12:0 p.m.19 views

stdweb is unmaintained

The author of the stdweb crate is unresponsive. Maintained alternatives: - wasm-bindgen - js-sys - web-sys...

2AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2019/11/21 12:0 p.m.19 views

spin is no longer actively maintained

The author of the spin crate does not have time or interest to maintain it. Consider the following alternatives all of which support nostd: - conquer-once - lockapi a subproject of parkinglot - spinningtop spinlock crate built on lockapi - spinning...

2.3AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2019/10/14 12:0 p.m.19 views

Flaw in Scalar::check_overflow allows side-channel timing attack

Versions of libsecp256k1 prior to 0.3.1 did not execute Scalar::checkoverflow in constant time. This allows an attacker to potentially leak information via a timing attack. The flaw was corrected by modifying Scalar::checkoverflow to execute in constant time...

7.5CVSS6.6AI score0.01415EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2019/09/14 12:0 p.m.19 views

`Matrix::zip_elements` causes double free

Affected versions of this crate did not properly implements the Matrix::zipelements method, which causes an double free when the given trait implementation might panic. This allows an attacker to corrupt or take control of the memory. The flaw was corrected by Phosphorus15...

9.8CVSS4.2AI score0.01691EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2019/05/21 12:0 p.m.19 views

Flaw in generativity allows out-of-bounds access

Affected versions of this crate did not properly implement the generativity, because the invariant lifetimes were not necessarily dropped. This allows an attacker to mix up two arenas, using indices created from one arena with another one. This might lead to an out-of-bounds read or write access...

9.8CVSS4.6AI score0.01855EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2018/12/18 12:0 p.m.19 views

Enum repr causing potential memory corruption

The attribute repr added to enums to be compatible with C-FFI caused memory corruption on MSVC toolchain. arrayfire crates = version 3.5.0 do not have this issue when used with Rust versions 1.27 or earlier. The issue only started to appear since Rust version 1.28. The issue seems to be interlink...

9.8CVSS5.6AI score0.01645EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2018/09/25 12:0 p.m.19 views

smallvec creates uninitialized value of any type

Affected versions of this crate called mem::uninitialized to create values of a user-supplied type T. This is unsound e.g. if T is a reference type which must be non-null and thus may not remain uninitialized. The flaw was corrected by avoiding the use of mem::uninitialized, using MaybeUninit...

7.5CVSS3.8AI score0.01389EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2016/08/01 12:0 p.m.19 views

HTTP download and execution allows MitM RCE

The build script in the portaudio crate will attempt to download via HTTP the portaudio source and build it. A Mallory in the middle can intercept the download with their own archive and get RCE...

5.9CVSS1.3AI score0.01078EPSS
SaveExploits0
RustSec
RustSec
added 2026/07/05 12:0 p.m.18 views

`let_cxx_string!` uses uninitialized value due to exception safety violations

In affected versions of this crate, letcxxstring! is not exception safe. After creating the StackString, if match $value panics, the content of StackString is not yet initialized, while the drop implementation of StackString unconditionally deinitializes the content, leading to use of uninitializ...

5.9AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/06/12 12:0 p.m.18 views

Panic on a `DataRow` with fewer fields than columns allows denial of service

A malicious or compromised server can send a row containing fewer fields than its row description declares columns. Reading one of the missing columns then panics with an out-of-bounds index, aborting the calling task. This affects even the otherwise non-panicking tryget, and both Row and...

5.3AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/06/12 12:0 p.m.18 views

Unbounded SCRAM iteration count allows a malicious server to cause CPU-exhaustion denial of service

A malicious, compromised, or man-in-the-middle server can supply an arbitrarily large SCRAM-SHA-256 PBKDF2 iteration count during authentication. The client runs it inline with no upper bound, pinning a tokio worker thread for minutes per connection, possibly stalling the whole async runtime...

5.4AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/06/10 12:0 p.m.18 views

`onering` 1.4.1 was removed from crates.io for malicious code

A new version of the onering crate was published with code that attempted to exfiltrate both metadata and code from the project it was included within. One malicious version was published on 2026-06-10, approximately six hours before removal. This crate has no dependencies on crates.io, and there...

5.6AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/06/04 12:0 p.m.18 views

`pqcrypto-classicmceliece` is unmaintained: upstream PQClean project being archived

This crate provides Rust bindings to the Classic McEliece key encapsulation mechanism via C implementations from PQClean. The PQClean project is being archived in or after July 2026 see PQClean/PQClean604, after which no further security patches or bug fixes will be applied to the upstream...

5.8AI score
SaveExploits0
RustSec
RustSec
added 2026/05/27 12:0 p.m.18 views

Use-after-free

Affected versions of oneringbuf exposed the obsolete IntoRef::intoref method through the public IntoRef trait. For heap-backed ring buffers, this method returned a DroppableRef handle. DroppableRef stored an owning raw pointer created from Box::intoraw. Its Clone implementation copied this raw...

5.9AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/05/15 12:0 p.m.18 views

Unbounded 32-bit allocation

Both the SSH agent server and client accepted peer-controlled frame lengths without enforcing a maximum frame size. This could cause large memory allocations while parsing a maliciously crafted agent frame. A malicious peer could advertise an oversized frame length, causing the client or server t...

7.5CVSS5.9AI score0.00263EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/05/14 12:0 p.m.18 views

Double-free in `vmem` storage reachable from safe Rust

When the vmem feature is enabled, VmemStorage::newBox and every public constructor that funnels through it — ConcurrentHeapRB::defaultcap, ConcurrentHeapRB::fromVec, From, etc. bit-copies the input buffer into a freshly mmap'd region with ptr::copynonoverlapping, then lets the source Box drop...

5.9AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/05/02 12:0 p.m.18 views

Buffer overflow in `Clusterings::from_i32_column_major_order()`

The fromi32columnmajororder method can create inconsistent internal state. When labels length and nitems mismatch, nclusterings becomes labels.len / nitems truncated, but subsequent calls to label use indices that exceed the internal data bounds, causing a buffer overflow. For example,...

6AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/05/02 12:0 p.m.18 views

Null-pointer dereference and double-free via safe APIs

Two soundness violations exist in the Rust bindings for MetaCall: Null-pointer dereference: MetaCallFuture::newraw accepts a raw pointer without validation. The Debug impl calls Box::fromrawself.data on it. Passing a null pointer causes the Debug impl to construct a NonNull from null, producing...

5.8AI score
SaveExploits0
RustSec
RustSec
added 2026/05/02 12:0 p.m.18 views

Potential out-of-bounds write via public `Context` fields

The Context struct has all fields public pub dlen, pub digest, etc.. Code from other modules within the same crate can directly modify dlen to a value exceeding the digest vector length. When reset is subsequently called, self.digestself.dlen as usize = 0 becomes an out-of-bounds write. Withdrawa...

5.8AI score
SaveExploits0
RustSec
RustSec
added 2026/04/24 12:0 p.m.18 views

Unsound transmute while debug/display printing batch Insert statements in Diesel's SQLite backend

Diesel allows users to output the generated SQL for any query DSL construct via th diesel::debugquery function as Display and Debug output. For the particular implementation used by batch Insert statements in the SQLite backend Diesel relied on an unspecified transmute between types with a reprru...

5.9AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/04/24 12:0 p.m.18 views

Command injection in Diesel's implementation of `COPY FROM`/`COPY TO`

Diesel allows users to configure various options for PostgreSQL's COPY FROM and COPY TO statements. These configurations are partially provided as strings or characters. Diesel did not check if any these user-provided options contain a quote character ', which can lead to the injection of...

5.8AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/04/14 12:0 p.m.18 views

Name constraints were accepted for certificates asserting a wildcard name

Permitted subtree name constraints for DNS names were accepted for certificates asserting a wildcard name. This was incorrect because, given a name constraint of accept.example.com, .example.com could feasibly allow a name of reject.example.com which is outside the constraint. This is very simila...

6.5CVSS6.9AI score0.00288EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/04/14 12:0 p.m.18 views

Use-After-Free and Double Free in IntoIter::drop When Element Drop Panics

A Double Free / Use-After-Free UAF vulnerability has been identified in the IntoIter::drop and ThinVec::clear implementations of the thin-vec crate. Both vulnerabilities share the same root cause and can trigger memory corruption using only safe Rust code - no unsafe blocks required. Undefined...

7.3CVSS5.7AI score0.00168EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2026/02/24 12:0 p.m.18 views

`tracing-check` was removed from crates.io for malicious code

This is part of an ongoing campaign to attempt to typosquat crates in the polymarket-client-sdk ecosystem to exfiltrate user credentials. The malicious crate had 1 version published on 2026-02-24 approximately 4 hours before removal and had no evidence of actual downloads. There were no crates...

5.4AI score
SaveExploits0
RustSec
RustSec
added 2026/02/04 12:0 p.m.18 views

Missing Check for All-Zero X25519 Shared Secret

Computing an X25519 shared secret with x25519dalek::StaticSecret::diffiehellman does not include the check that the key exchange was contributory, i.e. does not ensure on its own that the resulting shared secret is non-zero. Impact RFC 9180 mandates that implementations of HPKE must check for all...

5.8AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2025/10/18 12:0 p.m.18 views

`unic-idna-punycode` is unmaintained

All Unicode crates that are part of https://github.com/open-i18n/rust-unic are unmaintained. Recommended alternatives - idna...

7AI score
SaveExploits0
RustSec
RustSec
added 2025/04/04 12:0 p.m.18 views

Use-After-Free in `Md::fetch` and `Cipher::fetch`

When a Some... value was passed to the properties argument of either of these functions, a use-after-free would result. In practice this would nearly always result in OpenSSL treating the properties as an empty string due to CString::drop's behavior. The maintainers thank quitbug for reporting th...

7AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2025/03/10 12:0 p.m.18 views

`tree-sitter-pkl` was removed from crates.io for malicious code

tree-sitter-pkl was part of a campaign that attempted to exfiltrate environmental data from the host. The malicious crate had 1 version published in March 2025, and had no evidence of actual usage. This crate had no dependencies on crates.io...

5.9AI score
SaveExploits0
RustSec
RustSec
added 2025/03/08 12:0 p.m.18 views

humantime is unmaintained

Latest humantime crates.io release is four years old and GitHub repository has not seen commits in four years. Question about maintenance status has not gotten any reaction from maintainer: https://github.com/tailhook/humantime/issues/31 Update: maintained again The maintainer has responded and...

7.1AI score
SaveExploits0
RustSec
RustSec
added 2025/03/04 12:0 p.m.18 views

`backoff` is unmaintained.

The backoff crate is no longer actively maintained. For exponential backoffs/retrying, you can use the backon crate...

7.1AI score
SaveExploits0
RustSec
RustSec
added 2023/06/01 12:0 p.m.18 views

Remote Attackers can cause Denial-of-Service (packet loops) with crafted DNS packets

trust-dns and trust-dns-server are vulnerable to remotely triggered denial-of-service attacks, consuming both network and CPU resources. DNS messages with the QR=1 bit set are responded to with a FormErr response. This allows creating a traffic loop, in which these FormErr responses are sent...

6.8AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2023/03/31 12:0 p.m.18 views

Initialisation failure in `Once::try_call_once` can lead to undefined behaviour for other initialisers

Once::trycallonce is unsound if invoked more than once concurrently and any call fails to initialise successfully...

6.7AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2023/03/14 12:0 p.m.18 views

Gitoxide has renamed its crates.

All crates in the gitoxide project have been renamed from git- to gix-. The git- prefixed crates are no longer being updated. Switch to using gix-hash to continue receiving updates...

6.8AI score
SaveExploits0
RustSec
RustSec
added 2023/02/20 12:0 p.m.18 views

Possible out-of-bounds read in release mode

Affected versions of this crate were using a debug assertion to validate the last parameter of partialsort. This would allow invalid inputs to cause an out-of-bounds read instead of immediately panicking, when compiled without debug assertions. All writes are bounds-checked, so the out-of-bounds...

4.8AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2022/12/04 12:0 p.m.18 views

`claim` is Unmaintained

The last release was in February 2021, almost two years ago. The maintainer has been unresponsive regarding this crate for over a year. A pending issue with claim's dependencies has made the crate difficult to use. Possible Alternatives The below list has not been vetted in any way and may or may...

3.5AI score
SaveExploits0
RustSec
RustSec
added 2022/09/07 12:0 p.m.18 views

Multiple vulnerabilities resulting in out-of-bounds writes

The heap initialization methods were missing a minimum size check for the given heap size argument. This could lead to out-of-bound writes when a heap was initialized with a size smaller than 3 sizeof:: because of metadata write operations. When calling Heap::extend with a size smaller than two...

9.8CVSS9.2AI score0.00754EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2022/05/10 12:0 p.m.18 views

Channel creates zero value of any type

Affected versions of this crate called mem::zeroed to create values of a user-supplied type T. This is unsound e.g. if T is a reference type which must be non-null. The flaw was corrected by avoiding the use of mem::zeroed, using MaybeUninit instead...

2.8AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2022/04/24 12:0 p.m.18 views

Rusoto is unmaintained

The maintainers of Rusoto advise that all its crates are deprecated. This includes the common crates rusotocore, rusotosignature, rusotocredential, and service crates such as rusotos3 and rusotoec2. Users should migrate to the AWS SDK for Rust, which is maintained by AWS...

3.3AI score
SaveExploits0
RustSec
RustSec
added 2022/01/21 12:0 p.m.18 views

Improper validation of Windows paths could lead to directory traversal attack

towerhttp::services::fs::ServeDir didn't correctly validate Windows paths meaning paths like /foo/bar/c:/windows/web/screen/img101.png would be allowed and respond with the contents of c:/windows/web/screen/img101.png. Thus users could potentially read files anywhere on the filesystem. This only...

4.4AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2021/08/16 12:0 p.m.18 views

spirv_headers is unmaintained, use spirv instead

Because of versioning issues; the spirvheaders crate is unmaintained. Use spirv for parsing spirv files...

2.9AI score
SaveExploits0
RustSec
RustSec
added 2021/07/19 12:0 p.m.18 views

Links in archive can create arbitrary directories

When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. rust use std::io, io::Result; use tar::Archive,...

7.5CVSS7.1AI score0.01392EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2021/05/27 12:0 p.m.18 views

Permissions bypass in pleaser

Failure to normalize the umask in pleaser before 0.4 allows a local attacker to gain full root privileges if they are allowed to execute at least one command...

7.8CVSS4.7AI score0.00408EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2021/05/22 12:0 p.m.18 views

SMTP command injection in body

Affected versions of lettre allowed SMTP command injection through an attacker's controlled message body. The module for escaping lines starting with a period wouldn't catch a period that was placed after a double CRLF sequence, allowing the attacker to end the current message and write arbitrary...

9.8CVSS2.8AI score0.01494EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2021/05/21 12:0 p.m.18 views

Memory access due to code generation flaw in Cranelift module

There is a bug in 0.73.0 of the Cranelift x64 backend that can create a scenario that could result in a potential sandbox escape in a WebAssembly module. Users of versions 0.73.0 of Cranelift should upgrade to either 0.73.1 or 0.74 to remediate this vulnerability. Users of Cranelift prior to 0.73...

8.8CVSS1.6AI score0.00455EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2021/05/20 12:0 p.m.18 views

Crate `twoway` deprecated by the author

The commit e99b3c7 releasing version 0.2.2 explicitly deprecates twoway in favour of memchr crate...

3.7AI score
SaveExploits0
Total number of security vulnerabilities1167