Lucene search
+L
Osv RustsecMost viewed

1310 matches found

osv_rustsec
osv_rustsec
•added 2022/11/10 12:00 p.m.•74 views

RUSTSEC-2022-0076 Bug in Wasmtime implementation of pooling instance allocator

Bug in Wasmtime's implementation of its pooling instance allocator when the allocator is configured to give WebAssembly instances a maximum of zero pages of memory. In this configuration, the virtual memory mapping for WebAssembly memories did not meet the compiler-required configuration...

7.4CVSS6.4AI score0.00663EPSS
SaveExploits0References4
osv_rustsec
osv_rustsec
•added 2021/08/24 12:00 p.m.•74 views

RUSTSEC-2021-0098 Read buffer overruns processing ASN.1 strings

ASN.1 strings are represented internally within OpenSSL as an ASN1STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are represented as a buffer for the string data which is terminated with a NUL 0 byt...

7.4CVSS6.7AI score0.50445EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2024/07/07 12:00 p.m.•73 views

RUSTSEC-2024-0369 phonenumber: panic on parsing crafted phonenumber inputs

Impact The phonenumber parsing code may panic due to a reachable assert! guard on the phonenumber string. In a typical deployment of rust-phonenumber, this may get triggered by feeding a maliciously crafted phonenumber, e.g. over the network, specifically strings of the form...

8.6CVSS8.7AI score0.00711EPSS
SaveExploits0References4
osv_rustsec
osv_rustsec
•added 2022/09/19 12:00 p.m.•73 views

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

2.3CVSS4.1AI score0.00465EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2022/03/15 12:00 p.m.•73 views

RUSTSEC-2022-0014 Infinite loop in `BN_mod_sqrt()` reachable when parsing certificates

The BNmodsqrt function, which computes a modular square root, contains a bug that can cause it to loop forever for non-prime moduli. Internally this function is used when parsing certificates that contain elliptic curve public keys in compressed form or explicit elliptic curve parameters with a...

7.5CVSS6.7AI score0.73188EPSS
SaveExploits2References3
osv_rustsec
osv_rustsec
•added 2020/09/03 12:00 p.m.•73 views

RUSTSEC-2020-0039 `index()` allows out-of-bound read and `remove()` has off-by-one error

Slab::index does not perform the boundary checking, which leads to out-of-bound read access. Slab::remove copies an element from an invalid address due to off-by-one error, resulting in memory leakage and uninitialized memory drop...

9.1CVSS8.1AI score0.01529EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/08/20 12:00 p.m.•72 views

RUSTSEC-2026-0262 `append-only-vec` 0.1.9 was removed from crates.io due to a malicious dependency

A new version of the append-only-vec crate was published with a direct dependency on proc-macro1, which would execute a malicious build script. The compromised version of this crate was published on 2026-08-20, and was removed approximately 107 minutes later. The compromised crate version was use...

5.6AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2023/09/19 12:00 p.m.•72 views

RUSTSEC-2023-0083 blurhash: panic on parsing crafted blurhash inputs

Impact The blurhash parsing code may panic due to multiple panic-guarded out-of-bounds accesses on untrusted input. In a typical deployment, this may get triggered by feeding a maliciously crafted blurhashes over the network. These may include: - UTF-8 compliant strings containing multi-byte UTF-...

8.6CVSS8AI score0.00624EPSS
SaveExploits0References4
osv_rustsec
osv_rustsec
•added 2022/09/07 12:00 p.m.•72 views

RUSTSEC-2022-0063 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...

8.4CVSS9.1AI score0.00861EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2020/11/13 12:00 p.m.•72 views

RUSTSEC-2020-0092 Send/Sync bound needed on V in `impl Send/Sync for ARCache<K, V>`

Affected versions of this crate unconditionally implemented Send/Sync traits for ARCache type. This allows users to send/access types that do not implement Send/Sync, which can cause a data race. The flaw was corrected in the 0.2.6 release by adding bounds K: Send + Sync & V: Send + Sync to...

