Lucene search
+L
Osv RustsecMost viewed

1310 matches found

osv_rustsec
osv_rustsec
•added 2024/05/22 12:00 p.m.•33 views

RUSTSEC-2024-0353 Refs and paths with reserved Windows device names access the devices

Summary On Windows, fetching refs that clash with legacy device names reads from the devices, and checking out paths that clash with such names writes arbitrary data to the devices. This allows a repository, when cloned, to cause indefinite blocking or the production of arbitrary message that...

5.4CVSS5.5AI score0.00448EPSS
SaveExploits0References5
osv_rustsec
osv_rustsec
•added 2023/11/01 12:00 p.m.•33 views

RUSTSEC-2023-0069 sudo-rs: Path Traversal vulnerability

Impact An issue was discovered where usernames containing the . and / characters could result in the corruption of specific files on the filesystem. As usernames are generally not limited by the characters they can contain, a username appearing to be a relative path can be constructed. For exampl...

3.1CVSS5.7AI score0.00625EPSS
SaveExploits0References4
osv_rustsec
osv_rustsec
•added 2023/09/13 12:00 p.m.•33 views

RUSTSEC-2023-0062 BER/CER/DER decoder panics on invalid input

Due to insufficient checking of input data, decoding certain data sequences can lead to bcder panicking rather than returning an error. This can affect both the actual decoding stage as well as accessing content of types that utilized delayed decoding. bcder 0.7.3 fixes these issues by more...

7.5CVSS7.3AI score0.00702EPSS
SaveExploits0References4
osv_rustsec
osv_rustsec
•added 2023/08/16 12:00 p.m.•33 views

RUSTSEC-2023-0099 `envlogger` was removed from crates.io for malicious code

This crate was part of a typosquatting malware cluster published by the malicious user amaperf and contained a malware payload in build.rs to exfiltrate host information to the attacker. This advisory is to retrospectively document this attempted attack. The version information and download recor...

5.8AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2023/04/19 12:00 p.m.•33 views

RUSTSEC-2023-0125 Logs AWS credentials when TRACE-level logging is enabled

aws-sigv4 is a rust library for low level request signing in the aws cloud platform. The awssigv4::SigningParams struct had a derived Debug implementation. When debug-formatted, it would include a user's AWS access key, AWS secret key, and security token in plaintext. When TRACE-level logging is...

5.5CVSS5.8AI score0.00214EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2022/11/07 12:00 p.m.•33 views

RUSTSEC-2022-0097 Out of bounds write in `wasmtime_trap_code` C API function

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

3.8CVSS6.6AI score0.00354EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2022/05/10 12:00 p.m.•33 views

RUSTSEC-2022-0042 malicious crate `rustdecimal`

The Rust Security Response WG and the crates.io team were notified1 on 2022-05-02 of the existence of the malicious crate rustdecimal, which contained malware. The crate name was intentionally similar to the name of the popular rustdecimal2 crate, hoping that potential victims would misspell its...

7.1AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/09/17 12:00 p.m.•33 views

RUSTSEC-2021-0110 Multiple Vulnerabilities in Wasmtime

Use after free passing externrefs to Wasm in Wasmtime Out-of-bounds read/write and invalid free with externrefs and GC safepoints in Wasmtime Wrong type for Linker-define functions when used across two Engines...

6.3CVSS6.4AI score0.00361EPSS
SaveExploits0References5
osv_rustsec
osv_rustsec
•added 2021/04/07 12:00 p.m.•33 views

RUSTSEC-2021-0113 AtomicBucket<T> unconditionally implements Send/Sync

In the affected versions of the crate, AtomicBucket unconditionally implements Send/Sync traits. Therefore, users can create a data race to the inner T: !Sync by using the AtomicBucket::datawith API. Such data races can potentially cause memory corruption or other undefined behavior. The flaw was...

8.1CVSS8.1AI score0.00741EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/03/07 12:00 p.m.•33 views

RUSTSEC-2021-0053 'merge_sort::merge()' crashes with double-free for `T: Drop`

In the affected versions of this crate, mergesort::merge wildly duplicates and drops ownership of T without guarding against double-free. Due to such implementation, simply invoking mergesort::merge on Vec can cause double free bugs...

7.5CVSS7.4AI score0.00961EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/02/18 12:00 p.m.•33 views

RUSTSEC-2021-0049 `through` and `through_and` causes a double free if the map function panics

through and throughand take a mutable reference as well as a mapping function to change the provided reference. They do this by calling ptr::read on the reference which duplicates ownership and then calling the mapping function. If the mapping function panics, both the original object and the one...

9.8CVSS9.4AI score0.01326EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2021/02/17 12:00 p.m.•33 views

