Lucene search
+L
Osv-rustsecRecent

1310 matches found

osv-rustsec
osv-rustsec
•added 2020/05/03 12:00 p.m.•77 views

RUSTSEC-2020-0061 futures_task::noop_waker_ref can segfault due to dereferencing a NULL pointer

Affected versions of the crate used a UnsafeCell in thread-local storage to return a noop waker reference, assuming that the reference would never be returned from another thread. This resulted in a segmentation fault crash if Waker::wakebyref was called on a waker returned from another thread du...

5.5CVSS5.2AI score0.00407EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2020/05/02 12:00 p.m.•29 views

RUSTSEC-2020-0036 failure is officially deprecated/unmaintained

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

9.8CVSS9.3AI score0.0293EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2020/05/01 12:00 p.m.•30 views

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

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

7.1AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2020/04/25 12:00 p.m.•55 views

RUSTSEC-2020-0015 Crash causing Denial of Service attack

Server or client applications that call the SSLcheckchain function during or after a TLS 1.3 handshake may crash due to a NULL pointer dereference as a result of incorrect handling of the "signaturealgorithmscert" TLS extension. The crash occurs if an invalid or unrecognised signature algorithm i...

7.5CVSS7.5AI score0.53336EPSS
SaveExploits2References3
osv-rustsec
osv-rustsec
•added 2020/04/24 12:00 p.m.•29 views

RUSTSEC-2020-0013 fake-static allows converting any reference into a `'static` reference

fake-static allows converting a reference with any lifetime into a reference with 'static lifetime without the unsafe keyword. Internally, this crate does not use unsafe code, it instead exploits a soundness bug in rustc: https://github.com/rust-lang/rust/issues/25860...

7.1AI score
SaveExploits0References2
osv-rustsec
osv-rustsec
•added 2020/04/24 12:00 p.m.•59 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/04/23 12:00 p.m.•15 views

RUSTSEC-2020-0011 Library exclusively intended to obfuscate code.

This crate allows you to write safe functions with unsafe bodies without the unsafe keyword. The value this adds is questionable, and hides unsafe usages from naive analysis...

7.1AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2020/04/23 12:00 p.m.•24 views

RUSTSEC-2020-0014 Various memory safety issues

Several memory safety issues have been uncovered in an audit of rusqlite. See https://github.com/rusqlite/rusqlite/releases/tag/0.23.0 for a complete list...

9.8CVSS9AI score0.01751EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2020/04/18 12:00 p.m.•26 views

RUSTSEC-2020-0020 `stb_truetype` crate has been deprecated; use `ttf-parser` instead

This crate was maintained for use in rusttype which has switched to use ttf-parser...

7.1AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2020/04/11 12:00 p.m.•73 views

RUSTSEC-2020-0009 `read_scalar` and `read_scalar_at` allow transmuting values without `unsafe` blocks

The readscalar and readscalarat functions are unsound because they allow transmuting values without unsafe blocks. The following example shows how to create a dangling reference: fn main deriveCopy, Clone, PartialEq, Debug struct S&'static str; impl flatbuffers::EndianScalar for S fn...

7.5CVSS7.2AI score0.00591EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2020/04/09 12:00 p.m.•24 views

RUSTSEC-2020-0146 arr! macro erases lifetimes

Affected versions of this crate allowed unsoundly extending lifetimes using arr! macro. This may result in a variety of memory corruption scenarios, most likely use-after-free...

7.5CVSS7.5AI score0.01243EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2020/03/27 12:00 p.m.•65 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.•60 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 2020/03/19 12:00 p.m.•67 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/03/19 12:00 p.m.•67 views

RUSTSEC-2020-0005 CBox API allows to de-reference raw pointers without `unsafe` code

CBox and CSemiBox are part of the public API of the cbox crate and they allow to create smart pointers from raw pointers and de-reference them without the need of unsafe code...

9.8CVSS9.4AI score0.01649EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2020/02/28 12:00 p.m.•19 views

RUSTSEC-2020-0010 tiberius is unmaintained

The author of tiberius has archived the GitHub repository and left the following note: I do not have the time to overhaul the library and do not intend to further maintain the 0.3 version relying on the old futures ecosystem. Suggested alternatives are: - odbc - sqlx forthcoming...

7.2AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2020/02/11 12:00 p.m.•25 views

RUSTSEC-2020-0147 rulinalg is unmaintained, use nalgebra instead

The rulinalg crate is no longer maintained, use nalgebra instead...

7.1AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2020/02/11 12:00 p.m.•48 views

RUSTSEC-2020-0023 Lifetime boundary for `raw_slice` and `raw_slice_mut` are incorrect

The affected version of rulinalg has incorrect lifetime boundary definitions for RowMut::rawslice and RowMut::rawslicemut. They do not conform with Rust's borrowing rule and allows the user to create multiple mutable references to the same location. This may result in unexpected calculation resul...

9.8CVSS9.4AI score0.01668EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2020/02/10 12:00 p.m.•13 views

