Lucene search
+L
Osv-rustsecRecent

1310 matches found

osv-rustsec
osv-rustsec
•added 2021/07/30 12:00 p.m.•39 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.•38 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/25 12:00 p.m.•35 views

RUSTSEC-2021-0109 Process crashes when the cell used as DepGroup is not alive

It's easy to create a malign transaction which uses the dead cell as the DepGroup in the DepCells. The transaction can crash all the receiving nodes...

7.8CVSS7.3AI score0.01088EPSS
SaveExploits0References2
osv-rustsec
osv-rustsec
•added 2021/07/25 12:00 p.m.•39 views

RUSTSEC-2021-0108 Remote memory exhaustion in ckb

In the ckb sync protocol, SyncState maintains a HashMap called 'misbehavior' that keeps a score of a peer's violations of the protocol. This HashMap is keyed to PeerIndex an alias for SessionId, and entries are never removed from it. SessionId is an integer that increases monotonically with every...

7.8CVSS7.5AI score0.01466EPSS
SaveExploits0References2
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/19 12:00 p.m.•42 views

RUSTSEC-2021-0080 Links in archive can create arbitrary directories

When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point. rust use std::io, io::Result; use tar::Archive,...

7.5CVSS7.1AI score0.01392EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2021/07/15 12:00 p.m.•39 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/07/13 12:00 p.m.•59 views

RUSTSEC-2021-0076 libsecp256k1 allows overflowing signatures

libsecp256k1 accepts signatures whose R or S parameter is larger than the secp256k1 curve order, which differs from other implementations. This could lead to invalid signatures being verified. The error is resolved in 0.5.0 by adding a checkoverflow flag...

9.8CVSS9.3AI score0.00935EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2021/07/12 12:00 p.m.•45 views

RUSTSEC-2021-0105 Relative Path Traversal in git-delta

git-delta before 0.8.3 on Windows resolves an executable's pathname as a relative path from the current directory...

7.8CVSS7.5AI score0.00422EPSS
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/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 2021/07/08 12:00 p.m.•37 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/07/07 12:00 p.m.•32 views

RUSTSEC-2021-0079 Integer overflow in `hyper`'s parsing of the `Transfer-Encoding` header leads to data loss

When decoding chunk sizes that are too large, hyper's code would encounter an integer overflow. Depending on the situation, this could lead to data loss from an incorrect total size, or in rarer cases, a request smuggling attack. To be vulnerable, you must be using hyper for any HTTP/1 purpose,...

9.1CVSS9.1AI score0.01155EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2021/07/07 12:00 p.m.•20 views

RUSTSEC-2021-0072 Task dropped in wrong thread when aborting `LocalSet` task

When aborting a task with JoinHandle::abort, the future is dropped in the thread calling abort if the task is not currently being executed. This is incorrect for tasks spawned on a LocalSet. This can easily result in race conditions as many projects use Rc or RefCell in their Tokio tasks for bett...

5.9CVSS6.2AI score0.00833EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2021/07/07 12:00 p.m.•47 views

RUSTSEC-2021-0078 Lenient `hyper` header parsing of `Content-Length` could allow request smuggling

hyper's HTTP header parser accepted, according to RFC 7230, illegal contents inside Content-Length headers. Due to this, upstream HTTP proxies that ignore the header may still forward them along if it chooses to ignore the error. To be vulnerable, hyper must be used as an HTTP/1 server and using ...

5.3CVSS5AI score0.01126EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2021/07/04 12:00 p.m.•18 views

RUSTSEC-2021-0145 Potential unaligned read

On windows, atty dereferences a potentially unaligned pointer. In practice however, the pointer won't be unaligned unless a custom global allocator is used. In particular, the System allocator on windows uses HeapAlloc, which guarantees a large enough alignment. atty is Unmaintained A Pull Reques...

7.1AI score
SaveExploits0References5
osv-rustsec
osv-rustsec
•added 2021/06/16 12:00 p.m.•64 views

RUSTSEC-2021-0081 Potential request smuggling capabilities due to lack of input validation

Affected versions of this crate did not properly detect invalid requests that could allow HTTP/1 request smuggling HRS attacks when running alongside a vulnerable front-end proxy server. This can result in leaked internal and/or user data, including credentials, when the front-end proxy is also...

7.5CVSS7.4AI score0.0181EPSS
SaveExploits1References2
osv-rustsec
osv-rustsec
•added 2021/06/12 12:00 p.m.•37 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/06/11 12:00 p.m.•32 views

RUSTSEC-2021-0156 Triton VM Soundness Vulnerability due to Missing Constraint

The instruction spongeabsorbmem Triton VM fails to verify that hashed values come from the claimed memory location. Malicious provers can substitute arbitrary data instead of actual memory contents. Any application using instruction spongeabsorbmem to hash memory data can be given a proof for a...

5.6AI score
SaveExploits0References2
osv-rustsec
osv-rustsec
•added 2021/06/06 12:00 p.m.•29 views

