Lucene search
+L
OSV RUSTSECRecent

1525 matches found

osv_rustsec
osv_rustsec
•added 2021/05/01 12:00 p.m.•56 views

RUSTSEC-2021-0058 Null pointer deref in `X509_issuer_and_serial_hash()`

The OpenSSL public API function X509issuerandserialhash attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field which might occur if the...

5.9CVSS6.5AI score0.07486EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/04/29 12:00 p.m.•33 views

RUSTSEC-2021-0059 `aesni` has been merged into the `aes` crate

Please use the aes crate going forward. The new repository location is at: AES-NI is now autodetected at runtime on i686/x86-64 platforms. If AES-NI is not present, the aes crate will fallback to a constant-time portable software implementation. To prevent this fallback and have absence of AES-NI...

7AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/04/29 12:00 p.m.•33 views

RUSTSEC-2021-0060 `aes-soft` has been merged into the `aes` crate

Please use the aes crate going forward. The new repository location is at: AES-NI is now autodetected at runtime on i686/x86-64 platforms. If AES-NI is not present, the aes crate will fallback to a constant-time portable software implementation. To force the use of a constant-time portable...

7AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/04/29 12:00 p.m.•26 views

RUSTSEC-2021-0061 `aes-ctr` has been merged into the `aes` crate

Please use the aes crate going forward. The new repository location is at: The aes crate now has an optional ctr feature which autodetects SIMD features on i686/x86-64 targets and uses them if available, or otherwise falls back to the implementation in the ctr crate. If you would prefer not to ha...

7.1AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/04/28 12:00 p.m.•52 views

RUSTSEC-2021-0054 Archives may contain uninitialized memory

rkyv is a serialization framework that writes struct-compatible memory to be stored or transmitted. During serialization, struct padding bytes and unused enum bytes may not be initialized. These bytes may be written to disk or sent over unsecured channels...

7.5CVSS7.4AI score0.01079EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/04/07 12:00 p.m.•26 views

RUSTSEC-2021-0136 `sass-rs` has been deprecated

The sass-rs crate is not maintained anymore as libsass is deprecated. Consider using https://github.com/connorskees/grass or https://github.com/kaj/rsass instead. Author's recommendation...

7.2AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/04/07 12:00 p.m.•42 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.00766EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/04/01 12:00 p.m.•26 views

RUSTSEC-2021-0140 rusttype is Unmaintained

The maintainer has advised this crate is deprecated and will not receive any maintenance. The maintainer has further advised to migrate over to abglyph. Last release seems to have been over two years ago. Possible Alternatives The below list has not been vetted in any way and may or may not conta...

7.2AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/03/18 12:00 p.m.•65 views

RUSTSEC-2021-0041 Denial of service through parsing payloads with too big exponent

The parseduration::parse function allows for parsing duration strings with exponents like 5e5s where under the hood, the BigInt type along with the pow function are used for such payloads. Passing an arbitrarily big exponent makes the parseduration::parse function to process the payload for a ver...

7.5CVSS7.3AI score0.01036EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/03/07 12:00 p.m.•47 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.00995EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/03/06 12:00 p.m.•47 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/03/05 12:00 p.m.•82 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/03/04 12:00 p.m.•82 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.01261EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/03/03 12:00 p.m.•59 views

RUSTSEC-2021-0036 Intern<T>: Data race allowed on T

Affected versions of this crate unconditionally implements Sync for Intern. This allows users to create data race on T: !Sync, which may lead to undefined behavior for example, memory corruption. The flaw was corrected in commit 2928a87 by adding the trait bound T: Sync in the Sync impl of Intern...

9.8CVSS9.3AI score0.01295EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/03/01 12:00 p.m.•52 views

RUSTSEC-2021-0032 Deserializing an array can drop uninitialized memory on panic

The readbytesdefaultle function for T; n arrays, used to deserialize arrays of T from bytes created a T; n array with std::mem::uninitialized and then called T's deserialization method. If T's deserialization method panicked, the uninitialized memory could drop invalid objects. This flaw was...

9.8CVSS9.4AI score0.01295EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/02/28 12:00 p.m.•38 views

RUSTSEC-2021-0062 project abandoned; migrate to the `aes-siv` crate

The Miscreant project has been abandoned and archived. The Rust implementation has been adapted into the new aes-siv crate which implements both the AES-CMAC-SIV and AES-PMAC-SIV constructions: Please migrate to the aes-siv crate. Alternatively see the aes-gcm-siv crate for a newer, faster...

7.1AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/02/26 12:00 p.m.•44 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.01139EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/02/24 12:00 p.m.•57 views

RUSTSEC-2021-0050 swap_index can write out of bounds and return uninitialized memory

