Lucene search
K
RustsecRecent

1119 matches found

RustSec
RustSec
•added 2022/02/07 12:0 p.m.•31 views

Failure to verify the public key of a `SignedEnvelope` against the `PeerId` in a `PeerRecord`

Affected versions of this crate did not check that the public key the signature was created with matches the peer ID of the peer record. Any combination was considered valid. This allows an attacker to republish an existing PeerRecord with a different PeerId...

4.1AI score
Exploits0Affected Software1
RustSec
RustSec
•added 2022/02/05 12:0 p.m.•18 views

Unsoundness of AtomicCell<*64> arithmetics on 32-bit targets that support Atomic*64

Impact Affected versions of this crate incorrectly assumed that the alignment of i,u64 was always the same as AtomicI,U64. However, the alignment of i,u64 on a 32-bit target can be smaller than AtomicI,U64. This can cause the following problems: - Unaligned memory accesses - Data race Crates usin...

8.1CVSS1AI score0.0121EPSS
Exploits1Affected Software1
RustSec
RustSec
•added 2022/02/01 12:0 p.m.•19 views

json is unmaintained

Last release was almost 3 years ago. The maintainer is unresponsive with outstanding issues. One of the outstanding issues include a possible soundness issue. Possible Alternatives The below list has not been vetted in any way and may or may not contain alternatives; - jzon maintained fork of jso...

7.2AI score
Exploits0
RustSec
RustSec
•added 2022/01/26 12:0 p.m.•32 views

Multiple soundness issues in `owning_ref`

OwningRef::mapwithowner is unsound and may result in a use-after-free. - OwningRef::map is unsound and may result in a use-after-free. - OwningRefMut::asowner and OwningRefMut::asownermut are unsound and may result in a use-after-free. - The crate violates Rust's aliasing rules, which may cause...

7.1AI score
Exploits0
RustSec
RustSec
•added 2022/01/26 12:0 p.m.•11 views

xml-rs is Unmaintained

xml-rs is a XML parser has open issues around parsing including integer overflows / panics that may or may not be an issue with untrusted data. Together with these open issues with Unmaintained status xml-rs may or may not be suited to parse untrusted data. Alternatives - quick-xml...

5.1AI score
Exploits0
RustSec
RustSec
•added 2022/01/24 12:0 p.m.•13 views

A malicious coder can get unsound access to TCell or TLCell memory

This is impossible to do by accident, but by carefully constructing marker types to be covariant, a malicious coder can cheat the singleton check in TCellOwner and TLCellOwner, giving unsound access to cell memory. This could take the form of getting two mutable references to the same memory, or ...

3.5AI score
Exploits0Affected Software1
RustSec
RustSec
•added 2022/01/23 12:0 p.m.•25 views

Data race in `Iter` and `IterMut`

In the affected version of this crate, Iter, IterMut::next used a weaker memory ordering when loading values than what was required, exposing a potential data race when iterating over a ThreadLocal's values. Crates using Iter::next, or IterMut::next are affected by this issue...

4.2AI score
Exploits0Affected Software1
RustSec
RustSec
•added 2022/01/22 12:0 p.m.•13 views

crate has been renamed to `ftdi-embedded-hal`

This crate has been renamed from ftd2xx-embedded-hal to ftdi-embedded-hal. The new repository location is:...

6.9AI score
Exploits0
RustSec
RustSec
•added 2022/01/21 12:0 p.m.•14 views

Improper validation of Windows paths could lead to directory traversal attack

towerhttp::services::fs::ServeDir didn't correctly validate Windows paths meaning paths like /foo/bar/c:/windows/web/screen/img101.png would be allowed and respond with the contents of c:/windows/web/screen/img101.png. Thus users could potentially read files anywhere on the filesystem. This only...

4.4AI score
Exploits0Affected Software1
RustSec
RustSec
•added 2022/01/19 12:0 p.m.•18 views

Space bug in `clean_text`

An incorrect mapping from HTML specification to ASCII codes was used. Because HTML treats the Form Feed as whitespace, code like this has an injection bug: let html = format!"", cleantextusersuppliedstring; Applications are not affected if they quote their attributes, or if they don't use cleante...

