Lucene search
+L
RustsecMost viewed

1224 matches found

RustSec
RustSec
added 2026/03/11 12:00 p.m.21 views

`Matrix{2,3,4}::swap_columns` can trigger undefined behavior for identical indices

The Matrix2::swapcolumns, Matrix3::swapcolumns, and Matrix4::swapcolumns implementations call ptr::swap&mut selfa, &mut selfb. When a == b, these safe APIs create two mutable references to the same matrix column and pass them to ptr::swap. This violates Rust's aliasing rules and can trigger...

6.1AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/03/04 12:00 p.m.21 views

All-Zero Key Generation on Catastrophic RNG Failure

The libcrux-ed25519 key generation samples Ed25519 secret keys from a provided CSPRNG in a loop for up to 100 attempts until a non-zero key is found. If a non-zero key could not be sampled within 100 attempts the key generation function would silently continue with an all-zero buffer as the secre...

5.9AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/03/02 12:00 p.m.21 views

Timing Side-Channel in AES-CCM Tag Verification in AWS-LC

Observable timing discrepancy in AES-CCM decryption in AWS-LC allows an unauthenticated user to potentially determine authentication tag validity via timing analysis. The impacted implementations are through the EVP CIPHER API: EVPaes128ccm, EVPaes192ccm, and EVPaes256ccm. Customers of AWS servic...

8.2CVSS7.5AI score0.01079EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/02/19 12:00 p.m.21 views

`polymarkets-client-sdk` was removed from crates.io for malicious code

It appeared to be typosquatting existing crate polymarket-client-sdk polymarkets vs polymarket and attempting to steal credentials from local files. The malicious crate had 1 version published on 2026-02-19 an hour before removal and hadn't been downloaded. There were no crates depending on this...

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

Type confusion when accessing data from sublasses of subclasses of native types with `abi3` feature targeting Python 3.12 and up

PyO3 0.28.1 added support for pyclassextends=PyList struct NativeSub and other native types when targeting Python 3.12 and up with the abi3 feature. It was discovered that subclasses of such classes would use the type of the subclass when attempting to access to data of NativeSub contained within...

5.4AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2025/10/18 12:00 p.m.21 views

Segmentation fault and invalid memory read in `mnl::cb_run`

The function mnl::cbrun is marked as safe but exhibits unsound behavior when processing malformed Netlink message buffers. Passing a crafted byte slice to mnl::cbrun can trigger memory violations. The function does not sufficiently validate the input buffer structure before processing, leading to...

5.7AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2025/09/21 12:00 p.m.21 views

Incorrect handling of embedded SVG and MathML leads to mutation XSS after removal

Affected versions of this crate did not correctly strip namespace-incompatible tags in certain situations, causing it to incorrectly account for differences between HTML, SVG, and MathML. This vulnerability only has an effect when the svg or math tag is allowed, because it relies on a tag being...

6.9AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2025/06/16 12:00 p.m.21 views

Four unique double-free vulnerabilities triggered via safe APIs

The crate slice-ring-buffer was developed as a fork of slice-deque to continue maintenance and provide security patches, since the latter has been officially unmaintained RUSTSEC-2020-0158. While slice-ring-buffer has addressed some previously reported memory safety issues inherited from its fork...

7.9AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2025/04/24 12:00 p.m.21 views

Out of bounds access in public safe API

Rows::rowunchecked allows out of bounds access to the underlying buffer without sufficient checks. The arrow2 crate is no longer maintained, so there are no plans to fix this issue. Users are advised to migrate to the arrow crate, instead...

7.1AI score
SaveExploits0
RustSec
RustSec
added 2025/04/23 12:00 p.m.21 views

`VMABuffer::set_data` may allow out-of-bounds writes from safe code

VMABuffer::setdata was a publicly accessible safe function. It accepted an arbitrary offset and a data slice, then used the offset in unsafe pointer arithmetic before copying the slice into a mapped allocation. Affected versions did not check that the requested write range fit within the allocati...

6AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2023/03/24 12:00 p.m.21 views

TLS certificate common name validation bypass

The NATS official Rust clients are vulnerable to MitM when using TLS. The common name of the server's TLS certificate is validated against the hostname provided by the server's plaintext INFO message during the initial connection setup phase. A MitM proxy can tamper with the host field's value by...

7AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2023/02/20 12:00 p.m.21 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 2023/01/21 12:00 p.m.21 views

`kuchiki` is unmaintained

The kuchiki repo was marked as archived in this commit. Possible Alternatives Possible alternatives may include: - kuchikiki - html5ever - xml-rs...

