Lucene search
+L
Osv RustsecMost viewed

1310 matches found

osv_rustsec
osv_rustsec
•added 2023/01/09 12:00 p.m.•39 views

RUSTSEC-2023-0004 bzip2 Denial of Service (DoS)

Working with specific payloads can cause a Denial of Service DoS vector. Both Decompress and Compress implementations can enter into infinite loops given specific payloads entered that trigger it. The issue is described in great detail in the bzip2 repository issue. Thanks to bjrjk for finding an...

7.5CVSS7.2AI score0.01212EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2022/05/11 12:00 p.m.•39 views

RUSTSEC-2022-0054 wee_alloc is Unmaintained

Two of the maintainers have indicated that the crate may not be maintained. The crate has open issues including memory leaks and may not be suitable for production use. It may be best to switch to the default Rust standard allocator on wasm32 targets. Last release seems to have been three years...

7.2AI score
SaveExploits0References6
osv_rustsec
osv_rustsec
•added 2021/06/12 12:00 p.m.•39 views

RUSTSEC-2021-0071 `grep-cli` may run arbitrary executables on Windows

On Windows in versions of grep-cli prior to 0.1.6, it's possible for some of the routines to execute arbitrary executables. In particular, a quirk of the Windows process execution API is that it will automatically consider the current directory before other directories when resolving relative...

9.8CVSS8.7AI score0.01934EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/05/04 12:00 p.m.•39 views

RUSTSEC-2021-0063 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.1CVSS6.2AI score0.00741EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2021/02/21 12:00 p.m.•39 views

RUSTSEC-2021-0026 XSS in `comrak`

The comrak we were matching unsafe URL prefixes, such as data: or javascript: , in a case-sensitive manner. This meant prefixes like Data: were untouched...

6.1CVSS6.1AI score0.00686EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/01/03 12:00 p.m.•39 views

RUSTSEC-2021-0085 'Read' on uninitialized memory may cause UB

Affected versions of this crate passes an uninitialized buffer to a user-provided Read implementation. The crate currently contains 4 occurrences of such cases. Arbitrary Read implementations can read from the uninitialized buffer memory exposure and also can return incorrect number of bytes...

9.8CVSS9.4AI score0.01191EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2020/12/31 12:00 p.m.•39 views

RUSTSEC-2020-0103 `impl Random` on arrays can lead to dropping uninitialized memory

Affected versions of this crate had a panic safety issue to drop partially uninitialized array of T upon panic in a user provided function T::random. Dropping uninitialized T can potentially cause memory corruption or undefined behavior. The flaw was corrected in commit 565d508 by using MaybeUnin...

7.8CVSS7.9AI score0.00431EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2020/12/19 12:00 p.m.•39 views

RUSTSEC-2020-0106 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. The flaw was correcte...

5.9CVSS5.7AI score0.01121EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2020/12/18 12:00 p.m.•39 views

RUSTSEC-2020-0112 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.9CVSS5.5AI score0.01121EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2026/08/11 12:00 p.m.•38 views

RUSTSEC-2026-0252 Panic-safety unsoundness in `SplitVec::extend_from_slice` (uninitialized read)

SplitVec::extendfromslice increments the logical length self.len before cloning the incoming elements into the reserved slots. If an element's Clone panics mid-fill, unwinding leaves self.len counting slots that were never initialized. A later safe read get, indexing, iter then reads one of those...

5.3AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/05/29 12:00 p.m.•38 views

RUSTSEC-2026-0151 Out-of-bounds writes due to integer overflow in jxl-grid on 32-bit platforms

On 32-bit platforms, decoding a crafted image may lead to out-of-bounds writes due to integer overflow in length calculation. This could allow arbitrary code execution. Details & PoC The test listed below fail under miri with command cargo +nightly miri test --release -p jxl-grid Or you can use...

7.3CVSS6.7AI score0.00174EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2024/01/02 12:00 p.m.•38 views

RUSTSEC-2024-0002 `serde` deserialization for `FamStructWrapper` lacks bound checks that could potentially lead to out-of-bounds memory access

Impact An issue was discovered in the FamStructWrapper::deserialize implementation provided by the crate for vmmsysutil::fam::FamStructWrapper, which can lead to out of bounds memory accesses. The deserialization does not check that the length stored in the header matches the flexible array lengt...

5.7CVSS7.4AI score0.00652EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2022/02/05 12:00 p.m.•38 views

RUSTSEC-2022-0041 Unsoundness of AtomicCell<*64> arithmetics on 32-bit targets that support Atomic*64

