Lucene search
+L
RustSecRecent

1333 matches found

RustSec
RustSec
•added 2022/10/11 12:00 p.m.•58 views

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
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/10/10 12:00 p.m.•42 views

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.5CVSS2.4AI score0.00852EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/10/01 12:00 p.m.•25 views

Crate `parity-wasm` deprecated by the author

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

1.8AI score
SaveExploits0
RustSec
RustSec
•added 2022/09/29 12:00 p.m.•43 views

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

8.6CVSS4.6AI score0.0063EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/09/28 12:00 p.m.•19 views

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

1.3AI score
SaveExploits0
RustSec
RustSec
•added 2022/09/19 12:00 p.m.•32 views

`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...

4.7CVSS4.7AI score0.00465EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/09/07 12:00 p.m.•24 views

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

9.8CVSS9.2AI score0.00861EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2022/08/31 12:00 p.m.•32 views

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.5CVSS1.2AI score0.01002EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2022/08/31 12:00 p.m.•22 views

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

2.7AI score
SaveExploits0
RustSec
RustSec
•added 2022/08/26 12:00 p.m.•28 views

`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...

2.4AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/08/25 12:00 p.m.•61 views

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.8CVSS5.9AI score0.03401EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/08/24 12:00 p.m.•26 views

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

1.8AI score
SaveExploits0
RustSec
RustSec
•added 2022/08/15 12:00 p.m.•28 views

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

1.4AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/08/07 12:00 p.m.•47 views

`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...

8.3CVSS3.7AI score0.01022EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2022/08/04 12:00 p.m.•25 views

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

2.9AI score
SaveExploits0
RustSec
RustSec
•added 2022/08/03 12:00 p.m.•53 views

`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.5CVSS4.4AI score0.23575EPSS
SaveExploits2Affected Software1
RustSec
RustSec
•added 2022/08/01 12:00 p.m.•77 views

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.5CVSS1.1AI score0.01918EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/07/30 12:00 p.m.•37 views

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

2.6AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/07/28 12:00 p.m.•44 views

Denial of service on deeply nested fragment requests

Deeply nested fragments in a GraphQL request may cause a stack overflow in the server...

7.5CVSS3.3AI score0.01721EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2022/07/22 12:00 p.m.•25 views

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

1.8AI score
SaveExploits0
RustSec
RustSec
•added 2022/07/22 12:00 p.m.•36 views

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.5CVSS2.9AI score0.00917EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/07/21 12:00 p.m.•33 views

Denial of service on deeply nested fragment requests

Deeply nested fragments in a GraphQL request may cause a stack overflow in the server...

3.3AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/07/12 12:00 p.m.•14 views

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.8CVSS7AI score0.0125EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/07/12 12:00 p.m.•24 views

libp2p Lack of resource management DoS

libp2p allows a potential attacker to cause victim p2p node to run out of memory The out of memory failure can cause crashes where libp2p is intended to be used within large scale networks leading to potential Denial of Service DoS vector Users should upgrade or reference the DoS mitigation...

7.5CVSS4.9AI score0.00734EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/07/05 12:00 p.m.•12 views

Miscompilation of constant values in division on AArch64

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

7AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/07/05 12:00 p.m.•141 views

AES OCB fails to encrypt some bytes

AES OCB mode for 32-bit x86 platforms using the AES-NI assembly optimised implementation will not encrypt the entirety of the data under some circumstances. This could reveal sixteen bytes of data that was preexisting in the memory that wasn't written. In the special case of "in place" encryption...

5.3CVSS1.3AI score0.04899EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/07/05 12:00 p.m.•74 views

Heap memory corruption with RSA private key operation

The OpenSSL 3.0.4 release introduced a serious bug in the RSA implementation for X8664 CPUs supporting the AVX512IFMA instructions. This issue makes the RSA implementation with 2048 bit private keys incorrect on such machines and memory corruption will happen during the computation. As a...

