Lucene search
+L
Osv RustsecMost viewed

1310 matches found

osv_rustsec
osv_rustsec
•added 2022/05/22 12:00 p.m.•42 views

RUSTSEC-2022-0028 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...

7.1AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/08/14 12:00 p.m.•42 views

RUSTSEC-2021-0082 vec-const attempts to construct a Vec from a pointer to a const slice

Affected versions of this crate claimed to construct a const Vec with nonzero length and capacity, but that cannot be done because such a Vec requires a pointer from an allocator. The implementation was later changed to just construct a std::borrow::Cow...

7.5CVSS7.3AI score0.01053EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/05/19 12:00 p.m.•42 views

RUSTSEC-2021-0068 Soundness issue in `iced-x86` versions <= 1.10.3

Versions of iced-x86...

9.8CVSS9.3AI score0.01275EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2021/01/31 12:00 p.m.•42 views

RUSTSEC-2021-0031 split_at allows obtaining multiple mutable references to the same data

Affected versions of this crate assumed that Borrow was guaranteed to return the same value on .borrow. The borrowed index value was used to retrieve a mutable reference to a value. If the Borrow implementation returned a different index, the split arena would allow retrieving the index as a...

9.8CVSS9.5AI score0.01528EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2021/01/07 12:00 p.m.•42 views

RUSTSEC-2021-0087 columnar: `Read` on uninitialized buffer may cause UB (ColumnarReadExt::read_typed_vec())

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

9.8CVSS9.4AI score0.01191EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/01/03 12:00 p.m.•42 views

RUSTSEC-2021-0085 'Read' on uninitialized memory may cause UB

Affected versions of this crate passes an uninitialized buffer to a user-provided Read implementation. The crate currently contains 4 occurrences of such cases. Arbitrary Read implementations can read from the uninitialized buffer memory exposure and also can return incorrect number of bytes...

9.8CVSS9.4AI score0.01191EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2020/11/24 12:00 p.m.•42 views

RUSTSEC-2020-0117 QueueSender<T>/QueueReceiver<T>: Send/Sync impls need `T: Send`

Affected versions of this crate unconditionally implemented Send/Sync for QueueSender, allowing to send non-Send T to other threads by invoking &QueueSender.send. This fails to prevent users from creating data races by sending types like Rc or Arc to other threads, which can lead to memory...

8.1CVSS7.9AI score0.00847EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2020/11/15 12:00 p.m.•42 views

RUSTSEC-2020-0136 CopyCell lacks bounds on its Send trait allowing for data races

CopyCell is a Cell-like type that is implemented for any type T that is Copyable. It's Send trait has no bounds on the contained type. As not all Copyable types are thread safe, for example non-mutable references implement the Copy trait, it is possible to send references to types with interior...

8.1CVSS8AI score0.01098EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2019/09/01 12:00 p.m.•42 views

RUSTSEC-2019-0016 Use-after-free in buffer conversion implementation

The From implementation for Vec was not properly implemented, returning a vector backed by freed memory. This could lead to memory corruption or be exploited to cause undefined behavior. A fix was published in version 0.1.3...

9.8CVSS9.3AI score0.01634EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2018/12/20 12:00 p.m.•42 views

RUSTSEC-2018-0012 Flaw in streaming state reset() functions can create incorrect results.

Affected versions of this crate did not properly reset a streaming state. Resetting a streaming state, without finalising it first, creates incorrect results. The flaw was corrected by not first checking if the state had already been reset, when calling reset...

7.5CVSS7.5AI score0.01598EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2018/06/29 12:00 p.m.•42 views

RUSTSEC-2018-0002 Links in archives can overwrite any existing file

When unpacking a tarball with the unpackin-family of functions it's intended that only files within the specified directory are able to be written. Tarballs with hard links or symlinks, however, can be used to overwrite any file on the filesystem. Tarballs can contain multiple entries for the sam...

7.5CVSS7.4AI score0.01676EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/08/01 12:00 p.m.•41 views

RUSTSEC-2026-0229 NIP-98 authorization parsing permits resource exhaustion

The NIP-98 HTTP authorization parser Base64-decoded the complete authorization value and parsed the resulting JSON event without applying an application-level size limit. Both operations occurred before the event's signature and authorization fields could be validated. An unauthenticated remote...

7.5CVSS5.6AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/06/04 12:00 p.m.•41 views