Impact Affected versions of this crate incorrectly assumed that the alignment of i,u64 was always the same as AtomicI,U64. However, the alignment of i,u64 on a 32-bit target can be smaller than AtomicI,U64. This can cause the following problems: - Unaligned memory accesses - Data race Crates usin...

8.1CVSS7.4AI score0.01229EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2021/01/04 12:00 p.m.•38 views

RUSTSEC-2021-0001 XSS in mdBook's search page

This is a cross-post of the official security advisoryml. The official post contains a signed version with our PGP key, as well. ml: https://groups.google.com/g/rustlang-security-announcements/c/3-sO6of29O0 The Rust Security Response Working Group was recently notified of a security issue affecti...

6.1CVSS6.7AI score0.0127EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2020/12/31 12:00 p.m.•38 views

RUSTSEC-2020-0154 InputStream::read_exact : `Read` on uninitialized buffer causes UB

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 2020/12/18 12:00 p.m.•38 views

RUSTSEC-2020-0152 ImmediateIO and TransactionalIO can cause data races

The ImmediateIO and TransactionalIO types implement Sync for all contained Expander types regardless of if the Expander itself is safe to use across threads. As the IO types allow retrieving the Expander, this can lead to non-thread safe types being sent across threads as part of the Expander...

5.9CVSS5.6AI score0.00978EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2020/12/10 12:00 p.m.•38 views

RUSTSEC-2020-0141 MvccRwLock allows data races & aliasing violations

Affected versions of this crate unconditionally implement Send/Sync for MvccRwLock. This can lead to data races when types that are either !Send or !Sync e.g. Rc, Arc are contained inside MvccRwLock and sent across thread boundaries. The data races can potentially lead to memory corruption as...

8.1CVSS8.2AI score0.0124EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2020/11/16 12:00 p.m.•38 views

RUSTSEC-2020-0151 Generators can cause data races if non-Send types are used in their generator functions

The Generator type is an iterable which uses a generator function that yields values. In affected versions of the crate, the provided function yielding values had no Send bounds despite the Generator itself implementing Send. The generator function lacking a Send bound means that types that are...

5.9CVSS5.4AI score0.01094EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2018/06/08 12:00 p.m.•38 views

RUSTSEC-2018-0019 Multiple memory safety issues

Affected versions contain multiple memory safety issues, such as: - Unsoundly coercing immutable references to mutable references - Unsoundly extending lifetimes of strings - Adding the Send marker trait to objects that cannot be safely sent between threads This may result in a variety of memory...

9.8CVSS9.7AI score0.01324EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/05/27 12:00 p.m.•37 views

RUSTSEC-2026-0152 Use-after-free

Affected versions of oneringbuf exposed the obsolete IntoRef::intoref method through the public IntoRef trait. For heap-backed ring buffers, this method returned a DroppableRef handle. DroppableRef stored an owning raw pointer created from Box::intoraw. Its Clone implementation copied this raw...

5.9AI score
SaveExploits0References4
osv_rustsec
osv_rustsec
•added 2026/03/11 12:00 p.m.•37 views

