Lucene search
+L
RustSecRecent

1333 matches found

RustSec
RustSec
•added 2021/10/10 12:00 p.m.•7 views

Incorrect escaping for `url("")` functions in CSS style attributes

In some cases, quotation marks in CSS url functions are not escaped. This allows CSS injection. This feature is not enabled by default, so an application is vulnerable if, and only if, the style attribute is allowed and filterstyleproperties is used. As an example, this snippet: html Would...

5.9AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2021/10/10 12:00 p.m.•6 views

XSS in ammonia via SVG `animateMotion`, `animateTransform`, and/or `animateColor` tags

The neutralization that ammonia applied to animate and set was not applied to other forms of SVG animation, which can be used for XSS. The following SVG will produce a link with a javascript scheme. If the user clicks this link, they will run it. xml Click set Ammonia did not apply attribute...

5.9AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2021/10/08 12:00 p.m.•28 views

Non-aligned u32 read in Chacha20 encryption and decryption

The implementation does not enforce alignment requirements on input slices while incorrectly assuming 4-byte alignment through an unsafe call to std::slice::fromrawpartsmut, which breaks the contract and introduces undefined behavior. This affects Chacha20 encryption and decryption in crypto2...

9.8CVSS2.1AI score0.00778EPSS
SaveExploits0
RustSec
RustSec
•added 2021/10/04 12:00 p.m.•27 views

traitobject is Unmaintained

Crate traitobject has not had a release for over five years. In addition there is an existing security advisory that has not been addressed: - RUSTSEC-2020-0027 Possible Alternatives The below list has not been vetted in any way and may or may not contain alternatives; - destructuretraitobject...

3.5AI score
SaveExploits0
RustSec
RustSec
•added 2021/09/27 12:00 p.m.•36 views

Out-of-bounds write in nix::unistd::getgrouplist

On certain platforms, if a user has more than 16 groups, the nix::unistd::getgrouplist function will call the libc getgrouplist function with a length parameter greater than the size of the buffer it provides, resulting in an out-of-bounds write and memory corruption. The libc getgrouplist functi...

9.8CVSS0.6AI score0.0169EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2021/09/24 12:00 p.m.•42 views

`#[zeroize(drop)]` doesn't implement `Drop` for `enum`s

Affected versions of this crate did not implement Drop when zeroizedrop was used on an enum. This can result in memory not being zeroed out after dropping it, which is exactly what is intended when adding this attribute. The flaw was corrected in version 1.2 and zeroizedrop on enums now properly...

9.8CVSS3.7AI score0.0123EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2021/09/23 12:00 p.m.•23 views

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.8CVSS2.7AI score0.0123EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2021/09/17 12:00 p.m.•66 views

Multiple Vulnerabilities in Wasmtime

Use after free passing externrefs to Wasm in Wasmtime Out-of-bounds read/write and invalid free with externrefs and GC safepoints in Wasmtime Wrong type for Linker-define functions when used across two Engines...

6.3CVSS2.4AI score0.00307EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2021/09/16 12:00 p.m.•32 views

Memory Safety Issue when using `patch` or `merge` on `state` and assign the result back to `state`

Affected versions of this crate maintains references to memory that might have been freed already. If affects the following two tremor-script language constructs: A Merge where we assign the result back to the target expression and the expression to be merged needs to reference the event: let sta...

9.8CVSS0.3AI score0.0123EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2021/09/14 12:00 p.m.•21 views

`BinaryArray` does not perform bound checks on reading values and offsets

BinaryArray performs insufficient validation on creation, which allows out-of-bounds reads in safe code...

3.2AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2021/09/14 12:00 p.m.•23 views

`FixedSizeBinaryArray` does not perform bound checks on accessing values and offsets

FixedSizeBinaryArray performs insufficient bounds checks, which allows out-of-bounds reads in safe code...

2.9AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2021/09/14 12:00 p.m.•21 views

`DecimalArray` does not perform bound checks on accessing values and offsets

DecimalArray performs insufficient bounds checks, which allows out-of-bounds reads in safe code if the length of the backing buffer is not a multiple of 16...

2.4AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2021/09/10 12:00 p.m.•15 views

Uninitalized memory read & leak caused by fuser crate

During creation of new libfuse session with fusesessionnew operation list was passed as NULL incorrectly. libfuse expects this argument to always point to list of operations. This caused uninitialized memory read and leaks in libfuse.so...

6.9AI score
SaveExploits0Affected Software1
RustSec
RustSec
•added 2021/09/08 12:00 p.m.•30 views

Miscomputed results when using AVX2 backend

The v0.9.7 release of the sha2 crate introduced a new AVX2-accelerated backend which was automatically enabled for all x86/x8664 CPUs where AVX2 support was autodetected at runtime. This backend was buggy and would miscompute results for long messages i.e. messages spanning multiple SHA blocks. T...

9.8CVSS2.2AI score0.00831EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2021/09/01 12:00 p.m.•17 views

`daemonize` is Unmaintained

Last release was over four years ago. The crate contains undocumented unsafe behind safe fns. An issue inquiring as to possible updates has gone unanswered by the maintainer. Possible Alternatives The below list has not been vetted in any way and may or may not contain alternatives: - daemonize-m...

