Lucene search
+L
RustSecMost viewed

1577 matches found

RustSec
RustSec
•added 2020/11/24 12:00 p.m.•36 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/10/01 12:00 p.m.•36 views

Obsolete versions of the `rustsec` crate do not support the new V3 advisory format

If you are seeing this message, you are running an obsolete version of cargo-audit which does not support the new V3 advisory format. These versions are end-of-life. This advisory is a notice that that it will soon be unable to parse the advisory database. Please upgrade cargo-audit to a newer...

2.7AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2020/07/09 12:00 p.m.•36 views

Improper uniqueness verification of signature threshold

The tough library, prior to 0.7.1, does not properly verify the uniqueness of keys in the signatures provided to meet the threshold of cryptographic signatures. It allows someone with access to a valid signing key to create multiple valid signatures in order to circumvent TUF requiring a minimum...

9.8CVSS1.5AI score0.00987EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2020/07/04 12:00 p.m.•36 views

mozjpeg DecompressScanlines::read_scanlines is Unsound

This issue and vector is similar to RUSTSEC-2020-0029 of rgb crate which mozjpeg depends on. Affected versions of mozjpeg crate allow creating instances of any type T from bytes, and do not correctly constrain T to the types for which it is safe to do so. Examples of safety violation possible for...

3.1AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2020/05/01 12:00 p.m.•36 views

`net2` crate has been deprecated; use `socket2` instead

The net2 crate has been deprecated and users are encouraged to considered socket2 instead...

2.3AI score
SaveExploits0
RustSec
RustSec
•added 2020/04/24 12:00 p.m.•36 views

fake-static allows converting any reference into a `'static` reference

fake-static allows converting a reference with any lifetime into a reference with 'static lifetime without the unsafe keyword. Internally, this crate does not use unsafe code, it instead exploits a soundness bug in rustc: https://github.com/rust-lang/rust/issues/25860...

1.8AI score
SaveExploits0
RustSec
RustSec
•added 2020/02/10 12:00 p.m.•36 views

lzw is unmaintained

The author of the lzw crate is unresponsive. Maintained alternatives: - weezl...

2.1AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2019/09/14 12:00 p.m.•36 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/08/27 12:00 p.m.•36 views

Wrong memory orderings in RwLock potentially violates mutual exclusion

Wrong memory orderings inside the RwLock implementation allow for two writers to acquire the lock at the same time. The drop implementation used Ordering::Relaxed, which allows the compiler or CPU to reorder a mutable access on the locked data after the lock has been yielded. Only users of the...

7.8CVSS1.4AI score0.01423EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2018/08/22 12:00 p.m.•36 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/02/13 12:00 p.m.•36 views

`tempdir` crate has been deprecated; use `tempfile` instead

The tempdir crate has been deprecated and the functionality is merged into tempfile...

1.3AI score
SaveExploits0
RustSec
RustSec
•added 2016/12/15 12:00 p.m.•36 views

`cassandra` crate is unmaintained; use `cassandra-cpp` instead

The cassandra crate has not seen a release since December 2016, and its author is unresponsive. The cassandra-cpp crate is a maintained fork: https://github.com/Metaswitch/cassandra-rs...

6.9AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2026/10/20 12:00 p.m.•35 views

Pingora HTTP/2 :authority and Host header mismatch enables cache poisoning and host-based access control bypass

Pingora versions prior to 0.9.0 accepted HTTP/2 requests whose Host header differed from the :authority pseudo-header. Request filters, cache keys, and logs that read the request URI session.reqheader.uri saw the :authority value, but the upstream received the client-supplied Host value. Pingora...

6.3CVSS5.7AI score0.00558EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2026/10/10 12:00 p.m.•35 views

ZipStreamReader::extract() and ZipArchive::extract() apply Unix permissions through symlinks without confining the target

ZipStreamReader::extract applies Unix permissions through extracted symlinks without validating the symlink target stays within the destination For further details see: https://github.com/zip-rs/zip2/security/advisories/GHSA-4684-h2q9-2vcp...