RUSTSEC-2020-0144 lzw is unmaintained

The author of the lzw crate is unresponsive. Maintained alternatives: - weezl...

7.1AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2020/02/10 12:00 p.m.•22 views

RUSTSEC-2020-0158 slice-deque is unmaintained

The author of the slice-deque crate is unresponsive and is not receiving security patches. Maintained alternatives: - slice-ring-buffer...

7.2AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2020/02/07 12:00 p.m.•13 views

RUSTSEC-2020-0169 multi_mut is Unmaintained

Last release was about 6 years ago. There is an outstanding soundness issue. The maintainer has not responded for two years to the existing soundness issue. Rust compiler has enabled errors relating to LLVM noalias rules and may not compile anymore where as the old compiler versions had turned...

7.2AI score
SaveExploits0References5
osv-rustsec
osv-rustsec
•added 2020/02/06 12:00 p.m.•17 views

RUSTSEC-2020-0162 `tokio-proto` is deprecated/unmaintained

The tokio-proto crate has been deprecated, and its GitHub repository has been archived. Users may be interested in tokio-tower instead, per https://github.com/tokio-rs/tokio/issues/118issuecomment-452969665...

7.1AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2020/01/30 12:00 p.m.•42 views

RUSTSEC-2020-0049 Use-after-free in Framed due to lack of pinning

Affected versions of this crate did not require the buffer wrapped in Framed 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 affected functions accept Pin instead of &mut self...

9.8CVSS9.4AI score0.01649EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2020/01/24 12:00 p.m.•69 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 2020/01/24 12:00 p.m.•40 views

RUSTSEC-2020-0004 sigstack allocation bug can cause memory corruption or leak

An embedding using affected versions of lucet-runtime configured to use non-default Wasm globals sizes of more than 4KiB, or compiled in debug mode without optimizations, could leak data from the signal handler stack to guest programs. This can potentially cause data from the embedding host to le...

9.1CVSS9.2AI score0.01523EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2020/01/24 12:00 p.m.•57 views

RUSTSEC-2020-0123 Contents of uninitialized memory exposed in DeflateOutput's AsyncRead implementation

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

9.8CVSS9.3AI score0.0123EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2020/01/24 12:00 p.m.•88 views

RUSTSEC-2020-0062 Improper `Sync` implementation on `FuturesUnordered` in futures-utils can cause data corruption

Affected versions of the crate had an unsound Sync implementation on the FuturesUnordered structure, which used a Cell for interior mutability without any code to handle synchronized access to the underlying task list's length and head safely. This could of lead to data corruption since two threa...

5.5CVSS5.6AI score0.00341EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2020/01/22 12:00 p.m.•44 views

RUSTSEC-2020-0156 Observable Discrepancy in libsecp256k1-rs

A timing vulnerability in the Scalar::checkoverflow function in Parity libsecp256k1-rs before 0.3.1 potentially allows an attacker to leak information via a side-channel attack...

5.9CVSS5.3AI score0.00881EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2020/01/21 12:00 p.m.•18 views

RUSTSEC-2020-0160 Threshold value is ignored (all shares are n=3)

Affected versions of this crate did not properly calculate secret shares requirements. This reduces the security of the algorithm by restricting the crate to always using a threshold value of three, rather than a configurable limit. The flaw was corrected by correctly configuring the threshold...

7AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2020/01/20 12:00 p.m.•19 views

RUSTSEC-2020-0003 rust_sodium is unmaintained; switch to a modern alternative

The rustsodium crate is no longer maintained by its current owner, who advise in the repository readme that they are looking for someone else to take ownership of it. We recommend you switch to an alternative crate such as: - sodiumoxide...

7AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2020/01/16 12:00 p.m.•48 views

RUSTSEC-2020-0002 Parsing a specially crafted message can result in a stack overflow

Affected versions of this crate contained a bug in which decoding untrusted input could overflow the stack. On architectures with stack probes like x86, this can be used for denial of service attacks, while on architectures without stack probes like ARM overflowing the stack is unsound and can...

9.8CVSS8.3AI score0.03401EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2020/01/08 12:00 p.m.•76 views

RUSTSEC-2020-0045 bespoke Cell implementation allows obtaining several mutable references to the same data

The custom implementation of a Cell primitive in the affected versions of this crate does not keep track of mutable references to the underlying data. This allows obtaining several mutable references to the same object which may result in arbitrary memory corruption, most likely use-after-free. T...

9.1CVSS9.1AI score0.01428EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2020/01/08 12:00 p.m.•52 views

RUSTSEC-2020-0046 bespoke Cell implementation allows obtaining several mutable references to the same data

The custom implementation of a Cell primitive in the affected versions of this crate does not keep track of mutable references to the underlying data. This allows obtaining several mutable references to the same object which may result in arbitrary memory corruption, most likely use-after-free. T...

5.5CVSS5.4AI score0.00379EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2020/01/06 12:00 p.m.•65 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 2019/11/21 12:00 p.m.•23 views