RUSTSEC-2026-0165 `pqcrypto-falcon` is unmaintained: upstream PQClean project being archived

This crate provides Rust bindings to the Falcon FN-DSA signature scheme via C implementations from PQClean. The PQClean project is being archived in or after July 2026 see PQClean/PQClean604, after which no further security patches or bug fixes will be applied to the upstream implementations. As ...

5.8AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/04/09 12:00 p.m.•41 views

RUSTSEC-2026-0093 Heap OOB read in component model UTF-16 to latin1+utf16 string transcoding

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

6.9CVSS5.9AI score0.00464EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2024/09/06 12:00 p.m.•41 views

RUSTSEC-2024-0371 gix-path improperly resolves configuration path reported by Git

Summary gix-path runs git to find the path of a configuration file associated with the git installation, but improperly resolves paths containing unusual or non-ASCII characters, in rare cases enabling a local attacker to inject configuration leading to code execution. Details In gixpath::env, th...

6CVSS6.9AI score0.00257EPSS
SaveExploits0References4
osv_rustsec
osv_rustsec
•added 2022/11/30 12:00 p.m.•41 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 2021/07/30 12:00 p.m.•41 views

RUSTSEC-2021-0103 Partial read is incorrect in molecule

Anyone who uses totalsize.. function to partial read the length of any FixVec will get an incorrect result, due to an incorrect implementation. This has been resolved in the 0.7.2 release...

9.8CVSS5.8AI score0.01318EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/07/25 12:00 p.m.•41 views

RUSTSEC-2021-0107 Miner fails to get block template when a cell used as a cell dep has been destroyed.

Impact The RPC getblocktemplate fails when a cell has been used as a cell dep and an input in the different transactions. Say cell C is used as a dep group in the transaction A, and is destroyed in the transaction B. The node adds transaction A first, then B into the transaction pool. They are bo...

9.8CVSS9.3AI score0.01191EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/07/15 12:00 p.m.•41 views

RUSTSEC-2021-0106 Uncontrolled Search Path Element in sharkdp/bat

bat on windows before 0.18.2 executes programs named less.exe from the current working directory. This can lead to unintended code execution...

7.8CVSS7.7AI score0.00356EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/05/27 12:00 p.m.•41 views

RUSTSEC-2021-0101 Permissions bypass in pleaser

Failure to normalize the umask in pleaser before 0.4 allows a local attacker to gain full root privileges if they are allowed to execute at least one command...

7.8CVSS7.6AI score0.00408EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2021/01/17 12:00 p.m.•41 views

RUSTSEC-2021-0004 Missing Send bound for Lazy

All current versions of this crate allow causing data races in safe code. The flaw will be fixed in the next release...

5.3CVSS5.1AI score0.01331EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2020/12/21 12:00 p.m.•41 views

RUSTSEC-2020-0105 Update unsound DrainFilter and RString::retain

Affected versions of this crate contained code from the Rust standard library that contained soundness bugs rust-lang/rust60977 double drop & rust-lang/rust78498 create invalid utf-8 string. The flaw was corrected in v0.9.1 by making a similar fix to the one made in the Rust standard library...

7.5CVSS7.4AI score0.0143EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2020/12/10 12:00 p.m.•41 views

RUSTSEC-2020-0099 Aovec<T> lacks bound on its Send and Sync traits allowing data races

aovec::Aovec is a vector type that implements Send and Sync for all types T. This allows non-Send types such as Rc and non-Sync types such as Cell to be used across thread boundaries which can trigger undefined behavior and memory corruption...

7CVSS6.8AI score0.00289EPSS
SaveExploits0References2
osv_rustsec
osv_rustsec
•added 2020/12/09 12:00 p.m.•41 views

RUSTSEC-2020-0139 dces' World type can cause data races

The World type in dces is marked as Send without bounds on its EntityStore and ComponentStore. This allows non-thread safe EntityStore and ComponentStores to be sent across threads and cause data races...

8.1CVSS7.9AI score0.01098EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2020/12/08 12:00 p.m.•41 views

RUSTSEC-2020-0104 ImageChunkMut needs bounds on its Send and Sync traits

In the affected versions of this crate, ImageChunkMut unconditionally implements Send and Sync, allowing to create data races. This can result in a memory corruption or undefined behavior when non thread-safe types are moved and referenced across thread boundaries. The flaw was corrected in commi...

