Lucene search
+L
Osv-rustsecRecent

1310 matches found

osv-rustsec
osv-rustsec
•added 2023/01/12 12:00 p.m.•57 views

RUSTSEC-2023-0002 git2 Rust package suppresses ssh host key checking

By default, when accessing an ssh repository ie via an ssh: git repository url the git2 Rust package does not do any host key checking. Additionally, the provided API is not sufficient for a an application to do meaningful checking itself. Impact When connecting to an ssh repository, and when an...

5.6AI score
SaveExploits0References4
osv-rustsec
osv-rustsec
•added 2023/01/11 12:00 p.m.•28 views

RUSTSEC-2023-0005 `tokio::io::ReadHalf<T>::unsplit` is Unsound

tokio::io::ReadHalf::unsplit can violate the Pin contract The soundness issue is described in the tokio/issues5372 Specific set of conditions needed to trigger an issue a !Unpin type in ReadHalf is unusual, combined with the difficulty of making any arbitrary use-after-free exploitable in Rust...

7AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2023/01/09 12:00 p.m.•36 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 2023/01/04 12:00 p.m.•33 views

RUSTSEC-2023-0001 reject_remote_clients Configuration corruption

On Windows, configuring a named pipe server with pipemode will force ServerOptions::rejectremoteclients as false. This drops any intended explicit configuration for the rejectremoteclients that may have been set as true previously. The default setting of rejectremoteclients is normally true meani...

5.4CVSS5.4AI score0.0059EPSS
SaveExploits0References5
osv-rustsec
osv-rustsec
•added 2022/12/23 12:00 p.m.•19 views

RUSTSEC-2022-0072 Location header incorporates user input, allowing open redirect

When hyper-staticfile performs a redirect for a directory request e.g. a request for /dir that redirects to /dir/, the Location header value was derived from user input the request path, simply appending a slash. The intent was to perform an origin-relative redirect, but specific inputs allowed...

7AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/12/21 12:00 p.m.•16 views

RUSTSEC-2022-0073 crate has been renamed to `embedded-alloc`

This crate has been renamed from alloc-cortex-m to embedded-alloc. The new repository location is:...

7.1AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/12/04 12:00 p.m.•29 views

RUSTSEC-2022-0077 `claim` is Unmaintained

The last release was in February 2021, almost two years ago. The maintainer has been unresponsive regarding this crate for over a year. A pending issue with claim's dependencies has made the crate difficult to use. Possible Alternatives The below list has not been vetted in any way and may or may...

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

RUSTSEC-2022-0074 Force cast a &Vec<T> to &[T]

In function Table::asref, a reference of vector is force cast to slice. There are multiple problems here: 1. To guarantee the size is correct, we have to first do Vec::shrinktofit. The function requires a mutable reference, so we have to force cast from immutable to mutable, which is UB. 2. Even ...

7.1AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/11/30 12:00 p.m.•39 views

RUSTSEC-2022-0070 Unsound API in `secp256k1` allows use-after-free and invalid deallocation from safe code

Because of incorrect bounds on method Secp256k1::preallocatedgennew it was possible to cause use-after-free from safe consumer code. It was also possible to "free" memory not allocated by the appropriate allocator. The method takes a place for storing the context as a mutable reference and return...

7.3AI score
SaveExploits0References4
osv-rustsec
osv-rustsec
•added 2022/11/30 12:00 p.m.•17 views

RUSTSEC-2022-0080 parity-util-mem Unmaintained

The crate has been deprecated and will receive no updates with no repository source. The crate has a warning surrounding it's use related to global allocator use that may lead to UB...

7.1AI score
SaveExploits0References5
osv-rustsec
osv-rustsec
•added 2022/11/30 12:00 p.m.•39 views

RUSTSEC-2022-0068 out-of-bounds read possible when setting list-of-pointers

If a message consumer expects data of type "list of pointers", and if the consumer performs certain specific actions on such data, then a message producer can cause the consumer to read out-of-bounds memory. This could trigger a process crash in the consumer, or in some cases could allow...