10CVSS3.1AI score0.48234EPSS
SaveExploits3Affected Software1
RustSec
RustSec
•added 2022/06/27 12:00 p.m.•21 views

Miscompilation of `i8x16.swizzle` and `select` with v128 inputs

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

6.8CVSS7AI score0.01785EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/06/25 12:00 p.m.•26 views

clipboard is Unmaintained

Last release was almost 4 years ago and the repository with outstanding issues and pull requests seems to be abandoned by the maintainer. In addition the sole maintainer account may be abandoned that may represent account takeover risk. Current outstanding issues include vulnerable dependencies...

1.6AI score
SaveExploits0
RustSec
RustSec
•added 2022/06/11 12:00 p.m.•34 views

Double Public Key Signing Function Oracle Attack on `ed25519-dalek`

Versions of ed25519-dalek prior to v2.0 model private and public keys as separate types which can be assembled into a Keypair, and also provide APIs for serializing and deserializing 64-byte private/public keypairs. Such APIs and serializations are inherently unsafe as the public key is one of th...

5.9CVSS7AI score0.00202EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/06/07 12:00 p.m.•23 views

`MsQueue` `push`/`pop` use the wrong orderings

Affected versions of this crate use orderings which are too weak to support this data structure. It is likely this has caused memory corruption in the wild:...

1.2AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/05/22 12:00 p.m.•29 views

Use after free in Neon external buffers

Neon provides functionality for creating JavaScript ArrayBuffer and the Buffer subtype instances backed by bytes allocated outside of V8/Node. The JsArrayBuffer::external and JsBuffer::external did not require T: 'static prior to Neon 0.10.1. This allowed creating an externally backed buffer from...

1.4AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/05/21 12:00 p.m.•38 views

Panic due to improper UTF-8 indexing

When parsing untrusted rulex expressions, rulex may panic, possibly enabling a Denial of Service attack. This happens when the expression contains a multi- byte UTF-8 code point in a string literal or after a backslash, because rulex tries to slice into the code point and panics as a result. The...

6.5CVSS1.2AI score0.00857EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/05/21 12:00 p.m.•39 views

Stack overflow during recursive expression parsing

When parsing untrusted rulex expressions, the stack may overflow, possibly enabling a Denial of Service attack. This happens when parsing an expression with several hundred levels of nesting, causing the process to abort immediately. The flaw was corrected in commits 60aa2dc03a by adding a check ...

6.5CVSS3.4AI score0.00946EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/05/11 12:00 p.m.•33 views

wee_alloc is Unmaintained

Two of the maintainers have indicated that the crate may not be maintained. The crate has open issues including memory leaks and may not be suitable for production use. It may be best to switch to the default Rust standard allocator on wasm32 targets. Last release seems to have been three years...

2AI score
SaveExploits0
RustSec
RustSec
•added 2022/05/11 12:00 p.m.•27 views

Out-of-bounds read when opening multiple column families with TTL

Affected versions of this crate called the RocksDB C API rocksdbopencolumnfamilieswithttl with a pointer to a single integer TTL value, but one TTL value for each column family is expected. This is only relevant when using rocksdb::DBWithThreadMode::opencfdescriptorswithttl with multiple column...

3AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/05/11 12:00 p.m.•24 views

double-checked-cell is unmaintained

The author recommends switching to oncecell, which offers a superset of the functionality...

3.5AI score
SaveExploits0
RustSec
RustSec
•added 2022/05/11 12:00 p.m.•24 views

`static_type_map` has been renamed to `erased_set`

Please use the erasedset crate going forward: There will be no further releases of statictypemap...

SaveExploits0
RustSec
RustSec
•added 2022/05/10 12:00 p.m.•37 views

`SegQueue` creates zero value of any type

Affected versions of this crate called mem::zeroed to create values of a user-supplied type T. This is unsound e.g. if T is a reference type which must be non-null. The flaw was corrected by avoiding the use of mem::zeroed, using MaybeUninit instead...