RUSTSEC-2021-0112 `Read` on uninitialized buffer may cause UB ('tectonic_xdv' crate)

Affected versions of this crate passes an uninitialized buffer to a user-provided Read implementation. Arbitrary Read implementations can read from the uninitialized buffer memory exposure and also can return incorrect number of bytes written to the buffer. Reading from uninitialized memory...

9.8CVSS9.4AI score0.01191EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/01/11 12:00 p.m.•33 views

RUSTSEC-2021-0045 FromIterator implementation for Vector/Matrix can drop uninitialized memory

The FromIterator methods for Vector and Matrix rely on the type parameter N to allocate space in the iterable. If the passed in N type parameter is larger than the number of items returned by the iterator, it can lead to uninitialized memory being left in the Vector or Matrix type which gets...

9.8CVSS9.4AI score0.01326EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2020/12/25 12:00 p.m.•33 views

RUSTSEC-2020-0143 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.1CVSS8AI score0.01098EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2020/12/08 12:00 p.m.•33 views

RUSTSEC-2020-0124 ArcGuard's Send and Sync should have bounds on RC

Affected versions of this crate implement Send/Sync for ArcGuard with no trait bounds on RC. This allows users to send RC: !Send to other threads and also allows users to concurrently access Rc: !Sync from multiple threads. This can result in memory corruption from data race or other undefined...

8.1CVSS8.2AI score0.00766EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2020/08/25 12:00 p.m.•33 views

RUSTSEC-2020-0033 Matrix::new() drops uninitialized memory

Matrix::new internally calls Matrix::fillwith which uses ptr = value pattern to initialize the buffer. This pattern assumes that there is an initialized struct at the address and drops it, which results in dropping of uninitialized struct...

9.8CVSS9.4AI score0.0123EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2020/05/01 12:00 p.m.•33 views

RUSTSEC-2020-0016 `net2` crate has been deprecated; use `socket2` instead

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

7.1AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2019/10/20 12:00 p.m.•33 views

RUSTSEC-2019-0028 Unsound `impl Follow for bool`

The implementation of impl Follow for bool allows to reinterpret arbitrary bytes as a bool. In Rust bool has stringent requirements for its in-memory representation. Use of this function allows to violate these requirements and invoke undefined behaviour in safe code...

9.8CVSS9.5AI score0.00582EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2026/08/20 12:00 p.m.•32 views

RUSTSEC-2026-0261 `aronenao` was removed from crates.io due to malicious code

We identified that aronenao contained malicious code executed through a build script. This crate had 11 versions, with the most recent one being published at 2026-08-18. The crate was removed from crates.io and the user account was locked. This crate was used as part of a malware campaign targete...

5.5AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/08/01 12:00 p.m.•32 views

RUSTSEC-2026-0226 Wallet event parsers accept unauthenticated events

The NIP-47 response and notification parsers and the NIP-60 wallet event parsers decrypted relay-provided events before verifying their kind, computed event ID, signature, and expected wallet public key. The decryption peer was derived from the untrusted event author, so successful decryption did...

7.5CVSS5.5AI score
SaveExploits0References4
osv_rustsec
osv_rustsec
•added 2026/06/04 12:00 p.m.•32 views

