Lucene search
+L
Osv RustsecRecent

1310 matches found

osv_rustsec
osv_rustsec
•added 2021/01/07 12:00 p.m.•47 views

RUSTSEC-2021-0027 Loading a bgzip block can write out of bounds if size overflows.

Affected versions of bam set the length of an internal buffer using self.compressed.setlenblocksize - HEADERSIZE - MINEXTRASIZE and then wrote into it. While blocksize was constrained to a proper maximum, when it was too small the subtraction could overflow negatively to a large number past the...

9.8CVSS9.8AI score0.01295EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/01/07 12:00 p.m.•30 views

RUSTSEC-2021-0091 Reading on uninitialized buffer may cause UB ( `gfx_auxil::read_spirv()` )

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/07 12:00 p.m.•39 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 2021/01/07 12:00 p.m.•64 views

RUSTSEC-2021-0086 `Read` on uninitialized buffer may cause UB ( `read_entry()` )

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

9.8CVSS9.4AI score0.01191EPSS
SaveExploits0References4
osv_rustsec
osv_rustsec
•added 2021/01/06 12:00 p.m.•54 views

RUSTSEC-2021-0015 `Sectors::get` accesses unclaimed/uninitialized memory

Affected versions of this crate arbitrarily calls Vec::setlen to increase length of a vector without claiming more memory for the vector. Affected versions of this crate also calls user-provided Read on the uninitialized memory of the vector that was extended with Vec::setlen. This can overwrite...

9.8CVSS9.4AI score0.01728EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2021/01/05 12:00 p.m.•44 views

RUSTSEC-2021-0088 `Read` on uninitialized memory may cause UB (fn preamble_skipcount())

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

9.8CVSS9.4AI score0.01191EPSS
SaveExploits0References4
osv_rustsec
osv_rustsec
•added 2021/01/04 12:00 p.m.•39 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 2021/01/04 12:00 p.m.•58 views

RUSTSEC-2021-0011 EventList's From<EventList> conversions can double drop on panic.

Affected versions of this crate read from a container using ptr::read in From, and then call a user specified Into function. This issue can result in a double-free if the user provided function panics...

7.5CVSS7.4AI score0.01343EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2021/01/04 12:00 p.m.•22 views

RUSTSEC-2021-0002 interfaces2 is unmaintained, use interfaces instead

The interfaces2 crate is not maintained any more; use interfaces instead...

7.2AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/01/04 12:00 p.m.•55 views

RUSTSEC-2021-0039 panic in user-provided `Endian` impl triggers double drop of T

Affected versions of the crate does not guard against panic from user-provided impl of Endian trait, which is a safe trait that users can implement. If a user-provided implementation of the Endian trait panics, double-drop is triggered due to the duplicated ownership of T created by ptr::read...

7.5CVSS7.6AI score0.01135EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2021/01/04 12:00 p.m.•45 views

RUSTSEC-2021-0143 kamadak-exif DoS with untrusted PNG data

Attacker crafted data can cause a infinite loop leading to DoS if used with untrusted data...

6.5CVSS6.2AI score0.01534EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/01/03 12:00 p.m.•61 views

RUSTSEC-2021-0084 `Read` on uninitialized buffer can cause UB (impl of `ReadKVExt`)

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/03 12:00 p.m.•42 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 2021/01/02 12:00 p.m.•66 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 2021/01/02 12:00 p.m.•48 views

RUSTSEC-2021-0012 Reading uninitialized memory can cause UB (`Deserializer::read_vec`)

Deserializer::readvec created an uninitialized buffer and passes it to a user-provided Read implementation Deserializer.reader.readexact. Passing an uninitialized buffer to an arbitrary Read implementation is currently defined as undefined behavior in Rust. Official documentation for the Read tra...

9.8CVSS9.4AI score0.01688EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2021/01/01 12:00 p.m.•89 views

RUSTSEC-2021-0006 Exposes internally used raw pointer

Affected versions of this crate dereference a raw pointer that can be modified without using unsafe code...

7.5CVSS7.4AI score0.01414EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2020/12/31 12:00 p.m.•35 views

