Lucene search
+L
OSV RUSTSECRecent

1525 matches found

osv_rustsec
osv_rustsec
•added 2023/02/20 12:00 p.m.•55 views

RUSTSEC-2023-0043 ftp is unmaintained, use suppaftp instead

The ftp crate is not maintained any more; use suppaftp instead...

7.2AI score
SaveExploits0References5
osv_rustsec
osv_rustsec
•added 2023/02/14 12:00 p.m.•35 views

RUSTSEC-2023-0081 safemem is unmaintained

The latest crates.io release was in 2019. The repository has been archived by the author. Migration - safemem::copyoverslice, srcidx, destidx, len; can be replaced with slice.copywithinsrcidx..srcidx+len, destidx; as of rust 1.37.0. - safemem::writebytesslice, byte; can be replaced with...

7.1AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2023/02/13 12:00 p.m.•31 views

RUSTSEC-2023-0014 Miscompilation in cortex-m-rt 0.7.1 and 0.7.2

Version 0.7.1 of the cortex-m-rt crate introduced a regression causing the stack to NOT be eight-byte aligned prior to calling main or any other specified entrypoint, violating the stack ABI of AAPCS32, the default ABI used by all Cortex-M targets. This regression is also present in version 0.7.2...

7.1AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2023/02/07 12:00 p.m.•65 views

RUSTSEC-2023-0006 X.400 address type confusion in X.509 `GeneralName`

There is a type confusion vulnerability relating to X.400 address processing inside an X.509 GeneralName. X.400 addresses were parsed as an ASN1STRING but the public structure definition for GENERALNAME incorrectly specified the type of the x400Address field as ASN1TYPE. This field is subsequentl...

7.4CVSS6.9AI score0.05217EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2023/02/07 12:00 p.m.•58 views

RUSTSEC-2023-0010 Double free after calling `PEM_read_bio_ex`

The function PEMreadbioex reads a PEM file from a BIO and parses and decodes the "name" e.g. "CERTIFICATE", any header data and the payload data. If the function succeeds then the "nameout", "header" and "data" arguments are populated with pointers to buffers containing the relevant decoded data...

7.5CVSS7.3AI score0.02874EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2023/02/07 12:00 p.m.•44 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.3AI score0.01768EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2023/02/07 12:00 p.m.•39 views

RUSTSEC-2023-0011 Invalid pointer dereference in `d2i_PKCS7` functions

An invalid pointer dereference on read can be triggered when an application tries to load malformed PKCS7 data with the d2iPKCS7, d2iPKCS7bio or d2iPKCS7fp functions. The result of the dereference is an application crash which could lead to a denial of service attack. The TLS implementation in...

7.5CVSS7.3AI score0.01768EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2023/02/07 12:00 p.m.•137 views

RUSTSEC-2023-0007 Timing Oracle in RSA Decryption

A timing based side channel exists in the OpenSSL RSA Decryption implementation which could be sufficient to recover a plaintext across a network in a Bleichenbacher style attack. To achieve a successful decryption an attacker would have to be able to send a very large number of trial messages fo...

5.9CVSS6.9AI score0.02604EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2023/02/07 12:00 p.m.•37 views

RUSTSEC-2023-0012 `NULL` dereference validating DSA public key

An invalid pointer dereference on read can be triggered when an application tries to check a malformed DSA public key by the EVPPKEYpubliccheck function. This will most likely lead to an application crash. This function can be called on public keys supplied from untrusted sources which could allo...

7.5CVSS7.3AI score0.01768EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2023/02/07 12:00 p.m.•57 views

RUSTSEC-2023-0008 X.509 Name Constraints Read Buffer Overflow

A read 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...

4.9CVSS6.9AI score0.00938EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2023/02/07 12:00 p.m.•57 views

RUSTSEC-2023-0009 Use-after-free following `BIO_new_NDEF`

The public API function BIOnewNDEF is a helper function used for streaming ASN.1 data via a BIO. It is primarily used internally to OpenSSL to support the SMIME, CMS and PKCS7 streaming capabilities, but may also be called directly by end user applications. The function receives a BIO from the...