5.4CVSS5.1AI score0.00932EPSS
SaveExploits0References5
osv-rustsec
osv-rustsec
•added 2022/11/30 12:00 p.m.•27 views

RUSTSEC-2022-0069 Improper validation of Windows paths could lead to directory traversal attack

Path resolution in hyper-staticfile didn't correctly validate Windows paths meaning paths like /foo/bar/c:/windows/web/screen/img101.png would be allowed and respond with the contents of c:/windows/web/screen/img101.png. Thus users could potentially read files anywhere on the filesystem. This onl...

7AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/11/23 12:00 p.m.•12 views

RUSTSEC-2022-0094 Mimalloc Can Allocate Memory with Bad Alignment

This crate depended on a promise regarding alignments made by the author of the mimalloc allocator to avoid using aligned allocation functions where possible for performance reasons. Since then, the mimalloc allocator's logic changed, making it break this promise. This caused this crate to return...

7AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/11/19 12:00 p.m.•55 views

RUSTSEC-2022-0089 `aliyun-oss-client` secret exposure

The aliyun-oss-client unintentionally divulges the authentication secret. This bug was fixed in this commit by limiting the concerned traits to be pub only within the crate...

5.6CVSS4.9AI score0.00457EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/11/10 12:00 p.m.•49 views

RUSTSEC-2022-0075 Bug in pooling instance allocator

bug in Wasmtime's implementation of its pooling instance allocator where when a linear memory is reused for another instance the initial heap snapshot of the prior instance can be visible, erroneously to the next instance. Mitigations are described here...

8.6CVSS8.4AI score0.00713EPSS
SaveExploits0References5
osv-rustsec
osv-rustsec
•added 2022/11/10 12:00 p.m.•68 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.00627EPSS
SaveExploits0References4
osv-rustsec
osv-rustsec
•added 2022/11/07 12:00 p.m.•31 views

RUSTSEC-2022-0097 Out of bounds write in `wasmtime_trap_code` C API function

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-h84q-m8rr-3v9q. For more information see the GitHub-hosted security advisory...

3.8CVSS6.6AI score0.00342EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/11/05 12:00 p.m.•17 views

RUSTSEC-2022-0098 Data leakage between instances in the pooling allocator

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-wh6w-3828-g9qf. For more information see the GitHub-hosted security advisory...

8.6CVSS8.4AI score0.00713EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/11/05 12:00 p.m.•20 views

RUSTSEC-2022-0102 Out of bounds read/write with zero-memory-pages configuration

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-44mr-8vmm-wjhg. For more information see the GitHub-hosted security advisory...

5.9CVSS7.3AI score0.00627EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/11/01 12:00 p.m.•56 views

RUSTSEC-2022-0065 X.509 Email Address Variable Length 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 a malicious certificate or for an application to continue certificate...

7.5CVSS7.7AI score0.92488EPSS
SaveExploits2References3
osv-rustsec
osv-rustsec
•added 2022/11/01 12:00 p.m.•60 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/10/31 12:00 p.m.•21 views

RUSTSEC-2022-0079 ELF header parsing library doesn't check for valid offset

The crate has several unsafe sections that don't perform proper pointer validation. An example can be found in the following function: fn sectionheaderraw&self - &ET::SectionHeader let shoff = self.elfheader.sectionheaderoffset as usize; let shnum = self.elfheader.sectionheaderentrynum as usize;...

7.2AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/10/30 12:00 p.m.•53 views

RUSTSEC-2022-0066 Denial of Service from unchecked request length

Prior to version 0.4.2, conduit-hyper did not check any limit on a request's length before calling hyper::body::tobytes. An attacker could send a malicious request with an abnormally large Content-Length, which could lead to a panic if memory allocation failed for that request. In version 0.4.2,...

7.5CVSS7.4AI score0.00749EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/10/25 12:00 p.m.•66 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 2022/10/24 12:00 p.m.•14 views

RUSTSEC-2022-0062 matrix-sdk 0.6.0 logs access tokens

When sending Matrix requests using an affected version of matrix-sdk in an application that writes logs using tracing-subscriber in a way that includes fields of tracing spans such as tracingsubscribers default text output from the fmt module, these logs will contain the user's access token...

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