RUSTSEC-2020-0153 `read` on uninitialized buffer may cause UB (bite::read::BiteReadExpandedExt::read_framed_max)

Affected versions of this crate calls a user provided Read implementation on an uninitialized buffer. Read on uninitialized buffer is defined as undefined behavior in Rust...

7.5CVSS7.5AI score0.01059EPSS
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/31 12:00 p.m.•39 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/31 12:00 p.m.•35 views

RUSTSEC-2020-0132 `FixedCapacityDequeLike::clone()` can cause dropping uninitialized memory

Affected versions of this crate don't guard against panics, so that partially uninitialized buffer is dropped when user-provided T::clone panics in FixedCapacityDequeLike::clone. This causes memory corruption...

9.8CVSS9.5AI score0.01119EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2020/12/27 12:00 p.m.•29 views

RUSTSEC-2020-0155 `Read` on uninitialized buffer in `fill_buf()` and `read_up_to()`

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.3AI score0.01191EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2020/12/25 12:00 p.m.•35 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/22 12:00 p.m.•58 views

RUSTSEC-2020-0114 `Demuxer` can carry non-Send types across thread boundaries

In the affected versions of this crate, Demuxer unconditionally implemented Send with no trait bounds on T. This allows sending a non-Send type T across thread boundaries, which can cause undefined behavior like unlocking a mutex from a thread that didn't lock the mutex, or memory corruption from...

5.9CVSS5.8AI score0.00811EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2020/12/22 12:00 p.m.•32 views

RUSTSEC-2020-0109 stderr is unmaintained; use eprintln instead

The stderr crate is no longer maintained by its current owner. The author recommends using the eprintln macro from the standard library as a replacement...

7.2AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2020/12/22 12:00 p.m.•59 views

RUSTSEC-2020-0101 conquer-once's OnceCell lacks Send bound for its Sync trait.

Affected versions of conquer-once implements Sync for its OnceCell type without restricting it to Sendable types. This allows non-Send but Sync types such as MutexGuard to be sent across threads leading to undefined behavior and memory corruption in concurrent programs. The issue was fixed by...

7.8CVSS7.7AI score0.00437EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2020/12/21 12:00 p.m.•42 views

RUSTSEC-2020-0105 Update unsound DrainFilter and RString::retain

Affected versions of this crate contained code from the Rust standard library that contained soundness bugs rust-lang/rust60977 double drop & rust-lang/rust78498 create invalid utf-8 string. The flaw was corrected in v0.9.1 by making a similar fix to the one made in the Rust standard library...

7.5CVSS7.4AI score0.0143EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2020/12/20 12:00 p.m.•28 views

RUSTSEC-2020-0095 difference is unmaintained

The author of the difference crate is unresponsive. Maintained alternatives: - dissimilar - similar - treediff - diffus...

7.1AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2020/12/20 12:00 p.m.•47 views

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

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

5.9CVSS5.5AI score0.01079EPSS
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.•40 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 2020/12/18 12:00 p.m.•38 views

RUSTSEC-2020-0129 ShmWriter allows sending non-Send type across threads

Affected versions of this crate implement Send for ShmWriter without requiring H: Send. This allows users to send H: !Send to other threads, which can potentially lead to data races and undefined behavior...

8.1CVSS8AI score0.01249EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2020/12/18 12:00 p.m.•49 views

RUSTSEC-2020-0127 SyncRef's clone() and debug() allow data races

Affected versions of this crate unconditionally implement Sync for SyncRef. This definition allows data races if &T is accessible through &SyncRef. SyncRef derives Clone and Debug, and the default implementations of those traits access &T by invoking T::clone & T::fmt. It is possible to create da...

8.1CVSS8AI score0.01059EPSS
SaveExploits1References4
osv_rustsec
osv_rustsec
•added 2020/12/18 12:00 p.m.•39 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/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 2020/12/17 12:00 p.m.•91 views

RUSTSEC-2020-0093 Async-h1 request smuggling possible with long unread bodies

This vulnerability affects any webserver that uses async-h1 behind a reverse proxy, including all such Tide applications. If the server does not read the body of a request which is longer than some buffer length, async-h1 will attempt to read a subsequent request from the body content starting at...