swapindex takes an iterator and swaps the items with their corresponding indexes. It reserves capacity and sets the length of the vector based on the .len method of the iterator. If the len returned by the iterator is larger than the actual number of elements yielded, then swapindex creates a...

7.3CVSS7.2AI score0.00932EPSS
SaveExploits2References3
osv_rustsec
osv_rustsec
•added 2021/02/22 12:00 p.m.•34 views

RUSTSEC-2021-0033 push_cloned can drop uninitialized memory or double free on panic

Affected versions of stackdst used a pushinner function that increased the internal length of the array and then called val.clone. If the val.clone call panics, the stack could drop an already dropped element or drop uninitialized memory. This issue was fixed in 2a4d538 by increasing the length o...

9.8CVSS9.3AI score0.01295EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/02/21 12:00 p.m.•48 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.00695EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/02/19 12:00 p.m.•53 views

RUSTSEC-2021-0047 SliceDeque::drain_filter can double drop an element if the predicate panics

Affected versions of the crate incremented the current index of the drain filter iterator before calling the predicate function self.pred. If the predicate function panics, it is possible for the last element in the iterator to be dropped twice...

7.5CVSS7.4AI score0.01175EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2021/02/19 12:00 p.m.•44 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/02/19 12:00 p.m.•63 views

RUSTSEC-2021-0048 StackVec::extend can write out of bounds when size_hint is incorrect

StackVec::extend used the lower and upper bounds from an Iterator's sizehint to determine how many items to push into the stack based vector. If the sizehint implementation returned a lower bound that was larger than the upper bound, StackVec would write out of bounds and overwrite memory on the...

7.3CVSS7.2AI score0.01025EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2021/02/18 12:00 p.m.•37 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.01373EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2021/02/18 12:00 p.m.•69 views

RUSTSEC-2021-0030 move_elements can double-free objects on panic

Affected versions of scratchpad used ptr::read to read elements while calling a user provided function f on them. Since the pointer read duplicates ownership, a panic inside the user provided f function could cause a double free when unwinding. The flaw was fixed in commit 891561bea by removing t...

9.8CVSS9.2AI score0.01364EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/02/17 12:00 p.m.•48 views

RUSTSEC-2021-0029 Tape::take_bytes exposes uninitialized memory to a user-provided Read

Affected versions of this crate passed an unininitialized buffer to a user-provided Read instance in Tape::takebytes. This can result in safe Read implementations reading from the uninitialized buffer leading to undefined behavior. The flaw was corrected in commit 1f2dc7f37dd by removing the unsa...

7.5CVSS7.5AI score0.01175EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/02/17 12:00 p.m.•50 views

RUSTSEC-2021-0046 misc::vec_with_size() can drop uninitialized memory if clone panics

misc::vecwithsize creates a vector of the provided size and immediately calls vec.setlensize on it, initially filling it with uninitialized memory. It then inserts elements using veci = value.clone. If the value.clone call panics, uninitialized items in the vector will be dropped leading to...

9.8CVSS7.2AI score0.01423EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2021/02/17 12:00 p.m.•46 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.0123EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/02/17 12:00 p.m.•84 views

RUSTSEC-2021-0043 PartialReader passes uninitialized memory to user-provided Read

Affected versions of this crate passed an uniniitalized buffer to a user-provided Read instance in PartialReader::read. This can result in safe Read implementations reading from the uninitialized buffer leading to undefined behavior. The flaw was fixed in commit 39d62c6 by zero-initializing the...

7.3CVSS7.1AI score0.00932EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2021/02/15 12:00 p.m.•23 views

RUSTSEC-2021-0025 crate has been renamed to `qjsonrpc`

This crate has been renamed from jsonrpc-quic to qjsonrpc. The new repository location is:...

7.1AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/02/15 12:00 p.m.•30 views

RUSTSEC-2021-0024 crate has been renamed to `sn_api`

This crate has been renamed from safe-api to snapi. The new repository location is:...

7.1AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/02/14 12:00 p.m.•73 views

RUSTSEC-2021-0021 `nb-connect` invalidly assumes the memory layout of std::net::SocketAddr

The nb-connect 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...

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

RUSTSEC-2021-0023 Incorrect check on buffer length when seeding RNGs

Summary: randcore::le::readu32into and readu64into have incorrect checks on the source buffer length, allowing the destination buffer to be under-filled. Implications: some downstream RNGs, including Hc128Rng but not the more widely used ChaChaRng, allow seeding using the SeedableRng::fromseed...

9.8CVSS9.5AI score0.01253EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/02/09 12:00 p.m.•55 views

RUSTSEC-2021-0022 Use-after-free in `subscript_next` and `subscript_prev` wrappers