5.9AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2026/08/31 12:00 p.m.•35 views

`zbus_polkit`: authorization bypass via PID reuse

Subject::newforowner in the zbuspolkit crate encodes the uid entry of a unix-process polkit subject as an unsigned 32-bit integer D-Bus type u, whereas the org.freedesktop.PolicyKit1.Authority interface specifies a signed 32-bit integer D-Bus type i. Because of this type mismatch, polkit silently...

7.3CVSS5.6AI score0.0009EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2026/08/11 12:00 p.m.•35 views

Panic-safety unsoundness in `Chunk` and `InlineArray` (use-after-free / double-free)

Several methods in sp-sized-chunks drop elements before updating the container's length/boundary metadata. If an element's Drop panics during the drop, the metadata update is skipped, so the container still treats the already-dropped elements as live. When the container is later dropped, its own...

5.3AI score
SaveExploits0
RustSec
RustSec
•added 2026/08/11 12:00 p.m.•35 views

Panic-safety unsoundness in `truncate_back`, `truncate_front`, `clear`, and `extend_from_slice` (use-after-free / double-free)

Several methods in circular-buffer drop elements before updating the buffer's start/end metadata. If an element's Drop panics during the drop, the metadata update is skipped, so the buffer still treats the already-dropped elements as live. When the buffer is later dropped or used after the panic ...

5.5AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2026/08/06 12:00 p.m.•35 views

Relative/Absolute Path Traversal (CWE-23/CWE-36) in `decompress_impl` that enables an arbitrary file write.

Summary All versions of sevenz-rust fail to validate file paths when extracting in decompressimpl the underlying function used in the exposed decompress api functions. This oversight allows a maliciously crafted archive to extract outside the extraction directory, from both relative paths such as...

5.6AI score
SaveExploits0
RustSec
RustSec
•added 2026/08/06 12:00 p.m.•35 views

`setlocale` and `TextDomain::init` are unsound as they access environment with no synchronization

setlocale and TextDomain::init are unsound and may allow safe code to exhibit undefined behavior when called in a multi-threaded program. The flaw is fixed in 0.8.0 by marking these functions unsafe and documenting the conditions under which they can be called safely...

5.4AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2026/08/03 12:00 p.m.•35 views

`nostr-relay-builder` is unmaintained

The nostr-relay-builder crate is no longer actively maintained as a standalone crate. Its functionality has been incorporated into nostr-sdk starting with version 0.45.0. Users should migrate to nostr-sdk...

5.2AI score
SaveExploits0
RustSec
RustSec
•added 2026/08/01 12:00 p.m.•35 views

Debug output exposes NIP-46 and NIP-60 credentials

Several NIP-46 and NIP-60 types used derived Debug implementations even though their fields contained credentials or decrypted application data. Formatting these values exposed NIP-46 connection secrets and request parameters, as well as NIP-60 private keys, Cashu bearer proofs, and quote...

5.5AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2026/07/14 12:00 p.m.•35 views

Non-constant time Authentication Tag Check in AES-GCM Decryption

AES-GCM decryption used an implementation for checking the provided authentication tag against the recomputed authentication tag that was intended to be constant-time, but resulted in non-constant-time code generation in certain circumstances. Note that libcrux-aesgcm does not give guarantees on...

5.5AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2026/07/08 12:00 p.m.•35 views

Uint shift operations: incorrect overflow flags and truncated shift amounts

Uint::overflowingshl/overflowingshr returned false-negative overflow flags. overflowingshl missed bits shifted above BITS but within the top limb non-limb-aligned widths such as U160, and limbs wholly discarded by shifts = 64; overflowingshr missed wholly discarded low limbs. Shifted values were...

5.9AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2026/03/20 12:00 p.m.•35 views

`tokio-fs` is unmaintained

The tokio-fs 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
RustSec
RustSec
•added 2026/03/11 12:00 p.m.•35 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.•36 views