RUSTSEC-2021-0070 VecStorage Deserialize Allows Violation of Length Invariant

The Deserialize implementation for VecStorage did not maintain the invariant that the number of elements must equal nrows ncols. Deserialization of specially crafted inputs could allow memory access beyond allocation of the vector. This flaw was introduced in v0.11.0 086e6e due to the addition of...

9.8CVSS9.4AI score0.01411EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2021/06/01 12:00 p.m.•42 views

RUSTSEC-2021-0095 `mopa` is technically unsound

The mopa crate redefines the deprecated TraitObject struct from core::raw like so: rust reprC deriveCopy, Clone dochidden pub struct TraitObject pub data: mut , pub vtable: mut , This is done to then transmute a reference to a trait object &dyn Trait for any trait Trait into this struct and...

9.8CVSS9.7AI score0.01646EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2021/05/27 12:00 p.m.•24 views

RUSTSEC-2021-0104 File exposure in pleaser

pleaser before 0.4 allows a local unprivileged attacker to gain knowledge about the existence of files or directories in privileged locations via the searchpath function, the --check option, or the -d option...

3.3CVSS3.9AI score0.00426EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2021/05/27 12:00 p.m.•33 views

RUSTSEC-2021-0102 Permissions bypass in pleaser

pleaseedit in pleaser before 0.4 uses predictable temporary filenames in /tmp and the target directory. This allows a local attacker to gain full root privileges by staging a symlink attack...

7.8CVSS7.5AI score0.00468EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2021/05/27 12:00 p.m.•37 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/05/22 12:00 p.m.•54 views

RUSTSEC-2021-0069 SMTP command injection in body

Affected versions of lettre allowed SMTP command injection through an attacker's controlled message body. The module for escaping lines starting with a period wouldn't catch a period that was placed after a double CRLF sequence, allowing the attacker to end the current message and write arbitrary...

9.8CVSS9.7AI score0.01494EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2021/05/21 12:00 p.m.•65 views

RUSTSEC-2021-0067 Memory access due to code generation flaw in Cranelift module

There is a bug in 0.73.0 of the Cranelift x64 backend that can create a scenario that could result in a potential sandbox escape in a WebAssembly module. Users of versions 0.73.0 of Cranelift should upgrade to either 0.73.1 or 0.74 to remediate this vulnerability. Users of Cranelift prior to 0.73...

8.8CVSS8.7AI score0.00455EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2021/05/20 12:00 p.m.•22 views

RUSTSEC-2021-0146 Crate `twoway` deprecated by the author

The commit e99b3c7 releasing version 0.2.2 explicitly deprecates twoway in favour of memchr crate...

7.1AI score
SaveExploits0References4
osv-rustsec
osv-rustsec
•added 2021/05/19 12:00 p.m.•39 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/05/11 12:00 p.m.•19 views

RUSTSEC-2021-0066 Denial of service on EVM execution due to memory over-allocation

Prior to the patch, when executing specific EVM opcodes related to memory operations that use evmcore::Memory::copylarge, the crate can over-allocate memory when it is not needed, making it possible for an attacker to perform denial-of-service attack. The flaw was corrected in commit 19ade85...

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

RUSTSEC-2021-0065 anymap is unmaintained.

The anymap crate does not appear to be maintained, and the most recent published version 0.12.1 includes a soundness bug. This has been fixed a few years ago, but was never released...

9.8CVSS9.2AI score0.01441EPSS
SaveExploits1References3
osv-rustsec
osv-rustsec
•added 2021/05/06 12:00 p.m.•13 views

RUSTSEC-2021-0064 `cpuid-bool` has been renamed to `cpufeatures`

Please use the cpufeatures crate going forward: There will be no further releases of cpuid-bool...

7.1AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2021/05/04 12:00 p.m.•37 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/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 2021/05/01 12:00 p.m.•49 views

RUSTSEC-2021-0058 Null pointer deref in `X509_issuer_and_serial_hash()`

The OpenSSL public API function X509issuerandserialhash attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field which might occur if the...

5.9CVSS6.5AI score0.0741EPSS
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 2021/05/01 12:00 p.m.•53 views

RUSTSEC-2021-0055 NULL pointer deref in signature_algorithms processing

An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signaturealgorithms extension where it was present in the initial ClientHello, but includes a signaturealgorithmscert extension then a NU...

5.9CVSS6.7AI score0.63542EPSS
SaveExploits3References3
osv-rustsec
osv-rustsec
•added 2021/04/29 12:00 p.m.•19 views

RUSTSEC-2021-0059 `aesni` has been merged into the `aes` crate

Please use the aes crate going forward. The new repository location is at: AES-NI is now autodetected at runtime on i686/x86-64 platforms. If AES-NI is not present, the aes crate will fallback to a constant-time portable software implementation. To prevent this fallback and have absence of AES-NI...

7AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2021/04/29 12:00 p.m.•17 views

RUSTSEC-2021-0061 `aes-ctr` has been merged into the `aes` crate