RUSTSEC-2026-0167 `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
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/05/21 12:00 p.m.•32 views

RUSTSEC-2026-0208 Potential Panic in AVX2 SHAKE-256

The AVX2-optimized implementation of SHAKE-256 intended for use in ML-KEM and ML-DSA would panic if the length of the output buffers was greater than 32 and not a multiple of 8, due to an out-of-bounds indexing operation. Impact This bug impacts users on AVX2 platforms that use the...

8.2CVSS5.7AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/05/08 12:00 p.m.•32 views

RUSTSEC-2026-0146 `InterfaceAccount` allows account substitution between unexpected types

Affected versions of anchor-lang allowed InterfaceAccount to accept accounts with an unexpected Anchor discriminator. A change to InterfaceAccount caused checked deserialization to be bypassed for this account wrapper, so validation proved only that the account owner matched one of the accepted...

8.7CVSS5.8AI score
SaveExploits0References6
osv_rustsec
osv_rustsec
•added 2025/03/06 12:00 p.m.•32 views

RUSTSEC-2025-0009 Some AES functions may panic when overflow checking is enabled.

ring::aead::quic::HeaderProtectionKey::newmask may panic when overflow checking is enabled. In the QUIC protocol, an attacker can induce this panic by sending a specially-crafted packet. Even unintentionally it is likely to occur in 1 out of every 232 packets sent and/or received. On 64-bit targe...

5.3CVSS7.2AI score0.01029EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2025/02/24 12:00 p.m.•32 views

RUSTSEC-2025-0008 Openh264 Decoding Functions Heap Overflow Vulnerability

OpenH264 recently reported a heap overflow that was fixed in upstream 63db555 and integrated into our 0.6.6 release. For users relying on Cisco's pre-compiled DLL, we also published 0.8.0, which is compatible with their latest fixed DLL version 2.6.0. In other words: - if you rely on our source...

8.6CVSS6.2AI score0.00687EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2024/07/26 12:00 p.m.•32 views

RUSTSEC-2024-0360 `XmpFile::close` can trigger UB

Affected versions of the crate failed to catch C++ exceptions raised within the XmpFile::close function. If such an exception occured, it would trigger undefined behavior, typically a process abort. This is best demonstrated in issue 230, where a race condition causes the close call to fail due t...

7AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2024/05/15 12:00 p.m.•32 views

RUSTSEC-2024-0340 Tor path lengths too short when "full Vanguards" configured

Description When building anonymizing circuits to or from an onion service with full vanguards enabled, the circuit manager code would build the circuits with one hop too few. Impact This makes users of this code more vulnerable to some kinds of traffic analysis when they run or visit onion...

7.3CVSS6.5AI score0.00298EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2023/03/24 12:00 p.m.•32 views

RUSTSEC-2023-0022 `openssl` `X509NameBuilder::build` returned object is not thread safe

OpenSSL has a modified bit that it can set on on X509NAME objects. If this bit is set then the object is not thread-safe even when it appears the code is not modifying the value. Thanks to David Benjamin Google for reporting this issue...

7.2AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2022/12/04 12:00 p.m.•32 views

RUSTSEC-2022-0077 `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...

7.1AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2022/10/22 12:00 p.m.•32 views

RUSTSEC-2022-0067 Invalid use of `mem::uninitialized` causes `use-of-uninitialized-value`

The compression and decompression function used mem:uninitialized to create an array of uninitialized values, to later write values into it. This later leads to reads from uninitialized memory. The flaw was corrected in commit b633bf265e41c60dfce3be7eac4e4dd5e18d06cf by using a heap-allocated Vec...

7AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2022/01/26 12:00 p.m.•32 views

RUSTSEC-2022-0040 Multiple soundness issues in `owning_ref`

OwningRef::mapwithowner is unsound and may result in a use-after-free. - OwningRef::map is unsound and may result in a use-after-free. - OwningRefMut::asowner and OwningRefMut::asownermut are unsound and may result in a use-after-free. - The crate violates Rust's aliasing rules, which may cause...

7.1AI score
SaveExploits0References7
osv_rustsec
osv_rustsec
•added 2021/02/26 12:00 p.m.•32 views

RUSTSEC-2021-0052 Multiple functions can cause double-frees

The following functions in the crate are affected: IdMap::clonefrom The clonefrom implementation for IdMap drops the values present in the map and then begins cloning values from the other map. If a .clone call pancics, then the afformentioned dropped elements can be freed again. getorinsert...

9.8CVSS9.3AI score0.011EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2020/12/10 12:00 p.m.•32 views

RUSTSEC-2020-0148 Multiple soundness issues in `Ptr`

Affected versions of this crate have the following issues: 1. Ptr implements Send and Sync for all types, this can lead to data races by sending non-thread safe types across threads. 2. Ptr::get violates mutable alias rules by returning multiple mutable references to the same object. 3. Ptr::writ...

5.9CVSS5.5AI score0.00978EPSS
SaveExploits3References3
osv_rustsec
osv_rustsec
•added 2020/05/02 12:00 p.m.•32 views

RUSTSEC-2020-0036 failure is officially deprecated/unmaintained

The failure crate is officially end-of-life: it has been marked as deprecated by the former maintainer, who has announced that there will be no updates or maintenance work on it going forward. The following are some suggested actively developed alternatives to switch to: - anyhow - eyre - fehler ...

9.8CVSS9.3AI score0.0293EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2020/04/24 12:00 p.m.•32 views

RUSTSEC-2020-0013 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...

7.1AI score
SaveExploits0References2
osv_rustsec
osv_rustsec
•added 2019/11/16 12:00 p.m.•32 views

RUSTSEC-2019-0034 HeaderMap::Drain API is unsound

Affected versions of this crate incorrectly used raw pointer, which introduced unsoundness in its public safe API. Failing to drop the Drain struct causes double-free, and it is possible to violate Rust's alias rule and cause data race with Drain's Iterator implementation. The flaw was corrected ...