4.7CVSS4.5AI score0.00245EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2019/04/27 12:00 p.m.•72 views

RUSTSEC-2019-0001 Uncontrolled recursion leads to abort in HTML serialization

Affected versions of this crate did use recursion for serialization of HTML DOM trees. This allows an attacker to cause abort due to stack overflow by providing a pathologically nested input. The flaw was corrected by serializing the DOM tree iteratively instead...

7.5CVSS7.5AI score0.01411EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2025/11/28 12:00 p.m.•71 views

RUSTSEC-2025-0134 rustls-pemfile is unmaintained

The rustls-pemfile crate is no longer maintained. The repository has been archived since August 2025, and users are encouraged to depend directly on the underlying PEM parsing code included in rustls-pki-types since 1.9.0. The latest version of rustls-pemfile is in fact a thin wrapper around the...

7.1AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2022/05/21 12:00 p.m.•71 views

RUSTSEC-2022-0031 Panic due to improper UTF-8 indexing

When parsing untrusted rulex expressions, rulex may panic, possibly enabling a Denial of Service attack. This happens when the expression contains a multi- byte UTF-8 code point in a string literal or after a backslash, because rulex tries to slice into the code point and panics as a result. The...

6.5CVSS6.4AI score0.00857EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2020/08/31 12:00 p.m.•71 views

RUSTSEC-2020-0037 Misbehaving `HandleLike` implementation can lead to memory safety violation

Unsafe code in ObjectPool has time-of-check to time-of-use TOCTOU bug that can eventually lead to a memory safety violation. ObjectPool and HandlePool implicitly assumes that HandleLike trait methods are pure, i.e., they always return the same value. However, this assumption is unsound since...

8.1CVSS8.1AI score0.00881EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2020/03/19 12:00 p.m.•71 views

RUSTSEC-2020-0008 Flaw in hyper allows request smuggling by sending a body in GET requests

Vulnerable versions of hyper allow GET requests to have bodies, even if there is no Transfer-Encoding or Content-Length header. As per the HTTP 1.1 specification, such requests do not have bodies, so the body will be interpreted as a separate HTTP request. This allows an attacker who can control...

9.8CVSS9.5AI score0.02974EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2020/01/24 12:00 p.m.•71 views

RUSTSEC-2020-0048 Use-after-free in BodyStream due to lack of pinning

Affected versions of this crate did not require the buffer wrapped in BodyStream to be pinned, but treated it as if it had a fixed location in memory. This may result in a use-after-free. The flaw was corrected by making the trait MessageBody require Unpin and making pollnext function accept Pin...

7.5CVSS7.4AI score0.01423EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2026/06/11 12:00 p.m.•70 views

RUSTSEC-2026-0176 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
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/06/16 12:00 p.m.•70 views

RUSTSEC-2021-0081 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.5CVSS7.4AI score0.0181EPSS
SaveExploits1References2
osv_rustsec
osv_rustsec
•added 2021/05/21 12:00 p.m.•70 views

RUSTSEC-2021-0067 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.8CVSS8.7AI score0.00455EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2021/03/05 12:00 p.m.•70 views

RUSTSEC-2021-0037 Fix a use-after-free bug in diesels Sqlite backend

We've misused sqlite3columnname. The SQLite documentation states that the following: The returned string pointer is valid until either the prepared statement is destroyed by sqlite3finalize or until the statement is automatically reprepared by the first call to sqlite3step for a particular run or...

9.8CVSS9.3AI score0.01319EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/01/10 12:00 p.m.•70 views

RUSTSEC-2021-0009 panic safety issue in `impl TransformContent<S, D> for [S; (2|3|4)]`

Affected versions of this crate did not guard against double drop while temporarily duplicating objects' ownership using ptr::read. Upon panic in a user-provided function conversion, objects that are copied by ptr::read are dropped twice, leading to memory corruption. The flaw was corrected in...

