Lucene search
+L
RustsecMost viewed

1167 matches found

RustSec
RustSec
added 2019/03/10 12:0 p.m.20 views

Fix for UB in failure to catch panics crossing FFI boundaries

Affected versions of this crate failed to catch panics crossing FFI boundaries via callbacks, which is a form of UB. This flaw was corrected by this commit1 which was included in version 2.6.0. 1: https://github.com/jnqnfe/pulse-binding-rust/commit/7fd282aef7787577c385aed88cb25d004b85f494...

7.5CVSS3.7AI score0.01177EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2018/12/20 12:0 p.m.20 views

Flaw in streaming state reset() functions can create incorrect results.

Affected versions of this crate did not properly reset a streaming state. Resetting a streaming state, without finalising it first, creates incorrect results. The flaw was corrected by not first checking if the state had already been reset, when calling reset...

7.5CVSS3.3AI score0.01598EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2018/12/09 12:0 p.m.20 views

MsQueue and SegQueue suffer from double-free

Even if an element is popped from a queue, crossbeam would run its destructor inside the epoch-based garbage collector. This is a source of double frees. The flaw was corrected by wrapping elements inside queues in a ManuallyDrop. Thanks to @c0gent for reporting the issue...

9.8CVSS8.3AI score0.01744EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2018/08/22 12:0 p.m.20 views

Use of uninitialized memory in temporary

Uninit memory is used as a RNG seed in temporary The following function is used as a way to get entropy from the system, which does operations on and exposes uninit memory, which is UB. rust fn randomseed: &Path, : &str - u64; 2 use std::mem::uninitialized as rand; unsafe rand:: ^ 0x12345678,...

1.1AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2018/06/21 12:0 p.m.20 views

An integer underflow could lead to panic

A mistake in error handling in untrusted before 0.6.2 could lead to an integer underflow and panic if a user of the crate didn't properly check for errors returned by untrusted. Combination of these two programming errors one in untrusted and another by user of this crate could lead to a panic an...

7.5CVSS3AI score0.01411EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2016/09/10 12:0 p.m.20 views

libusb is unmaintained; use rusb instead

The libusb crate has not seen a release since September 2016, and its author is unresponsive. The rusb crate is a maintained fork: https://github.com/a1ien/rusb...

7.1AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/06/11 12:0 p.m.19 views

Out-of-bounds read in `nth` / `nth_back` for `PyList` and `PyTuple` iterators

PyO3 0.24.0 added optimized implementations of Iterator::nth and DoubleEndedIterator::nthback for the BoundListIterator and BoundTupleIterator types. These implementations computed the target index using unchecked usize addition index + n before bounds-checking against the sequence length, then...

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

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

This crate provides Rust bindings to the HQC 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 implementations. As...

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

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

This crate provides internal FFI utilities for the pqcrypto- ecosystem, directly wrapping 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/14 12:0 p.m.19 views

TLS hostname verification disabled when using Boring TLS backend

An inverted-boolean bug in lettre's boring-tls integration silently disables TLS hostname verification for callers using the default strict configuration. An on-path attacker presenting any chain-valid certificate for any domain can intercept SMTP submission, including PLAIN/LOGIN credentials and...

9.1CVSS5.8AI score0.00191EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/05/01 12:0 p.m.19 views

CPU exhaustion during message encoding due to O(n²) name compression

During message encoding, hickory-proto's BinEncoder stores pointers to labels that are candidates for name compression in a Vec. The name compression logic then searches for matches with a linear scan. A malicious message with many records can both introduce many candidate labels, and invoke this...

5.3CVSS6.8AI score0.00801EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/04/27 12:0 p.m.19 views

AVX2 Implementation Did Not Fully Reduce Intermediate Values

The AVX2 implementation of ML-DSA did not fully reduce intermediate inputs to the inverse NTT, which leads to a testable difference in panic behaviour of internal functions compared to the portable implementation. Impact We are not aware of inputs to the public key generation, signing or...

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

Possible unaligned data access for implementations of `SqliteAggregate`

Diesel allows to register custom aggregate SQL functions for SQLite via the SqliteAggregate interface. To store an instance of the custom aggregate processor Diesel relied on the sqlite3aggregatecontext function provided by sqlite. This function doesn't provide any guarantees about alignment of t...

5.9AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/03/11 12:0 p.m.19 views

`Authorization::value` and `WwwAuthenticate::value` can violate ASCII invariants

Authorization::value uses HeaderValue::value with the claim that the internal string is ASCII, but Authorization::new and Authorization::setcredentials accept arbitrary String credentials without validation. As a result, safe code can construct a header value containing non-ASCII UTF-8 while the...