6.9AI score
SaveExploits0
RustSec
RustSec
added 2022/12/04 12:00 p.m.21 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:00 p.m.21 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.00841EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2022/08/26 12:00 p.m.21 views

`os_socketaddr` invalidly assumes the memory layout of std::net::SocketAddr

The ossocketaddr crate has assumed std::net::SocketAddrV4 and std::net::SocketAddrV6 have the same memory layout as the system C representation sockaddr. It has simply casted the pointers to convert the socket addresses to the system representation. These layout were changed into idiomatic rust...

2.4AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2022/08/15 12:00 p.m.21 views

Use after free in MacOS / iOS implementation

In iana-time-zone v0.1.43 a use-after-free bug in the MacOS / iOS implementation was introduced. The copied system time zone was released before its name was copied. If the system time zone was changed between the call of CFRelease and str::toowned, random memory would be copied...

1.4AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2022/07/22 12:00 p.m.21 views

Safety issues in `pkcs11`

Impact The interface of pkcs11 is subject to a number of safety issues, mainly related to handling of raw pointers. Despite presenting a safe interface, many of the functions and methods that rely on inputs which contain pointers attributes and mechanisms in particular can lead to segmentation...

1.8AI score
SaveExploits0
RustSec
RustSec
added 2022/07/12 12:00 p.m.21 views

libp2p Lack of resource management DoS

libp2p allows a potential attacker to cause victim p2p node to run out of memory The out of memory failure can cause crashes where libp2p is intended to be used within large scale networks leading to potential Denial of Service DoS vector Users should upgrade or reference the DoS mitigation...

7.5CVSS4.9AI score0.00689EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2022/05/10 12:00 p.m.21 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/03/04 12:00 p.m.21 views

Arrow2 allows double free in `safe` code

The struct FfiArrowArray implements deriveClone that is inconsistent with its custom implementation of Drop, resulting in a double free when cloned. Cloning this struct in safe results in a segmentation fault, which is unsound. This derive was removed from this struct. All users are advised to...

3.3AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2022/01/21 12:00 p.m.21 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/12/24 12:00 p.m.21 views

dotenv is Unmaintained

dotenv by description is meant to be used in development or testing only. Using this in production may or may not be advisable. Alternatives The below may or may not be feasible alternatives: - dotenvycodegenimpl...

1.8AI score
SaveExploits0
RustSec
RustSec
added 2021/09/23 12:00 p.m.21 views

Aliased mutable references from `tls_rand` & `TlsWyRand`

TlsWyRand's implementation of Deref unconditionally dereferences a raw pointer, and returns multiple mutable references to the same object, which is undefined behavior...

9.8CVSS2.7AI score0.01191EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2021/08/16 12:00 p.m.21 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:00 p.m.21 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:00 p.m.21 views

File exposure in pleaser

pleaser before 0.4 allows a local unprivileged attacker to gain knowledge about the existence of files or directories in privileged locations via the searchpath function, the --check option, or the -d option...

3.3CVSS5AI score0.00426EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2021/05/20 12:00 p.m.21 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
RustSec
RustSec
added 2021/02/04 12:00 p.m.21 views

Multiple soundness issues

Calls std::str::fromutf8unchecked without any checks The function xcb::xproto::GetAtomNameReply::name calls std::str::fromutf8unchecked on the raw bytes that were received from the X11 server without any validity checks. The X11 server only prevents interior null bytes, but otherwise allows any X...

9.8CVSS1.3AI score0.01754EPSS
SaveExploits3Affected Software1
RustSec
RustSec
added 2021/01/17 12:00 p.m.21 views

Missing Send bound for Lazy

All current versions of this crate allow causing data races in safe code. The flaw will be fixed in the next release...

5.3CVSS3.3AI score0.01314EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2020/12/31 12:00 p.m.21 views

`FixedCapacityDequeLike::clone()` can cause dropping uninitialized memory

Affected versions of this crate don't guard against panics, so that partially uninitialized buffer is dropped when user-provided T::clone panics in FixedCapacityDequeLike::clone. This causes memory corruption...

9.8CVSS5.5AI score0.01119EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2020/12/25 12:00 p.m.21 views

Queues allow non-Send types to be sent to other threads, allowing data races

Affected versions of this crate unconditionally implemented Send for types used in queue implementations InnerSend, InnerRecv, FutInnerSend, FutInnerRecv. This allows users to send non-Send types to other threads, which can lead to data race bugs or other undefined behavior...

8.1CVSS3.6AI score0.01098EPSS
SaveExploits1
RustSec
RustSec
added 2020/12/09 12:00 p.m.21 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:00 p.m.21 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/11/24 12:00 p.m.21 views

convec::ConVec<T> unconditionally implements Send/Sync