7.5CVSS7.2AI score0.04701EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2023/02/04 12:00 p.m.•22 views

RUSTSEC-2023-0126 Aliasing violation in `OrdSet` insertion

Inserting into an im::OrdSet for example by collecting an iterator into one can violate Rust's aliasing rules: Miri reports a stacked borrows violation in sizedchunks::Chunk::forcecopy, which is called during insertion, where a shared borrow is invalidated by a unique borrow before the read throu...

5.4AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2023/01/24 12:00 p.m.•29 views

RUSTSEC-2023-0028 buf_redux is Unmaintained

Last release was over three years ago. The maintainers have been unreachable to respond to any issues that may or may not include security issues. The repository is now archived and there is no security policy in place to contact the maintainers otherwise. The safety-undocumented unsafe in the...

7.3AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2023/01/21 12:00 p.m.•34 views

RUSTSEC-2023-0019 `kuchiki` is unmaintained

The kuchiki repo was marked as archived in this commit. Possible Alternatives Possible alternatives may include: - kuchikiki - html5ever - xml-rs...

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

RUSTSEC-2023-0003 git2 does not verify SSH keys by default

The git2 and libgit2-sys crates are Rust wrappers around the libgit2 C library. It was discovered that libgit2 1.5.0 and below did not verify SSH host keys when establishing an SSH connection, exposing users of the library to Man-In-the-Middle attacks. The libgit2 team assigned...

5.9CVSS5.9AI score0.0047EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2023/01/12 12:00 p.m.•74 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.8AI score0.00667EPSS
SaveExploits0References4
osv_rustsec
osv_rustsec
•added 2023/01/11 12:00 p.m.•36 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.•52 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.1AI score0.01345EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2023/01/04 12:00 p.m.•39 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.4CVSS6AI score0.00741EPSS
SaveExploits0References5
osv_rustsec
osv_rustsec
•added 2022/12/23 12:00 p.m.•26 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.•26 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.•39 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.•31 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.•48 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.•38 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/30 12:00 p.m.•26 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.•50 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.4CVSS6AI score0.01089EPSS
SaveExploits0References4
osv_rustsec
osv_rustsec
•added 2022/11/23 12:00 p.m.•21 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.•70 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.6CVSS5.5AI score0.00639EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2022/11/10 12:00 p.m.•90 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.4CVSS7.2AI score0.00798EPSS
SaveExploits0References4
osv_rustsec
osv_rustsec
•added 2022/11/10 12:00 p.m.•62 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.6CVSS7.7AI score0.00964EPSS
SaveExploits0References5
osv_rustsec
osv_rustsec
•added 2022/11/07 12:00 p.m.•48 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.8CVSS8.2AI score0.00472EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2022/11/05 12:00 p.m.•24 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.6CVSS7.6AI score0.00964EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2022/11/05 12:00 p.m.•36 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.1AI score0.00798EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2022/11/01 12:00 p.m.•70 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.5CVSS8.1AI score0.77069EPSS
SaveExploits6References3
osv_rustsec
osv_rustsec
•added 2022/11/01 12:00 p.m.•66 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.03718EPSS
SaveExploits2References3
osv_rustsec
osv_rustsec
•added 2022/10/31 12:00 p.m.•32 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.•68 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.2AI score0.00921EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2022/10/25 12:00 p.m.•80 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.5CVSS7.2AI score0.00773EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2022/10/24 12:00 p.m.•24 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.•49 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.•33 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.•58 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.5CVSS6.9AI score0.05777EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2022/10/10 12:00 p.m.•48 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.5CVSS6.9AI score0.00964EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2022/10/01 12:00 p.m.•27 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.•76 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.2AI score0.00684EPSS
SaveExploits0References4
osv_rustsec
osv_rustsec
•added 2022/09/28 12:00 p.m.•25 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.•85 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.3CVSS5.5AI score0.00601EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2022/09/07 12:00 p.m.•87 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.4CVSS8.2AI score0.00858EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2022/08/31 12:00 p.m.•52 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.2AI score0.01104EPSS
SaveExploits1References3
Total number of security vulnerabilities1525