5.7AI score
SaveExploits0
RustSec
RustSec
added 2025/02/10 12:0 p.m.19 views

cve-rs introduces memory vulnerabilities in safe Rust

This crate is a joke and should never be used. cve-rs provides demonstrations of common memory vulnerabilities such as buffer overflows and segfaults implemented completely within safe Rust. Internally, this crate does not use unsafe code, it instead exploits a soundness bug in rustc:...

7.4AI score
SaveExploits0
RustSec
RustSec
added 2024/06/26 12:0 p.m.19 views

`derivative` is unmaintained; consider using an alternative

The derivative crate is no longer maintained. Consider using any alternative, for instance: - derivemore - derive-where - educe...

7.2AI score
SaveExploits0
RustSec
RustSec
added 2023/11/15 12:0 p.m.19 views

`lfest-main` was removed from crates.io for malicious code

This crate was part of a typosquatting malware cluster published by the user Kraded to run an arbitrary malware payload on Windows hosts. This advisory is to retrospectively document this attempted attack. The version information and download records of the malicious crate are no longer available...

5.9AI score
SaveExploits0
RustSec
RustSec
added 2023/09/25 12:0 p.m.19 views

Tungstenite allows remote attackers to cause a denial of service

The Tungstenite crate through 0.20.0 for Rust allows remote attackers to cause a denial of service minutes of CPU consumption via an excessive length of an HTTP header in a client handshake. The length affects both how many times a parse is attempted e.g., thousands of times and the average amoun...

7.5CVSS7.2AI score0.0162EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2023/06/01 12:0 p.m.19 views

`users` crate is unmaintained

The users crate hasn't seen any action since 2020-10-08. The developer seems MIA since. Recommended alternatives - uzers - sysinfo MIA: https://github.com/ogham/rust-users/issues/54 uzers: https://crates.io/crates/uzers sysinfo: https://crates.io/crates/sysinfo...

7.2AI score
SaveExploits0
RustSec
RustSec
added 2023/05/16 12:0 p.m.19 views

crate has been renamed to `crypto_secretbox`

This crate has been forked/renamed from xsalsa20poly1305 to cryptosecretbox. The new repository location is at:...

6.9AI score
SaveExploits0
RustSec
RustSec
added 2023/03/24 12:0 p.m.19 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/01/21 12:0 p.m.19 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/08/26 12:0 p.m.19 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/07/12 12:0 p.m.19 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/11 12:0 p.m.19 views

Out-of-bounds read when opening multiple column families with TTL

Affected versions of this crate called the RocksDB C API rocksdbopencolumnfamilieswithttl with a pointer to a single integer TTL value, but one TTL value for each column family is expected. This is only relevant when using rocksdb::DBWithThreadMode::opencfdescriptorswithttl with multiple column...

3AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2022/02/28 12:0 p.m.19 views

Miscomputation when performing AES encryption in rust-crypto

The following Rust program demonstrates some strangeness in AES encryption - if you have an immutable key slice and then operate on that slice, you get different encryption output than if you operate on a copy of that key. For these functions, we expect that extending a 16 byte key to a 32 byte k...

7.3AI score
SaveExploits0
RustSec
RustSec
added 2022/02/25 12:0 p.m.19 views

Post-Quantum Signature scheme Rainbow level I parametersets broken

Ward Beullens found a practical key-recovery attack against Rainbow. The level I parametersets are removed from liboqs starting from version 0.7.2. Find the scientific details in Breaking Rainbow Takes a Weekend on a Laptop. This means all the oqs::sig::Algorithm::RainbowI variants are insecure...

4.2AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2021/10/31 12:0 p.m.19 views

Generated code can read and write out of bounds in safe code

Code generated by flatbuffers' compiler is unsafe but not marked as such. See https://github.com/google/flatbuffers/issues/6627 for details. For example, if generated code is used to decode malformed or untrusted input, undefined behavior and thus security vulnerabilities is possible even without...

0.6AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2021/09/23 12:0 p.m.19 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/18 12:0 p.m.19 views

ansi_term is Unmaintained

The maintainer has advised that this crate is deprecated and will not receive any maintenance. The crate does not seem to have much dependencies and may or may not be ok to use as-is. Last release seems to have been three years ago. Possible Alternatives The below list has not been vetted in any...

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

`better-macro` has deliberate RCE to prove a point

better-macro is a fake crate which is "Proving A Point" that proc-macros can run arbitrary code. This is not a particularly novel or interesting observation. It currently opens https://github.com/raycar5/better-macro/blob/master/doc/hi.md which doesn't appear to have any malicious content, but...

9.8CVSS1.3AI score0.02567EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2021/06/16 12:0 p.m.19 views