RUSTSEC-2019-0031 spin is no longer actively maintained

The author of the spin crate does not have time or interest to maintain it. Consider the following alternatives all of which support nostd: - conquer-once - lockapi a subproject of parkinglot - spinningtop spinlock crate built on lockapi - spinning...

7.1AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2019/11/21 12:00 p.m.•23 views

RUSTSEC-2019-0032 crust repo has been archived; use libp2p instead

The crust crate repo was archived with no warning or explanation. Given that it was archived with no warning or successor, there's not an official replacement but rust-libp2p looks like it's got a similar feature set and is actively maintained...

7.1AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2019/11/16 12:00 p.m.•49 views

RUSTSEC-2019-0033 Integer Overflow in HeaderMap::reserve() can cause Denial of Service

HeaderMap::reserve used usize::nextpoweroftwo to calculate the increased capacity. However, nextpoweroftwo silently overflows to 0 if given a sufficiently large number in release mode. If the map was not empty when the overflow happens, the library will invoke self.grow0 and start infinite probin...

7.5CVSS7.3AI score0.0246EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2019/11/16 12:00 p.m.•29 views

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

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

9.8CVSS9.2AI score0.0185EPSS
SaveExploits0References2
osv-rustsec
osv-rustsec
•added 2019/11/13 12:00 p.m.•44 views

RUSTSEC-2019-0036 Type confusion if __private_get_type_id__ is overridden

Safe Rust code can implement malfunctioning privategettypeid and cause type confusion when downcasting, which is an undefined behavior. Users who derive Fail trait are not affected...

9.8CVSS9.4AI score0.0293EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2019/10/22 12:00 p.m.•60 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 2019/10/20 12:00 p.m.•30 views

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

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

9.8CVSS9.5AI score0.00582EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2019/10/14 12:00 p.m.•38 views

RUSTSEC-2019-0027 Flaw in Scalar::check_overflow allows side-channel timing attack

Versions of libsecp256k1 prior to 0.3.1 did not execute Scalar::checkoverflow in constant time. This allows an attacker to potentially leak information via a timing attack. The flaw was corrected by modifying Scalar::checkoverflow to execute in constant time...

7.5CVSS7.3AI score0.01421EPSS
SaveExploits0References2
osv-rustsec
osv-rustsec
•added 2019/10/11 12:00 p.m.•45 views

RUSTSEC-2019-0026 generichash::Digest::eq always return true

PartialEq implementation for generichash::Digest has compared itself to itself. Digest::eq always returns true and Digest::ne always returns false...

9.8CVSS9.4AI score0.01502EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2019/10/08 12:00 p.m.•21 views

RUSTSEC-2019-0024 Test advisory with associated example crate

This is a test advisory useful for verifying RustSec tooling and vulnerability detection pipelines are working correctly. Aside from the fact that it is filed against an example crate, it is otherwise considered by the Advisory Database itself to be a normal security advisory. It's filed against...

7.2AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2019/10/06 12:00 p.m.•22 views

RUSTSEC-2019-0030 Incorrect implementation of the Streebog hash functions

Internal update-sigma function was implemented incorrectly and depending on debug-assertions it could've caused an incorrect result or panic for certain inputs...

7.5CVSS7.4AI score0.01343EPSS
SaveExploits2References3
osv-rustsec
osv-rustsec
•added 2019/10/03 12:00 p.m.•34 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 2019/09/14 12:00 p.m.•40 views

RUSTSEC-2019-0022 Stream callback function is not unwind safe

Affected versions of this crate is not panic safe within callback functions streamcallback and streamfinishedcallback. The call to user-provided closure might panic before a mem::forget call, which then causes a use after free that grants attacker to control the callback function pointer. This...

9.8CVSS9.7AI score0.02506EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2019/09/14 12:00 p.m.•42 views

RUSTSEC-2019-0021 `Matrix::zip_elements` causes double free

Affected versions of this crate did not properly implements the Matrix::zipelements method, which causes an double free when the given trait implementation might panic. This allows an attacker to corrupt or take control of the memory. The flaw was corrected by Phosphorus15...

9.8CVSS9.6AI score0.01691EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2019/09/06 12:00 p.m.•39 views

RUSTSEC-2019-0020 fix unsound APIs that could lead to UB

Affected versions of this crate API could use uninitialized memory with some APIs in special cases, like use the API in none generator context. This could lead to UB. The flaw was corrected by This patch fixes all those issues above...

7.5CVSS7.3AI score0.01635EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2019/09/02 12:00 p.m.•73 views

RUSTSEC-2019-0018 Internally mutating methods take immutable ref self

Affected versions of this crate exposed several methods which took self by immutable reference, despite the requesting the RenderDoc API to set a mutable value internally. This is technically unsound and calling these methods from multiple threads without synchronization could lead to unexpected...

9.8CVSS9.3AI score0.01796EPSS
SaveExploits0References3
Total number of security vulnerabilities1310