3.4AI score
SaveExploits0
RustSec
RustSec
•added 2021/08/25 12:00 p.m.•24 views

Crate has been renamed to `cosmrs`

The cosmossdk crate, which provides a basic Rust SDK for the Cosmos ecosystem, has rebranded to “CosmRS” in the spirit of other projects like CosmJS and CosmWasm. You can find the new home here: https://github.com/cosmos/cosmos-rust/tree/main/cosmrs The new crate name is cosmrs:...

1.7AI score
SaveExploits0
RustSec
RustSec
•added 2021/08/24 12:00 p.m.•78 views

Read buffer overruns processing ASN.1 strings

ASN.1 strings are represented internally within OpenSSL as an ASN1STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are represented as a buffer for the string data which is terminated with a NUL 0 byt...

7.4CVSS6.7AI score0.50445EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2021/08/24 12:00 p.m.•68 views

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
SaveExploits1Affected Software1
RustSec
RustSec
•added 2021/08/18 12:00 p.m.•28 views

ansi_term is Unmaintained

The maintainer has advised that this crate is deprecated and will not receive any maintenance. The crate does not seem to have much dependencies and may or may not be ok to use as-is. Last release seems to have been three years ago. Possible Alternatives The below list has not been vetted in any...

7.2AI score
SaveExploits0
RustSec
RustSec
•added 2021/08/16 12:00 p.m.•30 views

spirv_headers is unmaintained, use spirv instead

Because of versioning issues; the spirvheaders crate is unmaintained. Use spirv for parsing spirv files...

2.9AI score
SaveExploits0
RustSec
RustSec
•added 2021/08/15 12:00 p.m.•38 views

serde_cbor is unmaintained

The serdecbor crate is unmaintained. The author has archived the github repository. Alternatives proposed by the author: ciborium minicbor...

2.3AI score
SaveExploits0
RustSec
RustSec
•added 2021/08/14 12:00 p.m.•33 views

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.5CVSS3.7AI score0.01088EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2021/07/30 12:00 p.m.•40 views

Data race in crossbeam-deque

In the affected version of this crate, the result of the race condition is that one or more tasks in the worker queue can be popped twice instead of other tasks that are forgotten and never popped. If tasks are allocated on the heap, this can cause double free and a memory leak. If not, this stil...

9.8CVSS8AI score0.01907EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2021/07/30 12:00 p.m.•39 views

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.8CVSS2.6AI score0.01361EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2021/07/25 12:00 p.m.•28 views

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.8CVSS2AI score0.01124EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2021/07/25 12:00 p.m.•35 views

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.8CVSS0.6AI score0.0123EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2021/07/25 12:00 p.m.•32 views

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.8CVSS1.5AI score0.01515EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2021/07/22 12:00 p.m.•30 views

`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.8CVSS1.3AI score0.02567EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2021/07/19 12:00 p.m.•25 views

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
SaveExploits1Affected Software1
RustSec
RustSec
•added 2021/07/15 12:00 p.m.•41 views

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.8CVSS2.8AI score0.00356EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2021/07/13 12:00 p.m.•31 views

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.8CVSS4.1AI score0.00935EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2021/07/12 12:00 p.m.•27 views

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.8CVSS4.6AI score0.00422EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2021/07/08 12:00 p.m.•43 views

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.5CVSS3.6AI score0.01103EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2021/07/08 12:00 p.m.•33 views

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.8CVSS4.8AI score0.01275EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2021/07/08 12:00 p.m.•42 views

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.1CVSS1.3AI score0.00708EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2021/07/07 12:00 p.m.•46 views

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.9CVSS0.9AI score0.00833EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2021/07/07 12:00 p.m.•35 views

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.1CVSS3AI score0.01155EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2021/07/07 12:00 p.m.•28 views

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.3CVSS0.3AI score0.01126EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2021/07/04 12:00 p.m.•36 views

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

6.8AI score
SaveExploits0
RustSec
RustSec
•added 2021/06/16 12:00 p.m.•34 views

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.5CVSS3.5AI score0.0181EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2021/06/12 12:00 p.m.•39 views

`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.8CVSS3.5AI score0.01934EPSS
SaveExploits0Affected Software1
RustSec
RustSec
•added 2021/06/11 12:00 p.m.•47 views

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
SaveExploits0Affected Software1
RustSec
RustSec
•added 2021/06/06 12:00 p.m.•34 views

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.8CVSS3.9AI score0.01411EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2021/06/01 12:00 p.m.•39 views

`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.8CVSS0.4AI score0.01701EPSS
SaveExploits0
RustSec
RustSec
•added 2021/05/27 12:00 p.m.•27 views

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.3CVSS5AI score0.00426EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2021/05/27 12:00 p.m.•24 views

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.8CVSS4.7AI score0.00408EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2021/05/27 12:00 p.m.•27 views

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.8CVSS3.9AI score0.00468EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2021/05/22 12:00 p.m.•27 views

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.8CVSS2.8AI score0.01494EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2021/05/21 12:00 p.m.•27 views

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.8CVSS1.6AI score0.00455EPSS
SaveExploits1Affected Software1
RustSec
RustSec
•added 2021/05/20 12:00 p.m.•28 views

Crate `twoway` deprecated by the author

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

3.7AI score
SaveExploits0
Total number of security vulnerabilities1333