7.5CVSS7.4AI score0.01343EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2026/07/06 12:00 p.m.•69 views

RUSTSEC-2026-0204 Invalid pointer dereference in `fmt::Pointer` impl for `Atomic` and `Shared` when the underlying pointer is invalid

Affected versions of fmt::Display dereference the underlying pointer. This causes a invalid pointer dereference e.g., when a pointer created with Atomic::null or Shared::null. fmt::Debug impls and pre-0.9 fmt::Display impls, which do not dereference pointers, are not affected by this issue...

5.9AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2024/02/28 12:00 p.m.•69 views

RUSTSEC-2024-0017 Non-idiomatic use of iterators leads to use after free

Code that attempts to use an item e.g., a row returned by an iterator after the iterator has advanced to the next item will be accessing freed memory and experience undefined behaviour. Code that uses the item and then advances the iterator is unaffected. This problem has always existed. This is ...

7.5CVSS7.5AI score0.00817EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/09/27 12:00 p.m.•69 views

RUSTSEC-2021-0119 Out-of-bounds write in nix::unistd::getgrouplist

On certain platforms, if a user has more than 16 groups, the nix::unistd::getgrouplist function will call the libc getgrouplist function with a length parameter greater than the size of the buffer it provides, resulting in an out-of-bounds write and memory corruption. The libc getgrouplist functi...

9.8CVSS9.5AI score0.0165EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/03/04 12:00 p.m.•69 views

RUSTSEC-2021-0035 `quinn` invalidly assumes the memory layout of std::net::SocketAddr

The quinn 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. The standard library does not say anything about the...

7.5CVSS7.4AI score0.0125EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/01/31 12:00 p.m.•69 views

RUSTSEC-2021-0051 KeyValueReader passes uninitialized memory to Read instance

The KeyValueReader type in affected versions of this crate set up an uninitialized memory buffer and passed them to be read in to a user-provided Read instance. The Read instance could read uninitialized memory and cause undefined behavior and miscompilations. This issue was fixed in commit dd59b...

9.8CVSS9.3AI score0.011EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/01/30 12:00 p.m.•69 views

RUSTSEC-2021-0017 `Read` on uninitialized buffer may cause UB (`impl Walue for Vec<u8>`)

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...

7.5CVSS7.4AI score0.01489EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2020/01/06 12:00 p.m.•69 views

RUSTSEC-2020-0001 Stack overflow when resolving additional records from MX or SRV null targets

There's a stack overflow leading to a crash and potential DOS when processing additional records for return of MX or SRV record types from the server. This is only possible when a zone is configured with a null target for MX or SRV records, i.e. '.'. Example effected zone record: text no-service...

7.5CVSS7.6AI score0.01456EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2018/07/19 12:00 p.m.•69 views

RUSTSEC-2018-0003 Possible double free during unwinding in SmallVec::insert_many

If an iterator passed to SmallVec::insertmany panicked in Iterator::next, destructors were run during unwinding while the vector was in an inconsistent state, possibly causing a double free a destructor running on two copies of the same value. This is fixed in smallvec 0.6.3 by ensuring that the...

9.8CVSS8.4AI score0.01848EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2022/10/25 12:00 p.m.•68 views

RUSTSEC-2022-0083 evm incorrect state transition

SputnikVM, also called evm, is a Rust implementation of Ethereum Virtual Machine. A custom stateful precompile can use the isstatic parameter to determine if the call is executed in a static context via STATICCALL, and thus decide if stateful operations should be done. Prior to version 0.36.0, th...

7.5CVSS6.3AI score0.00605EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/12/14 12:00 p.m.•68 views

RUSTSEC-2021-0129 Invalid handling of `X509_verify_cert()` internal errors in libssl

Internally libssl in OpenSSL calls X509verifycert on the client side to verify a certificate supplied by a server. That function may return a negative return value to indicate an internal error for example out of memory. Such a negative return value is mishandled by OpenSSL and will cause an IO...