RUSTSEC-2026-0174 `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
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2025/09/11 12:00 p.m.•37 views

RUSTSEC-2025-0068 serde_yml crate is unsound and unmaintained

Using serdeyml::ser::Serializer.emitter can cause a segmentation fault, which is unsound. The GitHub project for serdeyml was archived after unsoundness issues were raised. If you rely on this crate, it is highly recommended switching to a maintained alternative. Recommended alternatives -...

7AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2024/08/23 12:00 p.m.•37 views

RUSTSEC-2024-0365 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 Diesel Gitter Channel: 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...

8.5AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2023/09/01 12:00 p.m.•37 views

RUSTSEC-2023-0056 Default functions in VolatileMemory trait lack bounds checks, potentially leading to out-of-bounds memory accesses

An issue was discovered in the default implementations of the VolatileMemory::getatomicref, alignedasref, alignedasmut, getref, getarrayref trait functions, which allows out-of-bounds memory access if the VolatileMemory::getslice function returns a VolatileSlice whose length is less than the...

2.5CVSS4AI score0.00255EPSS
SaveExploits0References4
osv_rustsec
osv_rustsec
•added 2021/11/14 12:00 p.m.•37 views

RUSTSEC-2021-0125 Panic on incorrect date input to `simple_asn1`

Version 0.6.0 of the simpleasn1 crate panics on certain malformed inputs to its parsing functions, including fromder and derdecode. Because this crate is frequently used with inputs from the network, this should be considered a security vulnerability. The issue occurs when parsing the old ASN.1...

7.5CVSS7.4AI score0.0134EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/07/25 12:00 p.m.•37 views

RUSTSEC-2021-0109 Process crashes when the cell used as DepGroup is not alive

It's easy to create a malign transaction which uses the dead cell as the DepGroup in the DepCells. The transaction can crash all the receiving nodes...

7.8CVSS7.3AI score0.01088EPSS
SaveExploits0References2
osv_rustsec
osv_rustsec
•added 2020/12/18 12:00 p.m.•37 views

RUSTSEC-2020-0098 UsbContext trait did not require implementers to be Send and Sync.

Affected versions of rusb did not require UsbContext to implement Send and Sync. However, through Device and DeviceHandle it is possible to use UsbContexts across threads. This issue allows non-thread safe UsbContext types to be used concurrently leading to data races and memory corruption. The...

7CVSS6.7AI score0.00289EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2019/10/03 12:00 p.m.•37 views

RUSTSEC-2019-0025 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.5CVSS7.3AI score0.01409EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2018/11/27 12:00 p.m.•37 views

RUSTSEC-2018-0013 Vec-to-vec transmutations could lead to heap overflow/corruption

Affected versions of this crate switched the length and capacity arguments in the Vec::fromrawparts constructor, which could lead to memory corruption or data leakage. The flaw was corrected by using the constructor correctly...

9.8CVSS9.5AI score0.01977EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2016/09/10 12:00 p.m.•37 views

RUSTSEC-2016-0004 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
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2016/08/01 12:00 p.m.•37 views

RUSTSEC-2016-0003 HTTP download and execution allows MitM RCE

The build script in the portaudio crate will attempt to download via HTTP the portaudio source and build it. A Mallory in the middle can intercept the download with their own archive and get RCE...

5.9CVSS5.6AI score0.01078EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/07/06 12:00 p.m.•36 views

RUSTSEC-2026-0203 `tree-sitter-perl-next` is unmaintained

The author of tree-sitter-perl-next has stated that the crate is unmaintained and will not receive further fixes see the repo's readme. Alternatives - ts-parser-perl , an actively maintained tree-sitter Perl grammar that tree-sitter-perl-next initially forked...

6AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/07/01 12:00 p.m.•36 views

RUSTSEC-2026-0196 `cgmath` is unmaintained

The cgmath crate is no longer maintained. Users should consider switching to a maintained alternative...

6AI score
SaveExploits0References4
osv_rustsec
osv_rustsec
•added 2025/12/24 12:00 p.m.•36 views

RUSTSEC-2025-0143 Unsound APIs of public `constant::Reader` and `StructSchema`

The safe API functions constant::Reader::get and StructSchema::new rely on PointerReader::getrootunchecked, which can cause undefined behavior UB by constructing arbitrary words or schemas. Reader::get rust pub fn get&self - Result::Reader // ... // UNSAFE: access words without validation...

6AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2023/04/14 12:00 p.m.•36 views

RUSTSEC-2023-0034 Resource exhaustion vulnerability in h2 may lead to Denial of Service (DoS)

If an attacker is able to flood the network with pairs of HEADERS/RSTSTREAM frames, such that the h2 application is not able to accept them faster than the bytes are received, the pending accept queue can grow in memory usage. Being able to do this consistently can result in excessive memory use,...

7.5CVSS7.6AI score0.01121EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2023/02/07 12:00 p.m.•36 views

RUSTSEC-2023-0013 `NULL` dereference during PKCS7 data verification

A NULL pointer can be dereferenced when signatures are being verified on PKCS7 signed or signedAndEnveloped data. In case the hash algorithm used for the signature is known to the OpenSSL library but the implementation of the hash algorithm is not available the digest initialization will fail...

7.5CVSS7.7AI score0.01846EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/09/08 12:00 p.m.•36 views

RUSTSEC-2021-0100 Miscomputed results when using AVX2 backend

The v0.9.7 release of the sha2 crate introduced a new AVX2-accelerated backend which was automatically enabled for all x86/x8664 CPUs where AVX2 support was autodetected at runtime. This backend was buggy and would miscompute results for long messages i.e. messages spanning multiple SHA blocks. T...

9.8CVSS9.4AI score0.00805EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/06/11 12:00 p.m.•36 views

RUSTSEC-2021-0156 Triton VM Soundness Vulnerability due to Missing Constraint

The instruction spongeabsorbmem Triton VM fails to verify that hashed values come from the claimed memory location. Malicious provers can substitute arbitrary data instead of actual memory contents. Any application using instruction spongeabsorbmem to hash memory data can be given a proof for a...

5.6AI score
SaveExploits0References2
osv_rustsec
osv_rustsec
•added 2021/03/06 12:00 p.m.•36 views

RUSTSEC-2021-0038 Multiple memory safety issues

Affected versions contain multiple memory safety issues, such as: - Setting a multi label type where an image doesn't exist would lead to a NULL pointer dereference. - Setting a window icon using a non-raster image which FLTK rasterizes lazily would lead to a NULL dereference. - Pixmap constructo...

9.1CVSS8.3AI score0.01278EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/02/19 12:00 p.m.•36 views

RUSTSEC-2021-0028 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.8CVSS8.5AI score0.01295EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/01/07 12:00 p.m.•36 views

RUSTSEC-2021-0090 Reading on uninitialized memory may cause UB ( `util::read_spv()` )

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.01345EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2020/11/06 12:00 p.m.•36 views

RUSTSEC-2020-0079 `socket2` invalidly assumes the memory layout of std::net::SocketAddr

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

5.5CVSS5.2AI score0.00404EPSS
SaveExploits2References3
osv_rustsec
osv_rustsec
•added 2020/08/18 12:00 p.m.•36 views

RUSTSEC-2020-0030 Missing sanitization in mozwire allows local file overwrite of files ending in .conf

The client software downloaded a list of servers from mozilla's servers and created local files named after the hostname field in the json document. No verification of the content of the string was made, and it could therefore have included '../' leading to path traversal. This allows an attacker...

9.1CVSS8.9AI score0.01525EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2020/06/14 12:00 p.m.•36 views

RUSTSEC-2020-0029 Allows viewing and modifying arbitrary structs as bytes

Affected versions of rgb crate allow viewing and modifying data of any type T wrapped in RGB as bytes, and do not correctly constrain RGB and other wrapper structures to the types for which it is safe to do so. Safety violation possible for a type wrapped in RGB and similar wrapper structures: If...

9.1CVSS9.3AI score0.01595EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2026/08/16 12:00 p.m.•35 views

RUSTSEC-2026-0288 cosmian_kyber: AVX2 backend skips Fujisaki-Okamoto implicit rejection, enabling chosen-ciphertext key recovery

Summary cosmiankyber is a fork of Argyle-Software/kyber and inherits a broken constant-time conditional-move routine cmov in its AVX2 backend. When built with the opt-in avx2 feature on x8664, cmov is a no-op: it never performs the copy. That cmov is the step that applies the Fujisaki-Okamoto FO...

7.4CVSS5.8AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/06/03 12:00 p.m.•35 views

RUSTSEC-2026-0171 `logflux` was removed from crates.io for malicious code

The logflux crate attempted to download and run a malicious payload on the user's machine. The malicious crate had 1 version published on 2026-04-26, approximately 1 month before removal, and had no evidence of actual usage. This crate had no dependencies on crates.io. Thanks to Paweł Bis for...

5.8AI score
SaveExploits0References2
osv_rustsec
osv_rustsec
•added 2026/06/03 12:00 p.m.•35 views

RUSTSEC-2026-0158 Incomplete message edit validation in matrix-sdk-ui

The message edit validation logic in the matrix-sdk-ui crate before 0.16.1 is missing a check: when replacing an encrypted event, the replacement event itself is not required to be encrypted. This enables a malicious homeserver administrator or an actor with equivalent power to impersonate or spo...

4.9CVSS5.9AI score0.00233EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/04/07 12:00 p.m.•35 views

RUSTSEC-2026-0082 zantetsu-ffi is unmaintained

The zantetsu-ffi crate is no longer maintained. The Node.js, Python, and C FFI bindings it provided were removed as part of the zantetsu 0.2 release, which refocused the project on its core Rust library. A tombstone version 0.2.0 has been published and 0.1.4 has been yanked. There is no replaceme...

5.7AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2024/07/21 12:00 p.m.•35 views

RUSTSEC-2024-0357 `MemBio::get_buf` has undefined behavior with empty buffers

Previously, MemBio::getbuf called slice::fromrawparts with a null-pointer, which violates the functions invariants, leading to undefined behavior. In debug builds this would produce an assertion failure. This is now fixed...

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

RUSTSEC-2023-0030 `Versionize::deserialize` implementation for `FamStructWrapper<T>` is lacking bound checks, potentially leading to out of bounds memory accesses

An issue was discovered in the Versionize::deserialize implementation provided by the versionize crate for vmmsysutil::fam::FamStructWrapper, which can lead to out of bounds memory accesses. The impact started with version 0.1.1. The issue was corrected in version 0.1.10 by inserting a check that...

5.7CVSS6.2AI score0.00556EPSS
SaveExploits0References3
Total number of security vulnerabilities1310