Lucene search
+L
Osv-rustsecMost viewed

1310 matches found

osv-rustsec
osv-rustsec
•added 2023/11/22 12:00 p.m.•494 views

RUSTSEC-2023-0071 Marvin Attack: potential key recovery through timing sidechannels

Impact Due to a non-constant-time implementation, information about the private key is leaked through timing information which is observable over the network. An attacker may be able to use that information to recover the key. Patches No patch is yet available. The crypto-bigint migration...

5.9CVSS6.1AI score0.0061EPSS
SaveExploits0References8
osv-rustsec
osv-rustsec
•added 2026/06/07 12:00 p.m.•251 views

RUSTSEC-2026-0173 proc-macro-error2 is unmaintained

The author of proc-macro-error2 has confirmed that the crate is no longer maintained and recommends that users migrate away from it. proc-macro-error2 was originally created as a maintained fork of proc-macro-error see RUSTSEC-2024-0370. Both the original crate and this fork are now unmaintained...

5.5AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2024/04/03 12:00 p.m.•145 views

RUSTSEC-2024-0332 Degradation of service in h2 servers with CONTINUATION Flood

An attacker can send a flood of CONTINUATION frames, causing h2 to process them indefinitely. This results in an increase in CPU usage. Tokio task budget helps prevent this from a complete denial-of-service, as the server can still respond to legitimate requests, albeit with increased latency. Mo...

7AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2021/07/08 12:00 p.m.•136 views

RUSTSEC-2021-0073 Conversion from `prost_types::Timestamp` to `SystemTime` can cause an overflow and panic

Affected versions of this crate contained a bug in which untrusted input could cause an overflow and panic when converting a Timestamp to SystemTime. It is recommended to upgrade to prost-types v0.8 and switch the usage of From for SystemTime to TryFrom for SystemTime. See 438 for more informatio...

7.5CVSS7.5AI score0.01103EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2021/05/01 12:00 p.m.•131 views

RUSTSEC-2021-0056 CA certificate check bypass with X509_V_FLAG_X509_STRICT

The X509VFLAGX509STRICT flag enables additional security checks of the certificates present in a certificate chain. It is not set by default. Starting from OpenSSL version 1.1.1h a check to disallow certificates in the chain that have explicitly encoded elliptic curve parameters was added as an...

7.4CVSS7.5AI score0.18339EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2026/08/20 12:00 p.m.•116 views

RUSTSEC-2026-0260 `arrayref` 0.3.10 was removed from crates.io due to a malicious dependency

A new version of the arrayref crate was published with a direct dependency on proc-macro1, which would execute a malicious build script. This compromised version was published on 2026-08-20 and removed approximately 86 minutes later. It was downloaded 2,285 times, which constituted less than 10% ...

5.6AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2023/02/07 12:00 p.m.•114 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.8AI score0.23509EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2026/06/25 12:00 p.m.•109 views

RUSTSEC-2026-0190 Unsoundness in `Error::downcast_mut()`

Affected versions of this crate violate borrow rules, resulting in undefined behavior, when the user adds context to an error via Error::context and then later calls Error::downcastmut on the returned Error. The flaw was corrected in commit 6e8c000 by revising how the mutable reference is...

5.8AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2025/04/07 12:00 p.m.•104 views

RUSTSEC-2025-0023 Broadcast channel calls clone in parallel, but does not require `Sync`

The broadcast channel internally calls clone on the stored value when receiving it, and only requires T:Send. This means that using the broadcast channel with values that are Send but not Sync can trigger unsoundness if the clone implementation makes use of the value being !Sync. Thank you to...

5.9AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2021/08/24 12:00 p.m.•103 views

RUSTSEC-2021-0097 SM2 Decryption Buffer Overflow

In order to decrypt SM2 encrypted data an application is expected to call the API function EVPPKEYdecrypt. Typically an application will call this function twice. The first time, on entry, the "out" parameter can be NULL and, on exit, the "outlen" parameter is populated with the buffer size...

9.8CVSS6.8AI score0.87816EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2022/08/25 12:00 p.m.•95 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 2024/09/02 12:00 p.m.•91 views

RUSTSEC-2024-0368 olm-sys: wrapped library unmaintained, potentially vulnerable