Please use the aes crate going forward. The new repository location is at: The aes crate now has an optional ctr feature which autodetects SIMD features on i686/x86-64 targets and uses them if available, or otherwise falls back to the implementation in the ctr crate. If you would prefer not to ha...

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

RUSTSEC-2021-0060 `aes-soft` has been merged into the `aes` crate

Please use the aes crate going forward. The new repository location is at: AES-NI is now autodetected at runtime on i686/x86-64 platforms. If AES-NI is not present, the aes crate will fallback to a constant-time portable software implementation. To force the use of a constant-time portable...

7AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2021/04/28 12:00 p.m.•45 views

RUSTSEC-2021-0054 Archives may contain uninitialized memory

rkyv is a serialization framework that writes struct-compatible memory to be stored or transmitted. During serialization, struct padding bytes and unused enum bytes may not be initialized. These bytes may be written to disk or sent over unsecured channels...

7.5CVSS7.4AI score0.01079EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2021/04/07 12:00 p.m.•18 views

RUSTSEC-2021-0136 `sass-rs` has been deprecated

The sass-rs crate is not maintained anymore as libsass is deprecated. Consider using https://github.com/connorskees/grass or https://github.com/kaj/rsass instead. Author's recommendation...

7.2AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2021/04/07 12:00 p.m.•31 views

RUSTSEC-2021-0113 AtomicBucket<T> unconditionally implements Send/Sync

In the affected versions of the crate, AtomicBucket unconditionally implements Send/Sync traits. Therefore, users can create a data race to the inner T: !Sync by using the AtomicBucket::datawith API. Such data races can potentially cause memory corruption or other undefined behavior. The flaw was...

8.1CVSS8.1AI score0.00741EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2021/04/01 12:00 p.m.•19 views

RUSTSEC-2021-0140 rusttype is Unmaintained

The maintainer has advised this crate is deprecated and will not receive any maintenance. The maintainer has further advised to migrate over to abglyph. Last release seems to have been over two years ago. Possible Alternatives The below list has not been vetted in any way and may or may not conta...

7.2AI score
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2021/03/18 12:00 p.m.•48 views

RUSTSEC-2021-0041 Denial of service through parsing payloads with too big exponent

The parseduration::parse function allows for parsing duration strings with exponents like 5e5s where under the hood, the BigInt type along with the pow function are used for such payloads. Passing an arbitrarily big exponent makes the parseduration::parse function to process the payload for a ver...

7.5CVSS7.3AI score0.00981EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2021/03/07 12:00 p.m.•32 views

RUSTSEC-2021-0053 'merge_sort::merge()' crashes with double-free for `T: Drop`

In the affected versions of this crate, mergesort::merge wildly duplicates and drops ownership of T without guarding against double-free. Due to such implementation, simply invoking mergesort::merge on Vec can cause double free bugs...

7.5CVSS7.4AI score0.00961EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2021/03/06 12:00 p.m.•34 views

RUSTSEC-2021-0038 Multiple memory safety issues

Affected versions contain multiple memory safety issues, such as: - Setting a multi label type where an image doesn't exist would lead to a NULL pointer dereference. - Setting a window icon using a non-raster image which FLTK rasterizes lazily would lead to a NULL dereference. - Pixmap constructo...

9.1CVSS8.3AI score0.01278EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2021/03/05 12:00 p.m.•64 views

RUSTSEC-2021-0037 Fix a use-after-free bug in diesels Sqlite backend

We've misused sqlite3columnname. The SQLite documentation states that the following: The returned string pointer is valid until either the prepared statement is destroyed by sqlite3finalize or until the statement is automatically reprepared by the first call to sqlite3step for a particular run or...

9.8CVSS9.3AI score0.01319EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2021/03/04 12:00 p.m.•67 views

RUSTSEC-2021-0035 `quinn` invalidly assumes the memory layout of std::net::SocketAddr

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

7.5CVSS7.4AI score0.0125EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2021/03/03 12:00 p.m.•47 views

RUSTSEC-2021-0036 Intern<T>: Data race allowed on T

Affected versions of this crate unconditionally implements Sync for Intern. This allows users to create data race on T: !Sync, which may lead to undefined behavior for example, memory corruption. The flaw was corrected in commit 2928a87 by adding the trait bound T: Sync in the Sync impl of Intern...

9.8CVSS9.3AI score0.01295EPSS
SaveExploits0References3
osv-rustsec
osv-rustsec
•added 2021/03/01 12:00 p.m.•39 views

RUSTSEC-2021-0032 Deserializing an array can drop uninitialized memory on panic

The readbytesdefaultle function for T; n arrays, used to deserialize arrays of T from bytes created a T; n array with std::mem::uninitialized and then called T's deserialization method. If T's deserialization method panicked, the uninitialized memory could drop invalid objects. This flaw was...

9.8CVSS9.4AI score0.01295EPSS
SaveExploits0References3
Total number of security vulnerabilities1310