9.8CVSS9.2AI score0.0185EPSS
SaveExploits0References2
osv_rustsec
osv_rustsec
•added 2019/05/15 12:00 p.m.•32 views

RUSTSEC-2019-0004 Failure to properly verify ed25519 signatures makes any signature valid

Affected versions of this crate did not properly verify ed25519 signatures. Any signature with a correct length was considered valid. This allows an attacker to impersonate any node identity...

7.5CVSS7.4AI score0.00765EPSS
SaveExploits0References2
osv_rustsec
osv_rustsec
•added 2026/08/03 12:00 p.m.•31 views

RUSTSEC-2026-0237 `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.3AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/07/08 12:00 p.m.•31 views

RUSTSEC-2026-0220 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
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/07/05 12:00 p.m.•31 views

RUSTSEC-2026-0202 `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
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/04/14 12:00 p.m.•31 views

RUSTSEC-2026-0098 Name constraints for URI names were incorrectly accepted

Name constraints for URI names were ignored and therefore accepted. Note this library does not provide an API for asserting URI names, and URI name constraints are otherwise not implemented. URI name constraints are now rejected unconditionally. Since name constraints are restrictions on otherwis...

2.2CVSS5.9AI score0.00183EPSS
SaveExploits0References2
osv_rustsec
osv_rustsec
•added 2025/12/09 12:00 p.m.•31 views

RUSTSEC-2025-0152 `finch_cli_rust` was removed from crates.io for malicious code

This attempts to typosquat the existing crate finchcli to steal credentials from local files. The malicious crate had 1 version published on 2025-12-08 and had been downloaded 18 times. There were no crates depending on this crate on crates.io. Thanks to Matthias Zepper of NGI Sweden for reportin...

5.5AI score
SaveExploits0References2
osv_rustsec
osv_rustsec
•added 2025/07/18 12:00 p.m.•31 views

RUSTSEC-2025-0046 Host panic with `fd_renumber` WASIp1 function

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

3.3CVSS7AI score0.00354EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2024/01/13 12:00 p.m.•31 views

RUSTSEC-2024-0001 Unsound use of str::from_utf8_unchecked on bytes which are not UTF-8

Affected versions receive a &u8 from the caller through a safe API, and pass it directly to the unsafe str::fromutf8unchecked function. The behavior of ferrissays::say is undefined if the bytes from the caller don't happen to be valid UTF-8. The flaw was corrected in ferris-says21 by using the sa...

7AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2023/12/18 12:00 p.m.•31 views

RUSTSEC-2023-0080 Buffer overflow due to integer overflow in `transpose`

Given the function transpose::transpose: rust fn transposeinput: &T, output: &mut T, inputwidth: usize, inputheight: usize The safety check inputwidth inputheight == output.len can fail due to inputwidth inputheight overflowing in such a way that it equals output.len. As a result of failing the...

5.3CVSS7.5AI score0.00321EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2023/06/11 12:00 p.m.•31 views

RUSTSEC-2023-0042 Ouroboros is Unsound

Summary Ouroboros has a soundness problem, but a fix has been implemented in 0.16.0. More details: In 0.15.0, Ouroboros works internally by creating a struct where all uses of 'this are replaced by 'static. However, a recent addition to Miri checks that references passed to functions are valid...

7AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2023/03/24 12:00 p.m.•31 views

RUSTSEC-2023-0027 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
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2023/01/11 12:00 p.m.•31 views

RUSTSEC-2023-0005 `tokio::io::ReadHalf<T>::unsplit` is Unsound

tokio::io::ReadHalf::unsplit can violate the Pin contract The soundness issue is described in the tokio/issues5372 Specific set of conditions needed to trigger an issue a !Unpin type in ReadHalf is unusual, combined with the difficulty of making any arbitrary use-after-free exploitable in Rust...

7AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2022/02/17 12:00 p.m.•31 views

RUSTSEC-2022-0010 enum_map macro can cause UB when `Enum` trait is incorrectly implemented

Affected versions of this crate did not properly check the length of an enum when using enummap! macro, trusting user-provided length. When the LENGTH in the Enum trait does not match the array length in the EnumArray trait, this can result in the initialization of the enum map with uninitialized...

7.8AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/06/06 12:00 p.m.•31 views

RUSTSEC-2021-0070 VecStorage Deserialize Allows Violation of Length Invariant

The Deserialize implementation for VecStorage did not maintain the invariant that the number of elements must equal nrows ncols. Deserialization of specially crafted inputs could allow memory access beyond allocation of the vector. This flaw was introduced in v0.11.0 086e6e due to the addition of...

9.8CVSS9.4AI score0.01411EPSS
SaveExploits1References3
Total number of security vulnerabilities1310