After several cryptographic vulnerabilities in libolm were disclosed publicly, the Matrix Foundation has officially deprecated the library. olm-sys is a thin wrapper around libolm and is now deprecated and potentially vulnerable in kind. Users of olm-sys and its higher-level abstraction, olm-rs,...

5.3CVSS4.9AI score0.00536EPSS
SaveExploits3References4
osv-rustsec
osv-rustsec
•added 2022/07/12 12:00 p.m.•89 views

RUSTSEC-2022-0084 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.5CVSS7.3AI score0.00734EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2021/05/01 12:00 p.m.•89 views

RUSTSEC-2021-0057 Integer overflow in CipherUpdate

Calls to EVPCipherUpdate, EVPEncryptUpdate and EVPDecryptUpdate may overflow the output length argument in some cases where the input length is close to the maximum permissable length for an integer on the platform. In such cases the return value from the function call will be 1 indicating succes...

7.5CVSS6.5AI score0.50732EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2020/12/17 12:00 p.m.•88 views

RUSTSEC-2020-0093 Async-h1 request smuggling possible with long unread bodies

This vulnerability affects any webserver that uses async-h1 behind a reverse proxy, including all such Tide applications. If the server does not read the body of a request which is longer than some buffer length, async-h1 will attempt to read a subsequent request from the body content starting at...

7.5CVSS6.5AI score0.0102EPSS
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 2025/12/16 12:00 p.m.•87 views

RUSTSEC-2025-0141 Bincode is unmaintained

Due to a doxxing and harassment incident, the bincode team has taken the decision to cease development permanently. The team considers version 1.3.3 a complete version of bincode that is not in need of any updates. Alternatives to consider wincode postcard bitcode rkyv...

6.8AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2020/11/29 12:00 p.m.•87 views

RUSTSEC-2020-0088 MPMCConsumer/Producer allows sending non-Send type across threads

Affected versions of this crate unconditionally implemented Sync and Send traits for MPMCConsumer and MPMCProducer types. This allows users to send types that do not implement Send trait across thread boundaries, which can cause a data race. The flaw was corrected in the 2.0.1 release by adding T...

5.5CVSS5.2AI score0.00382EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2020/07/09 12:00 p.m.•87 views

RUSTSEC-2020-0024 Improper uniqueness verification of signature threshold

The tough library, prior to 0.7.1, does not properly verify the uniqueness of keys in the signatures provided to meet the threshold of cryptographic signatures. It allows someone with access to a valid signing key to create multiple valid signatures in order to circumvent TUF requiring a minimum...

8.6CVSS9AI score0.01357EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2024/07/18 12:00 p.m.•84 views

RUSTSEC-2024-0355 gix-path can use a fake program files location

Summary When looking for Git for Windows so it can run it to report its paths, gix-path can be tricked into running another git.exe placed in an untrusted location by a limited user account. Details Windows permits limited user accounts without administrative privileges to create new directories ...

6.8CVSS8AI score0.00212EPSS
SaveExploits0References4
osv-rustsec
osv-rustsec
•added 2021/07/08 12:00 p.m.•84 views

RUSTSEC-2021-0074 Incorrect handling of embedded SVG and MathML leads to mutation XSS

Affected versions of this crate did not account for namespace-related parsing differences between HTML, SVG, and MathML. Even if the svg and math elements are not allowed, the underlying HTML parser still treats them differently. Running cleanup without accounting for these differing namespaces...

6.1CVSS6.1AI score0.00708EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2020/10/22 12:00 p.m.•84 views

RUSTSEC-2020-0059 MutexGuard::map can cause a data race in safe code

Affected versions of the crate had a Send/Sync implementation for MappedMutexGuard that only considered variance on T, while MappedMutexGuard dereferenced to U. This could of led to data races in safe Rust code when a closure used in MutexGuard::map returns U that is unrelated to T. The issue was...

4.7CVSS4.7AI score0.00264EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2024/01/23 12:00 p.m.•83 views

RUSTSEC-2024-0009 Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')

Summary Insufficient validation of outbound header values may lead to request splitting or response splitting attacks in scenarios where attackers have sufficient control over outbound headers. Details Outbound trilliumhttp::HeaderValue and trilliumhttp::HeaderName can be constructed infallibly a...

8.1CVSS8.2AI score0.00632EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2021/01/01 12:00 p.m.•83 views