Incorrect Output of Incremental Portable SHAKE API

The incremental squeeze functions in the portable SHAKE XOF API, when attempting to squeeze more than RATE 168 for SHAKE128, 136 for SHAKE256 bytes, performed an additional permutation of the state before producing the first output block, thus discarding the first block of RATE bytes of valid XOF...

5.8AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2026/03/04 12:00 p.m.•35 views

Incorrect Check of Signer Response Norm During Verification

The ML-DSA verification algorithm as specified in FIPS 204, subsection 6.3 requires verifiers to check that the infinity norm of the deserialized signer response $z$ does not exceed $\gamma1 - \beta$ line 13 of Algorithm 8. The same check is required to be performed during signature generation...

5.8AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2026/02/11 12:00 p.m.•35 views

Incorrect Length Encoding on KDF Export

Passing values length 65535 to Context::export produces output that disagrees with the RFC 9180 label encoding. In particular the length value is cast to u16 truncating any value exceeding 65535. Impact Applications that use hpke-rs to export very large secrets would experience interoperability...

5.7AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2025/12/05 12:00 p.m.•35 views

`finch-rust` was removed from crates.io for malicious code

It depended on the sha-rust crate, which appeared to be attempting to steal credentials from local files...

5.3AI score
SaveExploits0
RustSec
RustSec
•added 2025/11/04 12:00 p.m.•35 views

`replit_ruspty` was removed from crates.io for malicious code

The OpenSSF Package Analysis project identified 'replitruspty' @ 1.0.0 crates.io as malicious. Version 2.0.0 was also published with malware. It is considered malicious because: The package communicates with a domain associated with malicious activity. The package executes one or more commands...

5.8AI score
SaveExploits0
RustSec
RustSec
•added 2025/10/31 12:00 p.m.•35 views

Lack of sufficient checks in public API

The affected function is unsound due to insufficient checks on public struct field...

6.9AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2025/09/11 12:00 p.m.•35 views

`libyml::string::yaml_string_extend` is unsound and unmaintained

In version 0.0.4, libyml::string::yamlstringextend was revised resulting in undefined behaviour, which is unsound. The GitHub project for libyml was archived after unsoundness issues were raised. If you rely on this crate, it is highly recommended switching to a maintained alternative. Recommende...

7.1AI score
SaveExploits0
RustSec
RustSec
•added 2025/09/08 12:00 p.m.•35 views

iron crate is unmaintained

The iron crate is no longer actively maintained. If you rely on this crate, consider switching to a maintained alternative. Recommended alternatives See this comparison for popular alternatives...

6.9AI score
SaveExploits0
RustSec
RustSec
•added 2025/01/30 12:00 p.m.•35 views

`custom-req-on-workers` was removed from crates.io for malicious code

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

5.9AI score
SaveExploits0
RustSec
RustSec
•added 2025/01/30 12:00 p.m.•35 views

`jfrog_quotes` was removed from crates.io for malicious code

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

5.9AI score
SaveExploits0
RustSec
RustSec
•added 2024/12/09 12:00 p.m.•35 views

gtk-layer-shell GTK3 bindings - no longer maintained

The gtk-layer-shell GTK3 bindings are no longer maintained. The maintainers have archived the repository, and added a note to the crate description and its README.md that the crates are no longer maintained. Please take a look at gtk4-layer-shell instead...

7.1AI score
SaveExploits0
RustSec
RustSec
•added 2024/11/05 12:00 p.m.•35 views

cap-primitives doesn't fully sandbox all the Windows device filenames

Impact cap-primitives's filesystem sandbox implementation on Windows blocks access to special device filenames such as "COM1", "COM2", "LPT0", "LPT1", and so on, however it did not block access to the special device filenames which use superscript digits, such as "COM¹", "COM²", "LPT⁰", "LPT¹", a...

2.3CVSS6AI score0.00583EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2024/09/02 12:00 p.m.•35 views

`Endpoint::retry()` calls can lead to panicking