7CVSS6.9AI score0.00348EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2020/12/06 12:00 p.m.•41 views

RUSTSEC-2020-0082 ordered_float:NotNan may contain NaN after panic in assignment operators

After using an assignment operators such as NotNan::addassign, NotNan::mulassign, etc., it was possible for the resulting NotNan value to contain a NaN. This could cause undefined behavior in safe code, because the safe NotNan::cmp method contains internal unsafe code that assumes the value is...

5.5CVSS5.4AI score0.00392EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2020/11/24 12:00 p.m.•41 views

RUSTSEC-2020-0128 Cache<K>: Send/Sync impls needs trait bounds on `K`

Affected versions of this crate unconditionally implement Send/Sync for Cache. This allows users to insert K that is not Send or not Sync. This allows users to create data races by using non-Send types like Arc or Rc as K in Cache. It is also possible to create data races by using types like Cell...

8.1CVSS8AI score0.01098EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2020/11/14 12:00 p.m.•41 views

RUSTSEC-2020-0134 `LockWeak<T>` allows to create data race to `T`.

In the affected versions of this crate, LockWeak unconditionally implemented Send with no trait bounds on T. LockWeak doesn't own T and only provides &T. This allows concurrent access to a non-Sync T, which can cause undefined behavior like data races...

8.1CVSS7.9AI score0.00833EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2020/11/11 12:00 p.m.•41 views

RUSTSEC-2020-0069 Argument injection in sendmail transport

Affected versions of lettre allowed argument injection to the sendmail command. It was possible, using forged to addresses, to pass arbitrary arguments to the sendmail executable. Depending on the implementation original sendmail, postfix, exim, etc. it could be possible in some cases to write...

5.3CVSS5.3AI score0.01522EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2020/06/02 12:00 p.m.•41 views

RUSTSEC-2020-0157 Improper Synchronization and Race Condition in vm-memory

rust-vmm vm-memory before 0.1.1 and 0.2.x before 0.2.1 allows attackers to cause a denial of service loss of IP networking because readobj and writeobj do not properly access memory. This affects aarch64 with musl or glibc and x8664 with musl...

7.5CVSS7.3AI score0.01599EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2020/06/01 12:00 p.m.•41 views

RUSTSEC-2020-0027 traitobject assumes the layout of fat pointers

This crate gets the data pointer from fat pointers assuming that the first element in a fat pointer is the data pointer. This is currently true, but it may change in a future Rust version, leading to memory corruption. This has been fixed in the master branch of the crate, but is has not been...

9.8CVSS9.3AI score0.01731EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2019/10/14 12:00 p.m.•41 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/09/06 12:00 p.m.•41 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 2026/08/01 12:00 p.m.•40 views

RUSTSEC-2026-0227 NIP-44 v2 decryption permits resource exhaustion

The NIP-44 decryption entry point Base64-decoded the complete attacker-controlled payload before determining its version or enforcing any size limit. For v2 payloads, the decoded buffer was then authenticated with HMAC even when it was much larger than the maximum payload supported by the crate's...

7.5CVSS5.7AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/07/06 12:00 p.m.•40 views

RUSTSEC-2026-0205 `Array::insert` violates exception safety if compare function panics, leading to potential Double-Free

In affected versions of this crate, Array::insert is not exception safe. In the UPSERT path, key and value's snapshot is written to self.datablock, and after the insertion is completed, key and value are mem::forget in order to prevent double free. However, during the insertion, K::compare is...

5.9AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/06/04 12:00 p.m.•40 views

RUSTSEC-2026-0166 `pqcrypto-mldsa` is unmaintained: upstream PQClean project being archived

This crate provides Rust bindings to ML-DSA FIPS 204 via C implementations from PQClean. The PQClean project is being archived in or after July 2026 see PQClean/PQClean604, after which no further security patches or bug fixes will be applied to the upstream implementations. As a result, this crat...

5.8AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/05/26 12:00 p.m.•40 views

RUSTSEC-2026-0212 Potentially Incorrect Output of Constant-Time Swap/Select on Aarch64

The implementation of constant-time swap and select on aarch64 platforms used a cmp instruction in inline assembly to check whether an 8-bit wide selector was 0. The cmp instruction works on 32-bit registers, which included the unspecified high 24 bits of the cmp operand. Depending on the executi...