RUSTSEC-2021-0006 Exposes internally used raw pointer

Affected versions of this crate dereference a raw pointer that can be modified without using unsafe code...

7.5CVSS7.4AI score0.01397EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2023/09/19 12:00 p.m.•82 views

RUSTSEC-2023-0082 phonenumber: panic on parsing crafted RF3966 phonenumber inputs

Impact The phonenumber parsing code may panic due to a panic-guarded out-of-bounds access on the phonenumber string. In a typical deployment of rust-phonenumber, this may get triggered by feeding a maliciously crafted phonenumber over the network, specifically the string .;phone-context=. Patches...

8.6CVSS7.9AI score0.00867EPSS
SaveExploits0References4
osv-rustsec
osv-rustsec
•added 2021/09/23 12:00 p.m.•81 views

RUSTSEC-2021-0114 Aliased mutable references from `tls_rand` & `TlsWyRand`

TlsWyRand's implementation of Deref unconditionally dereferences a raw pointer, and returns multiple mutable references to the same object, which is undefined behavior...

9.8CVSS9.4AI score0.01191EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2020/11/02 12:00 p.m.•81 views

RUSTSEC-2020-0081 `mio` invalidly assumes the memory layout of std::net::SocketAddr

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

5.5CVSS5.3AI score0.00391EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2021/01/10 12:00 p.m.•77 views

RUSTSEC-2021-0005 Double drop upon panic in 'fn map_array()'

Affected versions of this crate did not guard against panic within the user-provided function f 2nd parameter of fn maparray, and thus panic within f causes double drop of a single object. The flaw was corrected in the 0.4.0 release by wrapping the object vulnerable to a double drop within...

7.5CVSS7.4AI score0.0139EPSS
SaveExploits1References3
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 2026/05/13 12:00 p.m.•76 views

RUSTSEC-2026-0235 Insufficient archive validation can cause out-of-bounds reads in archives containing Rc/Arc

Shared pointer validation keyed already-validated pointees by their address and type, but did not include pointer metadata. For unsized pointees, an archive could therefore contain multiple Rc, Arc, or weak pointers that shared a data address but used different metadata, such as different slice...

5.5AI score
SaveExploits0References4
osv-rustsec
osv-rustsec
•added 2024/01/23 12:00 p.m.•76 views

RUSTSEC-2024-0008 Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')

Summary Insufficient validation of outbound header values may lead to request splitting or response splitting attacks in scenarios where attackers have sufficient control over outbound headers. Details Outbound trilliumhttp::HeaderValue and trilliumhttp::HeaderName can be constructed infallibly a...

8.1CVSS8.2AI score0.00632EPSS
SaveExploits0References3
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 2023/08/22 12:00 p.m.•75 views

RUSTSEC-2023-0053 rustls-webpki: CPU denial of service in certificate path building

When this crate is given a pathological certificate chain to validate, it will spend CPU time exponential with the number of candidate certificates at each step of path building. Both TLS clients and TLS servers that accept client certificate are affected. We now give each path building operation...

7.5CVSS6.9AI score0.06377EPSS
SaveExploits0References2
osv-rustsec
osv-rustsec
•added 2022/05/21 12:00 p.m.•73 views

RUSTSEC-2022-0030 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.5CVSS6.2AI score0.00946EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2020/11/08 12:00 p.m.•73 views

RUSTSEC-2020-0068 Unexpected panic in multihash `from_slice` parsing code

In versions prior 0.11.3 it's possible to make fromslice panic by feeding it certain malformed input. It's never documented that fromslice and frombytes which wraps it can panic, and its' return type Result suggests otherwise. In practice, fromslice/frombytes is frequently used in networking code...

7.5CVSS7.5AI score0.01388EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2020/09/04 12:00 p.m.•73 views

RUSTSEC-2020-0060 futures_task::waker may cause a use-after-free if used on a type that isn't 'static

Affected versions of the crate did not properly implement a 'static lifetime bound on the waker function. This resulted in a use-after-free if Waker::wake is called after original data had been dropped. The flaw was corrected by adding 'static lifetime bound to the data waker takes...

7.8CVSS7.5AI score0.00499EPSS
SaveExploits1References3
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
osv-rustsec
osv-rustsec
•added 2019/06/13 12:00 p.m.•72 views