1.4AI score
Exploits0Affected Software1
RustSec
RustSec
•added 2022/01/17 12:0 p.m.•13 views

project abandoned

Alternatives: - odbc-api - rs-odbc...

1.8AI score
Exploits0
RustSec
RustSec
•added 2022/01/17 12:0 p.m.•12 views

`markdown` (1.0.0 and higher) is maintained

A new markdown crate has been brought over by a new maintainer replacing the old crate. The crate GitHub repository is now wooorm/markdown-rs This advisory has been withdraw since version 1.0.0 was released on 2025-04-23. markdown 0.3.0 and lower was unmaintained The old markdown crate was no...

7.2AI score
Exploits0Affected Software1
RustSec
RustSec
•added 2022/01/17 12:0 p.m.•13 views

project abandoned

The r2d2-odbc-api crate might be an alternative...

1.4AI score
Exploits0
RustSec
RustSec
•added 2022/01/14 12:0 p.m.•12 views

Improper validation of Windows paths could lead to directory traversal attack

Path resolution in warp::filters::fs::dir didn't correctly validate Windows paths meaning paths like /foo/bar/c:/windows/web/screen/img101.png would be allowed and respond with the contents of c:/windows/web/screen/img101.png. Thus users could potentially read files anywhere on the filesystem. Th...

4.6AI score
Exploits0Affected Software1
RustSec
RustSec
•added 2022/01/14 12:0 p.m.•12 views

Use-after-free due to a lifetime error in `Vec::into_iter()`

In affected versions of this crate, the lifetime of the iterator produced by Vec::intoiter is not constrained to the lifetime of the Bump that allocated the vector's memory. Using the iterator after the Bump is dropped causes use-after-free accesses. The following example demonstrates memory...

2.8AI score
Exploits0Affected Software1
RustSec
RustSec
•added 2022/01/10 12:0 p.m.•14 views

Unsoundness in `dashmap` references

Reference returned by some methods of Ref and similar types may outlive the Ref and escape the lock. This causes undefined behavior and may result in a segfault. More information in dashmap167 issue...

2.4AI score
Exploits0Affected Software1
RustSec
RustSec
•added 2022/01/05 12:0 p.m.•22 views

lmdb is unmaintained, use lmdb-rkv instead

The lmdb crate hasn't had any updates since August 2018. Mozilla's lmdb-rkv fork of the crate has received additional maintenance work beyond that and is the best available replacement...

1.8AI score
Exploits0
RustSec
RustSec
•added 2022/01/02 12:0 p.m.•9 views

Delegate functions are missing `Send` bound

Affected versions of this crate did not require event handlers to have Send bound despite there being no guarantee of them being called on any particular thread, which can potentially lead to data races and undefined behavior. The flaw was corrected in commit afe3252 by adding Send bounds...

3.1AI score
Exploits0Affected Software1
RustSec
RustSec
•added 2022/01/01 12:0 p.m.•15 views

Stack overflow in rustc_serialize when parsing deeply nested JSON

When parsing JSON using json::Json::fromstr, there is no limit to the depth of the stack, therefore deeply nested objects can cause a stack overflow, which aborts the process. Example code that triggers the vulnerability is rust fn main let = rustcserialize::json::Json::fromstr&"0,".repeat10000;...

3.6AI score
Exploits0
RustSec
RustSec
•added 2021/12/27 12:0 p.m.•11 views

rental is unmaintained, author has moved on

The author encourages users to explore other solutions, or maintain a fork. Maintained alternatives include: ouroboros fortify escher...

2.8AI score
Exploits0
RustSec
RustSec
•added 2021/12/25 12:0 p.m.•14 views

cargo-download is unmaintained

The cargo download subcommand via cargo-download crate is broken and maintainer has disappeared from GitHub and hasn't had any commits for a year. Using this downloader will result to corrupted crates. Maintainer has not responded to maintenance takeover. Just use wget / curl directly...

2.2AI score
Exploits0
RustSec
RustSec
•added 2021/12/24 12:0 p.m.•12 views

dotenv is Unmaintained