RUSTSEC-2022-0067 Invalid use of `mem::uninitialized` causes `use-of-uninitialized-value`

The compression and decompression function used mem:uninitialized to create an array of uninitialized values, to later write values into it. This later leads to reads from uninitialized memory. The flaw was corrected in commit b633bf265e41c60dfce3be7eac4e4dd5e18d06cf by using a heap-allocated Vec...

7AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/10/13 12:00 p.m.•22 views

RUSTSEC-2022-0060 orbtk is Unmaintained

The orbtk crate is no longer maintained. Alternatives proposed by the authors: iced slint...

7.1AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/10/11 12:00 p.m.•44 views

RUSTSEC-2022-0059 Using a Custom Cipher with `NID_undef` may lead to NULL encryption

OpenSSL supports creating a custom cipher via the legacy EVPCIPHERmethnew function and associated function calls. This function was deprecated in OpenSSL 3.0 and application authors are instead encouraged to use the new provider mechanism in order to implement custom ciphers. OpenSSL versions 3.0...

7.5CVSS7.4AI score0.0401EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/10/10 12:00 p.m.•38 views

RUSTSEC-2022-0087 Slack Webhooks secrets leak in debug logs

Debug log formatting made it possible to leak Webhooks secrets into debug logs. The patched version has introduced more strict checks to avoid this...

7.5CVSS7.3AI score0.00852EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/10/01 12:00 p.m.•18 views

RUSTSEC-2022-0061 Crate `parity-wasm` deprecated by the author

This PR explicitly deprecates parity-wasm. The author recommends switching to wasm-tools...

7.1AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/09/29 12:00 p.m.•59 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.00616EPSS
SaveExploits0References4
osv-rustsec
osv-rustsec
•added 2022/09/28 12:00 p.m.•19 views

RUSTSEC-2022-0058 Library exclusively intended to inject UB into safe Rust.

Quoting from the crate description: This crate is created purely to inject undefined behavior into stable, safe rust. Specifically, the inconceivable! macro is insta-UB if the ubinconceivable feature is enabled by any reverse dependency. The value this adds is questionable, and hides unsafe code...

7.2AI score
SaveExploits0References2
osv-rustsec
osv-rustsec
•added 2022/09/19 12:00 p.m.•71 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.00449EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/09/07 12:00 p.m.•67 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 2022/08/31 12:00 p.m.•40 views

RUSTSEC-2022-0055 No default limit put on request bodies

::fromrequest would not, by default, set a limit for the size of the request body. That meant if a malicious peer would send a very large or infinite body your server might run out of memory and crash. This also applies to these extractors which used Bytes::fromrequest internally: -...

7.5CVSS7.4AI score0.01002EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2022/08/31 12:00 p.m.•23 views

RUSTSEC-2022-0057 badge is Unmaintained

The maintainer has advised this crate is deprecated and will not receive any maintenance. The crate depends on the deprecated rusttype crate and won't receive updates anymore. Possible Alternatives The below list has not been vetted in any way and may or may not contain alternatives; - badge-make...

7.2AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/08/26 12:00 p.m.•21 views

RUSTSEC-2022-0052 `os_socketaddr` invalidly assumes the memory layout of std::net::SocketAddr

The ossocketaddr 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. These layout were changed into idiomatic rust...

7.1AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/08/25 12:00 p.m.•96 views

RUSTSEC-2022-0051 Memory corruption in liblz4

lz4-sys up to v1.9.3 bundles a version of liblz4 that is vulnerable to CVE-2021-3520. Attackers could craft a payload that triggers an integer overflow upon decompression, causing an out-of-bounds write. The flaw has been corrected in version v1.9.4 of liblz4, which is included in lz4-sys 1.9.4...

9.8CVSS8.7AI score0.03401EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/08/24 12:00 p.m.•20 views

RUSTSEC-2022-0053 mapr is Unmaintained

The mapr fork has been merged back into upstream fork memmap2. The maintainers have advised mapr is deprecated and will not receive any maintenance in favor of using memmap2. Possible Alternatives The below list has not been vetted in any way and may or may not contain alternatives; - memmap2...