RUSTSEC-2019-0007 Processing of maliciously crafted length fields causes memory allocation SIGABRTs

Affected versions of this crate tried to preallocate a vector for an arbitrary amount of bytes announced by the ASN.1-DER length field without further checks. This allows an attacker to trigger a SIGABRT by creating length fields that announce more bytes than the allocator can provide. The flaw w...

7.5CVSS7.5AI score0.01382EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2020/10/31 12:00 p.m.•71 views

RUSTSEC-2020-0072 GenericMutexGuard allows data races of non-Sync types across threads

GenericMutexGuard was given the Sync auto trait as long as T is Send due to its contained members. However, since the guard is supposed to represent an acquired lock and allows concurrent access to the underlying data from different threads, it should only be Sync when the underlying data is. Thi...

5.5CVSS5.3AI score0.00379EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2020/09/03 12:00 p.m.•71 views

RUSTSEC-2020-0039 `index()` allows out-of-bound read and `remove()` has off-by-one error

Slab::index does not perform the boundary checking, which leads to out-of-bound read access. Slab::remove copies an element from an invalid address due to off-by-one error, resulting in memory leakage and uninitialized memory drop...

9.1CVSS8.1AI score0.01529EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2020/04/11 12:00 p.m.•71 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 2019/06/15 12:00 p.m.•71 views

RUSTSEC-2019-0006 Buffer overflow and format vulnerabilities in functions exposed without unsafe

ncurses exposes functions from the ncurses library which: - Pass buffers without length to C functions that may write an arbitrary amount of data, leading to a buffer overflow. instr, mvwinstr, etc - Passes rust &str to strings expecting C format arguments, allowing hostile input to execute a...

9.8CVSS8.7AI score0.01615EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2026/08/20 12:00 p.m.•70 views

RUSTSEC-2026-0266 `internment` 0.8.7 was removed from crates.io due to a malicious dependency

A new version of the internment crate was published with a direct dependency on proc-macro1, which would execute a malicious build script. The compromised version of this crate was published on 2026-08-20, and was removed approximately 90 minutes later. The compromised version was used as part of...

5.6AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2022/03/15 12:00 p.m.•70 views

RUSTSEC-2022-0014 Infinite loop in `BN_mod_sqrt()` reachable when parsing certificates

The BNmodsqrt function, which computes a modular square root, contains a bug that can cause it to loop forever for non-prime moduli. Internally this function is used when parsing certificates that contain elliptic curve public keys in compressed form or explicit elliptic curve parameters with a...

7.5CVSS6.7AI score0.73188EPSS
SaveExploits2References3
osv-rustsec
osv-rustsec
•added 2022/02/28 12:00 p.m.•70 views

RUSTSEC-2022-0011 Miscomputation when performing AES encryption in rust-crypto

The following Rust program demonstrates some strangeness in AES encryption - if you have an immutable key slice and then operate on that slice, you get different encryption output than if you operate on a copy of that key. For these functions, we expect that extending a 16 byte key to a 32 byte k...

7.3AI score
SaveExploits0References2
osv-rustsec
osv-rustsec
•added 2021/02/17 12:00 p.m.•70 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.009EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2026/08/20 12:00 p.m.•69 views

RUSTSEC-2026-0262 `append-only-vec` 0.1.9 was removed from crates.io due to a malicious dependency

A new version of the append-only-vec crate was published with a direct dependency on proc-macro1, which would execute a malicious build script. The compromised version of this crate was published on 2026-08-20, and was removed approximately 107 minutes later. The compromised crate version was use...

5.6AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2024/07/07 12:00 p.m.•69 views

RUSTSEC-2024-0369 phonenumber: panic on parsing crafted phonenumber inputs

Impact The phonenumber parsing code may panic due to a reachable assert! guard on the phonenumber string. In a typical deployment of rust-phonenumber, this may get triggered by feeding a maliciously crafted phonenumber, e.g. over the network, specifically strings of the form...

8.6CVSS8.7AI score0.00711EPSS
SaveExploits0References4
osv-rustsec
osv-rustsec
•added 2022/09/19 12:00 p.m.•69 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/05/09 12:00 p.m.•69 views

RUSTSEC-2022-0018 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.2CVSS4.3AI score0.00863EPSS
SaveExploits0References3
Total number of security vulnerabilities1310