dotenv by description is meant to be used in development or testing only. Using this in production may or may not be advisable. Alternatives The below may or may not be feasible alternatives: - dotenvy...

1.7AI score
Exploits0
RustSec
RustSec
•added 2021/12/24 12:0 p.m.•14 views

dotenv is Unmaintained

dotenv by description is meant to be used in development or testing only. Using this in production may or may not be advisable. Alternatives The below may or may not be feasible alternatives: - dotenvycodegenimpl...

1.8AI score
Exploits0
RustSec
RustSec
•added 2021/12/21 12:0 p.m.•12 views

Use after free in lru crate

Lru crate has use after free vulnerability. Lru crate has two functions for getting an iterator. Both iterators give references to key and value. Calling specific functions, like pop, will remove and free the value, and but it's still possible to access the reference of value which is already...

7.5CVSS3AI score0.0118EPSS
Exploits1Affected Software1
RustSec
RustSec
•added 2021/12/20 12:0 p.m.•32 views

Integer overflow in the bundled Brotli C library

A buffer overflow exists in the Brotli library versions prior to 1.0.8 where an attacker controlling the input length of a "one-shot" decompression request to a script can trigger a crash, which happens when copying over chunks of data larger than 2 GiB. If one cannot update the C library, its...

3.3AI score
Exploits0Affected Software1
RustSec
RustSec
•added 2021/12/20 12:0 p.m.•45 views

Integer overflow in the bundled Brotli C library

A buffer overflow exists in the Brotli library versions prior to 1.0.8 where an attacker controlling the input length of a "one-shot" decompression request to a script can trigger a crash, which happens when copying over chunks of data larger than 2 GiB. An updated version of brotli-sys has not...

6.5CVSS3.2AI score0.03243EPSS
Exploits0
RustSec
RustSec
•added 2021/12/14 12:0 p.m.•37 views

Invalid handling of `X509_verify_cert()` internal errors in libssl

Internally libssl in OpenSSL calls X509verifycert on the client side to verify a certificate supplied by a server. That function may return a negative return value to indicate an internal error for example out of memory. Such a negative return value is mishandled by OpenSSL and will cause an IO...

7.5CVSS1AI score0.50099EPSS
Exploits0Affected Software1
RustSec
RustSec
•added 2021/12/07 12:0 p.m.•22 views

Incorrect Lifetime Bounds on Closures in `rusqlite`

The lifetime bound on several closure-accepting rusqlite functions specifically, functions which register a callback to be later invoked by SQLite was too relaxed. If a closure referencing borrowed values on the stack is was passed to one of these functions, it could allow Rust code to access...

7.5CVSS2.9AI score0.0118EPSS
Exploits7Affected Software1
RustSec
RustSec
•added 2021/12/05 12:0 p.m.•21 views

`encoding` is unmaintained

Last release was on 2016-08-28. The issue inquiring as to the status of the crate has gone unanswered by the maintainer. Possible alternatives - encodingrs...

2.2AI score
Exploits0
RustSec
RustSec
•added 2021/11/30 12:0 p.m.•6 views

Use After Free in lucet-runtime

There is a bug in the main branch of Lucet's lucet-runtime that allows a use-after-free in an Instance object that could result in memory corruption, data race, or other related issues. This bug was introduced early in the development of Lucet and is present in all releases. As a result of this...

8.5CVSS6.8AI score0.01566EPSS
Exploits1
RustSec
RustSec
•added 2021/11/29 12:0 p.m.•37 views

RustEmbed generated `get` method allows for directory traversal when reading files from disk

When running in debug mode and the debug-embed off by default feature is not enabled, the generated get method does not check that the input path is a child of the folder given. This allows attackers to read arbitrary files in the file system if they have control over the filename given. The...

7.5CVSS3.2AI score0.01593EPSS
Exploits1Affected Software1
RustSec
RustSec
•added 2021/11/16 12:0 p.m.•25 views

Data race when sending and receiving after closing a `oneshot` channel

If a tokio::sync::oneshot channel is closed via the oneshot::Receiver::close method, a data race may occur if the oneshot::Sender::send method is called while the corresponding oneshot::Receiver is awaited or calling tryrecv. When these methods are called concurrently on a closed channel, the two...