8.2CVSS5.8AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2023/03/14 12:00 p.m.•40 views

RUSTSEC-2023-0025 Gitoxide has renamed its crates.

All crates in the gitoxide project have been renamed from git- to gix-. The git- prefixed crates are no longer being updated. Switch to using gix-hash to continue receiving updates...

7.2AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2023/01/09 12:00 p.m.•40 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 2022/10/10 12:00 p.m.•40 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/05/11 12:00 p.m.•40 views

RUSTSEC-2022-0054 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...

7.2AI score
SaveExploits0References6
osv_rustsec
osv_rustsec
•added 2021/07/22 12:00 p.m.•40 views

RUSTSEC-2021-0077 `better-macro` has deliberate RCE to prove a point

better-macro is a fake crate which is "Proving A Point" that proc-macros can run arbitrary code. This is not a particularly novel or interesting observation. It currently opens https://github.com/raycar5/better-macro/blob/master/doc/hi.md which doesn't appear to have any malicious content, but...

9.8CVSS9.4AI score0.02567EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2021/07/08 12:00 p.m.•40 views

RUSTSEC-2021-0075 Flaw in `FieldVar::mul_by_inverse` allows unsound R1CS constraint systems

Versions 0.2.0 to 0.3.0 of ark-r1cs-std did not enforce any constraints in the FieldVar::mulbyinverse method, allowing a malicious prover to produce an unsound proof that passes all verifier checks. This method was used primarily in scalar multiplication for shortweierstrass::ProjectiveVar. This...

9.8CVSS9.4AI score0.01275EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2021/06/12 12:00 p.m.•40 views

RUSTSEC-2021-0071 `grep-cli` may run arbitrary executables on Windows

On Windows in versions of grep-cli prior to 0.1.6, it's possible for some of the routines to execute arbitrary executables. In particular, a quirk of the Windows process execution API is that it will automatically consider the current directory before other directories when resolving relative...

9.8CVSS8.7AI score0.01934EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/05/04 12:00 p.m.•40 views

RUSTSEC-2021-0063 XSS in `comrak`

comrak operates by default in a "safe" mode of operation where unsafe content, such as arbitrary raw HTML or URLs with non-standard schemes, are not permitted in the output. This is per the reference GFM implementation, cmark-gfm. Ampersands were not being correctly escaped in link targets, makin...

6.1CVSS6.2AI score0.00741EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2021/02/21 12:00 p.m.•40 views

RUSTSEC-2021-0026 XSS in `comrak`

The comrak we were matching unsafe URL prefixes, such as data: or javascript: , in a case-sensitive manner. This meant prefixes like Data: were untouched...

6.1CVSS6.1AI score0.00686EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/02/17 12:00 p.m.•40 views

RUSTSEC-2021-0029 Tape::take_bytes exposes uninitialized memory to a user-provided Read

Affected versions of this crate passed an unininitialized buffer to a user-provided Read instance in Tape::takebytes. This can result in safe Read implementations reading from the uninitialized buffer leading to undefined behavior. The flaw was corrected in commit 1f2dc7f37dd by removing the unsa...

7.5CVSS7.5AI score0.01175EPSS
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2021/02/09 12:00 p.m.•40 views

RUSTSEC-2021-0044 Use after free possible in `uri::Formatter` on panic

Affected versions of this crate transmuted a &str to a &'static str before pushing it into a StackVec, this value was then popped later in the same function. This was assumed to be safe because the reference would be valid while the method's stack was active. In between the push and the pop,...

7.3CVSS7AI score0.01025EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2020/11/12 12:00 p.m.•40 views

RUSTSEC-2020-0130 Bunch<T> unconditionally implements Send/Sync

Affected versions of this crate unconditionally implements Send/Sync for Bunch. This allows users to insert T: !Sync to Bunch. It is possible to create a data race to a T: !Sync by invoking the Bunch::get API which returns &T from multiple threads. It is also possible to send T: !Send to other...

8.1CVSS7.9AI score0.01249EPSS
SaveExploits1References3
osv_rustsec
osv_rustsec
•added 2020/11/07 12:00 p.m.•40 views

RUSTSEC-2020-0078 `net2` invalidly assumes the memory layout of std::net::SocketAddr

The net2 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.2AI score0.00404EPSS
SaveExploits2References3
Total number of security vulnerabilities1310