Potential request smuggling capabilities due to lack of input validation

Affected versions of this crate did not properly detect invalid requests that could allow HTTP/1 request smuggling HRS attacks when running alongside a vulnerable front-end proxy server. This can result in leaked internal and/or user data, including credentials, when the front-end proxy is also...

7.5CVSS3.5AI score0.0181EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2021/05/04 12:0 p.m.19 views

XSS in `comrak`

comrak operates by default in a "safe" mode of operation where unsafe content, such as arbitrary raw HTML or URLs with non-standard schemes, are not permitted in the output. This is per the reference GFM implementation, cmark-gfm. Ampersands were not being correctly escaped in link targets, makin...

6.1CVSS1AI score0.00741EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2021/03/03 12:0 p.m.19 views

Intern<T>: Data race allowed on T

Affected versions of this crate unconditionally implements Sync for Intern. This allows users to create data race on T: !Sync, which may lead to undefined behavior for example, memory corruption. The flaw was corrected in commit 2928a87 by adding the trait bound T: Sync in the Sync impl of Intern...

9.8CVSS3.7AI score0.01167EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2021/02/19 12:0 p.m.19 views

SliceDeque::drain_filter can double drop an element if the predicate panics

Affected versions of the crate incremented the current index of the drain filter iterator before calling the predicate function self.pred. If the predicate function panics, it is possible for the last element in the iterator to be dropped twice...

7.5CVSS2.7AI score0.01135EPSS
SaveExploits1
RustSec
RustSec
added 2021/02/19 12:0 p.m.19 views

Multiple memory safety issues in insert_row

When inserting rows from an iterator at a particular index, toodee would shift items over, duplicating their ownership. The space reserved for the new elements was based on the len returned by the ExactSizeIterator. This could result in elements in the array being freed twice if the iterator...

9.8CVSS1.6AI score0.01167EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2021/02/15 12:0 p.m.19 views

crate has been renamed to `qjsonrpc`

This crate has been renamed from jsonrpc-quic to qjsonrpc. The new repository location is:...

6.9AI score
SaveExploits0
RustSec
RustSec
added 2021/02/05 12:0 p.m.19 views

Multiple Transfer-Encoding headers misinterprets request payload

hyper's HTTP server code had a flaw that incorrectly understands some requests with multiple transfer-encoding headers to have a chunked payload, when it should have been rejected as illegal. This combined with an upstream HTTP proxy that understands the request payload boundary differently can...

8.1CVSS1.4AI score0.04771EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2021/01/20 12:0 p.m.19 views

Optional `Deserialize` implementations lacking validation

When activating the non-default feature serialize, most structs implement serde::Deserialize without sufficient validation. This allows breaking invariants in safe code, leading to: Undefined behavior in asstring methods which use std::str::fromutf8unchecked internally. Panics due to failed...

9.8CVSS1.6AI score0.01123EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2021/01/07 12:0 p.m.19 views

`Read` on uninitialized buffer may cause UB ( `read_entry()` )

Affected versions of this crate passes an uninitialized buffer to a user-provided Read implementation. There are two of such cases gooffsetlog::readentry & offsetlog::readentry. Arbitrary Read implementations can read from the uninitialized buffer memory exposure and also can return incorrect...

9.8CVSS3.4AI score0.01191EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2020/12/25 12:0 p.m.19 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/20 12:0 p.m.19 views

Soundness issue: Input<R> can be misused to create data race to an object

Input implements Send without requiring R: Send. Affected versions of this crate allows users to send non-Send types to other threads, which can lead to undefined behavior such as data race and memory corruption. The flaw was corrected in version 0.5.1 by adding R: Send bound to the Send impl of...

5.9CVSS2.8AI score0.01066EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2020/12/18 12:0 p.m.19 views

ButtplugFutureStateShared allows data race to (!Send|!Sync) objects

ButtplugFutureStateShared implements Send & Sync regardless of T. If T: !Send for ButtplugFutureStateShared, it is possible to move non-Send types across thread boundaries e.g. T=Rc and lead to undefined behavior. If T: !Sync for ButtplugFutureStateShared, it is possible to cause data race to T...

5.9CVSS1.5AI score0.01107EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2020/12/17 12:0 p.m.19 views

RingBuffer can create multiple mutable references and cause data races

The RingBuffer type retrieves mutable references from the DataProvider in a non-atomic manner, potentially allowing the creation of multiple mutable references. RingBuffer also implements the Send and Sync traits for all types T. This allows undefined behavior from the aliased mutable references ...

5.9CVSS3.3AI score0.00978EPSS
SaveExploits1Affected Software1
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
Total number of security vulnerabilities1167