7.5CVSS7.2AI score0.50099EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2020/04/24 12:00 p.m.•68 views

RUSTSEC-2020-0012 Relies on undefined behavior of `char::from_u32_unchecked`

The Windows implementation of this crate relied on the behavior of std::char::fromu32unchecked when its safety clause is violated. Even though this worked with Rust versions up to 1.42 at least, that behavior could change with any new Rust version, possibly leading a security issue. The flaw was...

7.5CVSS7.6AI score0.01352EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2020/03/27 12:00 p.m.•68 views

RUSTSEC-2020-0007 use-after or double free of allocated memory

Conversion of BitVec to BitBox did not account for allocation movement. The flaw was corrected by using the address after resizing, rather than the original base address...

9.8CVSS9.4AI score0.01649EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2020/03/24 12:00 p.m.•68 views

RUSTSEC-2020-0006 Flaw in `realloc` allows reading unknown memory

When reallocing, if we allocate new space, we need to copy the old allocation's bytes into the new space. There are oldsize number of bytes in the old allocation, but we were accidentally copying newsize number of bytes, which could lead to copying bytes into the realloc'd space from past the chu...

7.5CVSS7.3AI score0.01509EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2024/08/22 12:00 p.m.•67 views

RUSTSEC-2024-0364 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...

2.5CVSS4.8AI score0.00198EPSS
SaveExploits0References6
osv_rustsec
osv_rustsec
•added 2020/11/10 12:00 p.m.•67 views

RUSTSEC-2020-0137 AtomicBox<T> lacks bound on its Send and Sync traits allowing data races

AtomicBox is a Box type designed to be used across threads, however, it implements the Send and Sync traits for all types T. This allows non-Send types such as Rc and non-Sync types such as Cell to be used across thread boundaries which can trigger undefined behavior and memory corruption...

8.1CVSS7.9AI score0.0124EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2019/10/22 12:00 p.m.•67 views

RUSTSEC-2019-0029 ChaCha20 counter overflow can expose repetitions in the keystream

The ChaCha20 stream cipher can produce a maximum of 2^32 blocks 256GB before the 32-bit counter overflows. Releases of the chacha20 crate prior to v0.2.3 allow generating keystreams larger than this, including seeking past the limit. When this occurs, the keystream is duplicated, with failure mod...

7.5CVSS7.4AI score0.01325EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/06/28 12:00 p.m.•66 views

RUSTSEC-2026-0192 `ttf-parser` is unmaintained

The author of ttf-parser has stated that the crate is unmaintained and will not receive further fixes see the referenced issue. Alternatives - skrifa, an actively maintained TrueType and OpenType font parsing crate, part of the Google Fonts "oxidize" fontations project...

5.8AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2022/07/05 12:00 p.m.•66 views

RUSTSEC-2022-0033 Heap memory corruption with RSA private key operation

The OpenSSL 3.0.4 release introduced a serious bug in the RSA implementation for X8664 CPUs supporting the AVX512IFMA instructions. This issue makes the RSA implementation with 2048 bit private keys incorrect on such machines and memory corruption will happen during the computation. As a...

10CVSS8.9AI score0.48234EPSS
SaveExploits3References3
osv_rustsec
osv_rustsec
•added 2018/09/17 12:00 p.m.•66 views

RUSTSEC-2018-0006 Uncontrolled recursion leads to abort in deserialization

Affected versions of this crate did not prevent deep recursion while deserializing data structures. This allows an attacker to make a YAML file with deeply nested structures that causes an abort while deserializing it. The flaw was corrected by checking the recursion depth. Note: clap 2.33 is not...

7.5CVSS7.5AI score0.01411EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2022/09/29 12:00 p.m.•65 views

RUSTSEC-2022-0085 matrix-sdk Impersonation of room keys

When the user receives a forwarded room key, the software accepts it without checking who the room key came from. This allows homeservers to try to insert room keys of questionable validity, potentially mounting an impersonation attack...