7.5CVSS6.5AI score0.0102EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2020/12/17 12:00 p.m.•48 views

RUSTSEC-2020-0150 RingBuffer can create multiple mutable references and cause data races

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

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

RUSTSEC-2020-0091 Dangling reference in `access::Map` with Constant

Using the arcswap::access::Map with the Constant test helper or with user-provided implementation of the Access trait could sometimes lead to the map returning dangling references. Replaced by implementation without unsafe, at the cost of added Clone bound on the closure and small penalty on...

7.5CVSS7.4AI score0.01619EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2020/12/10 12:00 p.m.•42 views

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

aovec::Aovec is a vector type that implements Send and Sync 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...

7CVSS6.8AI score0.00289EPSS
SaveExploits0References2
osv_rustsec
osv_rustsec
•added 2020/12/10 12:00 p.m.•40 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/12/10 12:00 p.m.•34 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/12/10 12:00 p.m.•53 views

RUSTSEC-2020-0097 Soundness issue with base::Error

base::Error type contains public field named ptr. With this definition, it is possible to create a base::Error with an invalid pointer and trigger memory safety errors such as use-after-free or double-free with safe Rust. The users of xcb crate are advised not to manipulate the field...

5.5CVSS5.5AI score0.00406EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2020/12/09 12:00 p.m.•41 views

RUSTSEC-2020-0139 dces' World type can cause data races

The World type in dces is marked as Send without bounds on its EntityStore and ComponentStore. This allows non-thread safe EntityStore and ComponentStores to be sent across threads and cause data races...

8.1CVSS7.9AI score0.01098EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2020/12/09 12:00 p.m.•80 views

RUSTSEC-2020-0089 nanorand 0.5.0 - RNGs failed to generate properly for non-64-bit numbers

In versions of nanorand prior to 0.5.1, RandomGen implementations for standard unsigned integers could fail to properly generate numbers, due to using bit-shifting to truncate a 64-bit number, rather than just an as conversion. This often manifested as RNGs returning nothing but 0, including the...

5.1CVSS9.4AI score0.01534EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2020/12/08 12:00 p.m.•48 views

RUSTSEC-2020-0118 Future<T> lacks bounds on Send and Sync.

tinyfuture contains a light-weight implementation of Futures. The Future type it has lacked bound on its Send and Sync traits. This allows for a bug where non-thread safe types such as Cell can be used in Futures and cause data races in concurrent programs. The flaw was corrected in commit c79191...

8.1CVSS7.9AI score0.00766EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2020/12/08 12:00 p.m.•41 views

RUSTSEC-2020-0104 ImageChunkMut needs bounds on its Send and Sync traits

In the affected versions of this crate, ImageChunkMut unconditionally implements Send and Sync, allowing to create data races. This can result in a memory corruption or undefined behavior when non thread-safe types are moved and referenced across thread boundaries. The flaw was corrected in commi...

7CVSS6.9AI score0.00348EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2020/12/08 12:00 p.m.•36 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/12/08 12:00 p.m.•35 views

RUSTSEC-2020-0090 Thex<T> allows data races of non-Send types across threads

thex::Thex implements Sync for all types T. However, it is missing a bound for T: Send. This allows non-Send types such as Rc to be sent across thread boundaries which can trigger undefined behavior and memory corruption...

5.5CVSS5.3AI score0.00313EPSS
SaveExploits0References2
osv_rustsec
osv_rustsec
•added 2020/12/07 12:00 p.m.•26 views

RUSTSEC-2020-0086 crate has been renamed to `sn_client`

This crate has been renamed from safecore to snclient. The new repository location is:...

7.1AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2020/12/07 12:00 p.m.•20 views

RUSTSEC-2020-0084 crate has been superseded by `sn_client`

This crate has been superseded by snclient. The new repository location is:...

7.2AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2020/12/07 12:00 p.m.•25 views

RUSTSEC-2020-0085 crate has been renamed to `sn_node`

This crate has been renamed from safevault to snnode. The new repository location is:...

7.1AI score
SaveExploits0References3
Total number of security vulnerabilities1310