Affected versions of this crate unconditionally implement Send/Sync for ConVec. This allows users to insert T that is not Send or not Sync. This allows users to create data races by using non-Send types like Arc or Rc as T in ConVec. It is also possible to create data races by using types like Ce...

8.1CVSS3.8AI score0.00766EPSS
SaveExploits0
RustSec
RustSec
added 2020/05/26 12:00 p.m.21 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/04/18 12:00 p.m.21 views

`stb_truetype` crate has been deprecated; use `ttf-parser` instead

This crate was maintained for use in rusttype which has switched to use ttf-parser...

0.8AI score
SaveExploits0
RustSec
RustSec
added 2020/02/11 12:00 p.m.21 views

rulinalg is unmaintained, use nalgebra instead

The rulinalg crate is no longer maintained, use nalgebra instead...

1.5AI score
SaveExploits0
RustSec
RustSec
added 2020/02/06 12:00 p.m.21 views

`tokio-proto` is deprecated/unmaintained

The tokio-proto crate has been deprecated, and its GitHub repository has been archived. Users may be interested in tokio-tower instead, per https://github.com/tokio-rs/tokio/issues/118issuecomment-452969665...

0.6AI score
SaveExploits0
RustSec
RustSec
added 2019/11/21 12:00 p.m.21 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/03 12:00 p.m.21 views

Flaw in CBOR deserializer allows stack overflow

Affected versions of this crate did not properly check if semantic tags were nested excessively during deserialization. This allows an attacker to craft small 1 kB CBOR documents that cause a stack overflow. The flaw was corrected by limiting the allowed number of nested tags...

7.5CVSS4.6AI score0.0143EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2019/06/20 12:00 p.m.21 views

`boxfnonce` obsolete with release of Rust 1.35.0

This commit marks the boxfnonce crate as obsolete and the GitHub repo has since been archived. The functionality of boxfnonce has been added to Rust since 1.35.0. Use Box...

1.1AI score
SaveExploits0
RustSec
RustSec
added 2018/06/30 12:00 p.m.21 views

quickersort is deprecated and unmaintained

The author of the quickersort crate has deprecated it and does not recommend using it anymore. Everything in it has been incorporated into std::sortunstable in the standard library as of Rust 1.20. std::sortunstable: https://doc.rust-lang.org/stable/std/primitive.slice.htmlmethod.sortunstable...

4.3AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/07/25 12:00 p.m.20 views

Remote Denial of Service via malformed NIP‑44 v2 payload

The NIP-44 v2 decryption path in the nostr crate contains a reachable panic when processing a short or empty ciphertext. After the HMAC check passes and the ciphertext is decrypted via ChaCha20, the code reads a 2‑byte unpadded‑length prefix via buffer0..2 without first verifying that the decrypt...

5.8AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/05/13 12:00 p.m.20 views

Potential undefined behavior with Signature from a buffer-created BlameHunk

When a Blame is created via Blame::blamebuffer, and a BlameHunk is retrieved, the pointers to the original author, original committer, final author, and final committer may be null if unavailable. The corresponding BlameHunk methods then create Signatures based on null pointers; attempting to...

5.3AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/05/03 12:00 p.m.20 views

smartstring is unmaintained

The smartstring crate is unmaintained; all versions are affected. The GitHub repository was archived by the owner on 2026-05-03. Recommended alternatives: compactstr smolstr...

5.3AI score
SaveExploits0
RustSec
RustSec
added 2026/05/02 12:00 p.m.20 views

Double-free in `Chomp::inner()`

Chomp::inner uses std::ptr::readunaligned to move out the value from a raw pointer. If the original value is an owned type e.g. Box, calling inner moves out the ownership, but the original variable will still be dropped at the end of its scope. This causes the same heap memory to be freed twice,...

5.8AI score
SaveExploits0
RustSec
RustSec
added 2026/05/01 12:00 p.m.20 views

Fragile bounds check when sampling from image

A bounds check was performed in floating points before a cast to the index passed to an unchecked access function. This checked considered NaN cases improperly, causing them to succeed the check instead of failing it. The floating point coordinate is under caller control by passing a selected...

5.9AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/04/09 12:00 p.m.20 views

Host data leakage with 64-bit tables and Winch

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-m9w2-8782-2946 For more information see the GitHub-hosted security advisory...

6.5CVSS5.9AI score0.00324EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/03/20 12:00 p.m.20 views

`tokio-uds` is unmaintained

The tokio-uds crate is unmaintained. It was part of the Tokio 0.1 ecosystem and has been superseded by the main tokio crate...

5.7AI score
SaveExploits0
Total number of security vulnerabilities1224