7.5CVSS7.8AI score0.0063EPSS
SaveExploits0References4
osv_rustsec
osv_rustsec
•added 2021/07/13 12:00 p.m.•65 views

RUSTSEC-2021-0076 libsecp256k1 allows overflowing signatures

libsecp256k1 accepts signatures whose R or S parameter is larger than the secp256k1 curve order, which differs from other implementations. This could lead to invalid signatures being verified. The error is resolved in 0.5.0 by adding a checkoverflow flag...

9.8CVSS9.3AI score0.00935EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2021/02/03 12:00 p.m.•65 views

RUSTSEC-2021-0018 insert_slice_clone can double drop if Clone panics.

Affected versions of this crate used ptr::copy when inserting into the middle of a Vec. When ownership was temporarily duplicated during this copy, it calls the clone method of a user provided element. This issue can result in an element being double-freed if the clone call panics. Commit 20cb73d...

5.3CVSS5AI score0.01359EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2021/01/07 12:00 p.m.•65 views

RUSTSEC-2021-0007 `Frame::copy_from_raw_parts` can lead to segfault without `unsafe`

fn Frame::copyfromrawparts is a safe API that can take a raw pointer and dereference it. It is possible to read arbitrary memory address with an arbitrarily fed pointer. This allows the safe API to access & read arbitrary address in memory. Feeding an invalid memory address pointer to the API may...

7.5CVSS7.3AI score0.01343EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2021/01/02 12:00 p.m.•65 views

RUSTSEC-2021-0008 reading on uninitialized buffer can cause UB (`impl<R> BufRead for GreedyAccessReader<R>`)

Affected versions of this crate creates an uninitialized buffer and passes it to user-provided Read implementation. This is unsound, because it allows safe Rust code to exhibit an undefined behavior read from uninitialized memory. The flaw was corrected in version 0.1.1 by zero-initializing a new...

9.1CVSS9.2AI score0.01662EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2020/11/14 12:00 p.m.•65 views

RUSTSEC-2020-0131 Send/Sync bound needed on T for Send/Sync impl of RcuCell<T>

Affected versions of this crate unconditionally implement Send/Sync for RcuCell. This allows users to send T: !Send to other threads while T enclosed within RcuCell, and allows users to concurrently access T: !Sync by using the APIs of RcuCell that provide access to &T. This can result in memory...

8.1CVSS8.2AI score0.01249EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2020/05/28 12:00 p.m.•65 views

RUSTSEC-2020-0017 Use after free in ArcIntern::drop

ArcIntern::drop has a race condition where it can release memory which is about to get another user. The new user will get a reference to freed memory. This was fixed by serializing access to an interned object while it is being deallocated. Versions prior to 0.3.12 used stronger locking which...

8.1CVSS7.9AI score0.00969EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2023/12/08 12:00 p.m.•64 views

RUSTSEC-2023-0073 Infinite decoding loop through specially crafted payload

The Candid library causes a Denial of Service while parsing a specially crafted payload with empty data type. For example, if the payload is record ; empty and the canister interface expects record then the rust candid decoder treats empty as an extra field required by the type. The problem with...

7.5CVSS7.4AI score0.01212EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2022/11/01 12:00 p.m.•64 views

RUSTSEC-2022-0064 X.509 Email Address 4-byte Buffer Overflow

A buffer overrun can be triggered in X.509 certificate verification, specifically in name constraint checking. Note that this occurs after certificate chain signature verification and requires either a CA to have signed the malicious certificate or for the application to continue certificate...

7.5CVSS8AI score0.9077EPSS
SaveExploits6References3
osv_rustsec
osv_rustsec
•added 2022/07/28 12:00 p.m.•64 views

RUSTSEC-2022-0038 Denial of service on deeply nested fragment requests

Deeply nested fragments in a GraphQL request may cause a stack overflow in the server...

7.5CVSS7.6AI score0.01672EPSS
SaveExploits1References3
Total number of security vulnerabilities1310