In 0.11.0, we overhauled the server-side Endpoint implementation to enable more careful handling of incoming connection attempts. However, some of the code paths that cleaned up state after connection attempts were processed confused the initial destination connection ID with the destination...

7.5CVSS5.8AI score0.00568EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2024/08/22 12:00 p.m.•35 views

gitoxide-core does not neutralize special characters for terminals

Summary The gix and ein commands write pathnames and other metadata literally to terminals, even if they contain characters terminals treat specially, including ANSI escape sequences. This sometimes allows an untrusted repository to misrepresent its contents and to alter or concoct error messages...

5.4CVSS6.2AI score0.00448EPSS
SaveExploits0
RustSec
RustSec
•added 2024/08/15 12:00 p.m.•35 views

Binary Protocol Misinterpretation caused by Truncating or Overflowing Casts

The following presentation at this year's DEF CON was brought to our attention on the SQLx Discord: SQL Injection isn't Dead: Smuggling Queries at the Protocol Level Archive link for posterity. Essentially, encoding a value larger than 4GiB can cause the length prefix in the protocol to overflow,...

8.4AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2024/07/17 12:00 p.m.•35 views

Usage of non-constant time base64 decoder could lead to leakage of secret key material

Versions before 0.7.0 of vodozemac use a non-constant time base64 implementation for importing key material for Megolm group sessions and PkDecryption Ed25519 secret keys. This flaw might allow an attacker to infer some information about the secret key material through a side-channel attack. Impa...

2.9CVSS5.8AI score0.00201EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2024/04/24 12:00 p.m.•35 views

Arithmetic overflows in cosmwasm-std

Some mathematical operations in cosmwasm-std use wrapping math instead of panicking on overflow for very big numbers. This can lead to wrong calculations in contracts that use these operations. Affected functions: - Uint256,512::pow / Int256,512::pow - Int256,512::neg Affected if overflow-checks ...

5.3CVSS5.9AI score0.00496EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2023/11/15 12:00 p.m.•35 views

`windows-service-rs` 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/11/15 12:00 p.m.•35 views

`lasso-rs` 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/10/15 12:00 p.m.•35 views

Sequential calls of encryption API (`encrypt`, `wrap`, and `dump`) result in nonce reuse

Problem: Trying to create a new encrypted message with the same cocoon object generates the same ciphertext. It mostly affects MiniCocoon and Cocoon objects with custom seeds and RNGs where StdRng is used under the hood. Note: The issue does NOT affect objects created with Cocoon::new which...

4.5CVSS5.9AI score0.0014EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/09/19 12:00 p.m.•35 views

`tauri` filesystem scope partial bypass

A bug identified in this issue allows a partial filesystem scope bypass if glob characters are used within file dialog or drag-and-drop functionalities. This PR fixes the issue by escaping glob characters...

4.7CVSS5.5AI score0.00528EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/08/26 12:00 p.m.•35 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/04/13 12:00 p.m.•35 views

`rmp-serde` `Raw` and `RawRef` unsound

It was found that Raw::fromutf8 expects valid UTF-8. If invalid UTF-8 is received it can cause the process to crash...

6.7AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/01/26 12:00 p.m.•35 views

xml-rs is Unmaintained

xml-rs is a XML parser has open issues around parsing including integer overflows / panics that may or may not be an issue with untrusted data. Together with these open issues with Unmaintained status xml-rs may or may not be suited to parse untrusted data. Alternatives - quick-xml...

5.1AI score
SaveExploits0
RustSec
RustSec
•added 2021/11/30 12:00 p.m.•35 views

Use After Free in lucet-runtime

There is a bug in the main branch of Lucet's lucet-runtime that allows a use-after-free in an Instance object that could result in memory corruption, data race, or other related issues. This bug was introduced early in the development of Lucet and is present in all releases. As a result of this...

8.5CVSS6.8AI score0.01617EPSS
SaveExploits1
Total number of security vulnerabilities1577