3.1AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/05/10 12:00 p.m.•25 views

Parser creates invalid uninitialized value

Affected versions of this crate called mem::uninitialized in the HTTP1 parser to create values of type httparse::Header from the httparse crate. This is unsound, since Header contains references and thus must be non-null. The flaw was corrected by avoiding the use of mem::uninitialized, using...

2AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/05/10 12:00 p.m.•29 views

`SegQueue` creates zero value of any type

Affected versions of this crate called mem::zeroed to create values of a user-supplied type T. This is unsound e.g. if T is a reference type which must be non-null. The flaw was corrected by avoiding the use of mem::zeroed, using MaybeUninit instead...

3.1AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/05/10 12:00 p.m.•29 views

Channel creates zero value of any type

Affected versions of this crate called mem::zeroed to create values of a user-supplied type T. This is unsound e.g. if T is a reference type which must be non-null. The flaw was corrected by avoiding the use of mem::zeroed, using MaybeUninit instead...

2.8AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/05/10 12:00 p.m.•27 views

malicious crate `rustdecimal`

The Rust Security Response WG and the crates.io team were notified1 on 2022-05-02 of the existence of the malicious crate rustdecimal, which contained malware. The crate name was intentionally similar to the name of the popular rustdecimal2 crate, hoping that potential victims would misspell its...

0.5AI score
SaveExploits0
RustSec
RustSec
•added 2022/05/09 12:00 p.m.•44 views

Timing attack

Affecting versions did not compare tokens in constant time, which could make it possible for an attacker to guess the 2fa token of a user. This has been fixed by using using the crate constanttimeeq for comparison...

4.4CVSS4.8AI score0.00863EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/05/03 12:00 p.m.•41 views

`OCSP_basic_verify` may incorrectly verify the response signing certificate

The function OCSPbasicverify verifies the signer certificate on an OCSP response. In the case where the non-default flag OCSPNOCHECKS is used then the response will be positive meaning a successful verification even in the case where the response signing certificate fails to verify. It is...

5.3CVSS1.5AI score0.02141EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/05/03 12:00 p.m.•50 views

Incorrect MAC key used in the RC4-MD5 ciphersuite

The OpenSSL 3.0 implementation of the RC4-MD5 ciphersuite incorrectly uses the AAD data as the MAC key. This makes the MAC key trivially predictable. An attacker could exploit this issue by performing a man-in-the-middle attack to modify data being sent from one endpoint to an OpenSSL 3.0 recipie...

5.9CVSS3.4AI score0.01203EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/05/03 12:00 p.m.•60 views

Resource leakage when decoding certificates and keys

The OPENSSLLHflush function, which empties a hash table, contains a bug that breaks reuse of the memory occupied by the removed hash table entries. This function is used when decoding certificates or keys. If a long lived process periodically decodes certificates or keys its memory usage will...

7.5CVSS1.5AI score0.04583EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/04/27 12:00 p.m.•27 views

`array!` macro is unsound when its length is impure constant

Affected versions of this crate did substitute the array length provided by an user at compile-time multiple times. When an impure constant expression is passed as an array length such as a result of an impure procedural macro, this can result in the initialization of an array with uninitialized...

3.3AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2022/04/24 12:00 p.m.•24 views

Rusoto is unmaintained

The maintainers of Rusoto advise that all its crates are deprecated. This includes the common crates rusotocore, rusotosignature, rusotocredential, and service crates such as rusotos3 and rusotoec2. Users should migrate to the AWS SDK for Rust, which is maintained by AWS...

3.3AI score
SaveExploits0
RustSec
RustSec
•added 2022/04/13 12:00 p.m.•26 views

`rmp-serde` `Raw` and `RawRef` unsound

It was found that Raw::fromutf8 expects valid UTF-8. If invalid UTF-8 is received it can cause the process to crash...

6.7AI score
SaveExploits0Affected Software1
Total number of security vulnerabilities1333