8.1CVSS0.8AI score0.01152EPSS
Exploits0Affected Software1
RustSec
RustSec
•added 2021/11/14 12:0 p.m.•29 views

Converting `NSString` to a String Truncates at Null Bytes

Methods of NSString for conversion to a string may return a partial result. Since they call CStr::fromptr on a pointer to the string buffer, the string is terminated at the first null byte, which might not be the end of the string. In addition to the vulnerable functions listed for this issue, th...

7.5CVSS1.5AI score0.01314EPSS
Exploits1Affected Software1
RustSec
RustSec
•added 2021/11/14 12:0 p.m.•17 views

Panic on incorrect date input to `simple_asn1`

Version 0.6.0 of the simpleasn1 crate panics on certain malformed inputs to its parsing functions, including fromder and derdecode. Because this crate is frequently used with inputs from the network, this should be considered a security vulnerability. The issue occurs when parsing the old ASN.1...

7.5CVSS2.4AI score0.0134EPSS
Exploits0Affected Software1
RustSec
RustSec
•added 2021/10/31 12:0 p.m.•16 views

Generated code can read and write out of bounds in safe code

Code generated by flatbuffers' compiler is unsafe but not marked as such. See https://github.com/google/flatbuffers/issues/6627 for details. For example, if generated code is used to decode malformed or untrusted input, undefined behavior and thus security vulnerabilities is possible even without...

0.6AI score
Exploits0Affected Software1
RustSec
RustSec
•added 2021/10/22 12:0 p.m.•22 views

sodiumoxide is deprecated

Alternatives may be found - not in any specific order: - libsodium-sys-stable - dryoc - RustCrypto/nacl-compat cryptobox, cryptokx, cryptosecretstream - RustCrypto/xsalsa20poly1305 cryptosecretbox - Signatory - ed25519-compact - ed25519-dalek - ring Recommendations can be also found from: - Aweso...

1.7AI score
Exploits0
RustSec
RustSec
•added 2021/10/17 12:0 p.m.•22 views

abomonation transmutes &T to and from &[u8] without sufficient constraints

This transmute is at the core of the abomonation crates. It's so easy to use it to violate alignment requirements that no test in the crate's test suite passes under miri. The use of this transmute in serialization/deserialization also incorrectly assumes that the layout of a reprRust type is...

7.5CVSS1.2AI score0.00972EPSS
Exploits0
RustSec
RustSec
•added 2021/10/14 12:0 p.m.•12 views

Incorrect use of `set_len` allows for un-initialized memory

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

1.1AI score
Exploits0Affected Software1
RustSec
RustSec
•added 2021/10/08 12:0 p.m.•13 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.00753EPSS
Exploits0
RustSec
RustSec
•added 2021/10/04 12:0 p.m.•12 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
Exploits0
RustSec
RustSec
•added 2021/09/27 12:0 p.m.•19 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.01636EPSS
Exploits0Affected Software1
RustSec
RustSec
•added 2021/09/24 12:0 p.m.•22 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.01191EPSS
Exploits0Affected Software1
RustSec
RustSec
•added 2021/09/23 12:0 p.m.•17 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.01191EPSS
Exploits0Affected Software1
RustSec
RustSec
•added 2021/09/17 12:0 p.m.•45 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.00297EPSS
Exploits0Affected Software1
RustSec
RustSec
•added 2021/09/16 12:0 p.m.•20 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.01191EPSS
Exploits0Affected Software1
RustSec
RustSec
•added 2021/09/14 12:0 p.m.•11 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
Exploits0Affected Software1
RustSec
RustSec
•added 2021/09/14 12:0 p.m.•11 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
Exploits0Affected Software1
RustSec
RustSec
•added 2021/09/14 12:0 p.m.•14 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
Exploits0Affected Software1
RustSec
RustSec
•added 2021/09/10 12:0 p.m.•4 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
Exploits0Affected Software1
RustSec
RustSec
•added 2021/09/08 12:0 p.m.•17 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.00805EPSS
Exploits0Affected Software1
Total number of security vulnerabilities1119