Affected versions of this crate had an unsound implementation which could pass a pointer to freed memory to ydbsubscriptnextst and ydbsubscriptprevst if the variable and subscripts did not have enough memory allocated on the first call to hold the next variable in the database. For example, the...

9.8CVSS9.5AI score0.01372EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2021/02/09 12:00 p.m.•55 views

RUSTSEC-2021-0044 Use after free possible in `uri::Formatter` on panic

Affected versions of this crate transmuted a &str to a &'static str before pushing it into a StackVec, this value was then popped later in the same function. This was assumed to be safe because the reference would be valid while the method's stack was active. In between the push and the pop,...

7.3CVSS7AI score0.01025EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2021/02/05 12:00 p.m.•43 views

RUSTSEC-2021-0020 Multiple Transfer-Encoding headers misinterprets request payload

hyper's HTTP server code had a flaw that incorrectly understands some requests with multiple transfer-encoding headers to have a chunked payload, when it should have been rejected as illegal. This combined with an upstream HTTP proxy that understands the request payload boundary differently can...

8.1CVSS8AI score0.04789EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/02/04 12:00 p.m.•36 views

RUSTSEC-2021-0034 office is unmaintained, use calamine instead

The office crate is unmaintained. Use calamine for reading excel files. Contact the office author for ownership of the package name...

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

RUSTSEC-2021-0019 Multiple soundness issues

Calls std::str::fromutf8unchecked without any checks The function xcb::xproto::GetAtomNameReply::name calls std::str::fromutf8unchecked on the raw bytes that were received from the X11 server without any validity checks. The X11 server only prevents interior null bytes, but otherwise allows any X...

9.8CVSS9AI score0.01749EPSS
SaveExploits4References7
osv_rustsec
osv_rustsec
•added 2021/02/03 12:00 p.m.•63 views

RUSTSEC-2021-0094 Window can read out of bounds if Read instance returns more bytes than buffer size

rdiff performs a diff of two provided strings or files. As part of its reading code it uses the return value of a Read instance to set the length of its internal character vector. If the Read implementation claims that it has read more bytes than the length of the provided buffer, the length of t...

7.5CVSS7.3AI score0.01095EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/02/03 12:00 p.m.•73 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.01376EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2021/01/31 12:00 p.m.•53 views

RUSTSEC-2021-0031 split_at allows obtaining multiple mutable references to the same data

Affected versions of this crate assumed that Borrow was guaranteed to return the same value on .borrow. The borrowed index value was used to retrieve a mutable reference to a value. If the Borrow implementation returned a different index, the split arena would allow retrieving the index as a...

9.8CVSS9.5AI score0.01528EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2021/01/31 12:00 p.m.•77 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.01139EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/01/30 12:00 p.m.•79 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.01508EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2021/01/29 12:00 p.m.•24 views

RUSTSEC-2021-0149 nphysics2d is unmaintained

The maintainer has advised that this crate is passively-maintained and that it is being superseded by the Rapier project...

7.1AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/01/29 12:00 p.m.•23 views

RUSTSEC-2021-0151 ncollide2d is unmaintained

The maintainer has advised that this crate is passively-maintained and that it is being superseded by the Parry project...

7.1AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/01/29 12:00 p.m.•20 views

RUSTSEC-2021-0148 nphysics3d is unmaintained

The maintainer has advised that this crate is passively-maintained and that it is being superseded by the Rapier project...

7.1AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/01/29 12:00 p.m.•27 views

RUSTSEC-2021-0150 ncollide3d is unmaintained

The maintainer has advised that this crate is passively-maintained and that it is being superseded by the Parry project...

7.1AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/01/26 12:00 p.m.•57 views

RUSTSEC-2021-0014 Record::read : Custom `Read` on uninitialized buffer may cause UB

Affected versions of this crate passes an uninitialized buffer to a user-provided Read implementation. Record::read 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...

7.5CVSS7.4AI score0.01516EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2021/01/26 12:00 p.m.•66 views

RUSTSEC-2021-0042 insert_many can drop elements twice on panic

Affected versions of insertmany used ptr::copy to move over items in a vector to make space before inserting, duplicating their ownership. It then iterated over a provided Iterator to insert the new items. If the iterator's .next method panics then the vector would drop the same elements twice...

7.5CVSS7.3AI score0.01175EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2021/01/26 12:00 p.m.•29 views

RUSTSEC-2021-0092 Deserialization functions pass uninitialized memory to user-provided Read

Affected versions of this crate passed an uninitialized buffer to a user-provided Read instance in: deserializebinary deserializestring deserializeextensionothers deserializestringprimitive This can result in safe Read implementations reading from the uninitialized buffer leading to undefined...

9.8CVSS9.3AI score0.01417EPSS
SaveExploits0References3
Total number of security vulnerabilities1525