7.2AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/08/15 12:00 p.m.•24 views

RUSTSEC-2022-0049 Use after free in MacOS / iOS implementation

In iana-time-zone v0.1.43 a use-after-free bug in the MacOS / iOS implementation was introduced. The copied system time zone was released before its name was copied. If the system time zone was changed between the call of CFRelease and str::toowned, random memory would be copied...

6.8AI score
SaveExploits0References4
osv-rustsec
osv-rustsec
•added 2022/08/07 12:00 p.m.•57 views

RUSTSEC-2022-0088 `tauri`'s `readDir` endpoint allows possible enumeration outside of filesystem scope

It is possible for readDir to incorrectly enumerate files from a symlinked directory if called recursively when specifying an empty string for the dir parameter as outlined in this issue. This is corrected in this PR by checking if a directory is a symlink before reading from it...

5.8CVSS6.5AI score0.01022EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2022/08/04 12:00 p.m.•15 views

RUSTSEC-2022-0050 Interledger is Unmaintained

Interledger family of crates is not being actively maintained anymore. The owner of the published crate does not appear to be responsive. There is an outstanding concern around username comparison. This concern may or may not be resolved by bumping up the dependencies of the project...

7.1AI score
SaveExploits0References4
osv-rustsec
osv-rustsec
•added 2022/08/03 12:00 p.m.•34 views

RUSTSEC-2022-0090 `libsqlite3-sys` via C SQLite CVE-2022-35737

It was sometimes possible for SQLite versions = 1.0.12, 3.39.2 to allow an array-bounds overflow when large string were input into SQLite's printf function. As libsqlite3-sys bundles SQLite, it is susceptible to the vulnerability. libsqlite3-sys was updated to bundle the patched version of SQLite...

7.5CVSS7.1AI score0.23251EPSS
SaveExploits2References3
osv-rustsec
osv-rustsec
•added 2022/08/01 12:00 p.m.•40 views

RUSTSEC-2022-0035 Unbounded memory allocation based on untrusted length

Impact Untrusted websocket connections can cause an out-of-memory OOM process abort in a client or a server. The root cause of the issue is during dataframe parsing. Affected versions would allocate a buffer based on the declared dataframe size, which may come from an untrusted source. When...

7.5CVSS7.4AI score0.01863EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/07/30 12:00 p.m.•33 views

RUSTSEC-2022-0045 Post-Quantum Key Encapsulation Mechanism SIKE broken

Wouter Castryck and Thomas Decru presented an efficient key recovery attack on the SIDH protocol. As a result, the secret key of SIKEp751 can be recovered in a matter of hours. The SIKE and SIDH schemes will be removed from oqs 0.7.2. The affected schemes are the oqs::kem::Algorithm::Sike and...

7.1AI score
SaveExploits0References2
osv-rustsec
osv-rustsec
•added 2022/07/28 12:00 p.m.•61 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
osv-rustsec
osv-rustsec
•added 2022/07/22 12:00 p.m.•16 views

RUSTSEC-2022-0034 Safety issues in `pkcs11`

Impact The interface of pkcs11 is subject to a number of safety issues, mainly related to handling of raw pointers. Despite presenting a safe interface, many of the functions and methods that rely on inputs which contain pointers attributes and mechanisms in particular can lead to segmentation...

7.5AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/07/22 12:00 p.m.•52 views

RUSTSEC-2022-0086 Slack OAuth Secrets leak in debug logs

Debug log formatting made it possible to leak OAuth secrets into debug logs. The patched version has introduced more strict checks to avoid this...

7.5CVSS7.3AI score0.00917EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/07/21 12:00 p.m.•19 views

RUSTSEC-2022-0037 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.5AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/07/12 12:00 p.m.•33 views

RUSTSEC-2022-0100 Use After Free with `externref`s in Wasmtime

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-5fhj-g3p3-pq9g. For more information see the GitHub-hosted security advisory...

8.8CVSS6.6AI score0.0125EPSS
SaveExploits0References3
Total number of security vulnerabilities1310