Skip to content
OpenAdvisories

Ecosystem

crates.io

2,075 known vulnerabilities.

2,074 results · Feed

  • High 7.5

    zola Path Traversal vulnerability

    An issue was discovered in zola 0.13.0 through 0.17.2. The custom implementation of a web server, available via the "zola serve" command, allows directory traversal. The handle_request function, used by the server to process HTTP requests, does not account fo…

  • Unscored —

    `tui` is unmaintained; use `ratatui` instead

    The [`tui`](https://crates.io/crates/tui) crate is no longer maintained. Consider using the [`ratatui`](https://crates.io/crates/ratatui) crate instead.

  • High 7.5

    twitch-tui's connection is not encrypted

    twitch-tui provides Twitch chat in a terminal. Prior to version 2.4.1, the connection is not using TLS for communication. In the configuration of the irc connection, the software disables TLS, which makes all communication to Twitch IRC servers unencrypted. A…

  • High 7.8
    CVE-2023-38497 Public exploit

    Cargo not respecting umask when extracting crate archives

    Cargo downloads the Rust project’s dependencies and compiles the project. Cargo prior to version 0.72.2, bundled with Rust prior to version 1.71.1, did not respect the umask when extracting crate archives on UNIX-like systems. If the user downloaded a crate c…

  • Medium 5.9

    Invalid Slice Split Results in Server Panic

    A vulnerability was discovered in the odoh-rs rust crate that stems from faulty logic during the parsing of encrypted queries. This issue specifically occurs when processing encrypted query data received from remote clients and enables an attacker with knowle…

  • Unscored —

    `dlopen_derive` is unmaintained

    `dlopen_derive` hasn't been updated since June 9, 2019. `dlopen_derive` depends on [`quote = "0.6.12"`] and [`syn = "0.15.34"`]. Versions `1.0.0` of these dependencies were published on August 13, 2019. The `0.*` versions haven't received updates since. Note …

  • Low —

    Unsoundness in `intern` methods on `intaglio` symbol interners

    Affected versions of this crate have a stacked borrows violation when creating references to interned contents. All interner types are affected. The flaw was corrected in version 1.9.0 by reordering move and borrowing operations and storing interned contents …

  • Low —

    Potential denial of service after connection migration

    ### Impact An issue in s2n-quic results in the endpoint shutting down due to a combination of peer-initiated connection migration and duplicate new connection ID frames being received. No AWS services are affected by this issue, and customers of AWS services …

  • Medium —

    impl `FromMdbValue` for bool is unsound

    The implementation of `FromMdbValue` has several unsoundness issues. First of all, it allows to reinterpret arbitrary bytes as a bool and could make undefined behavior happen with safe function. Secondly, it allows transmuting pointer without taking memory la…

  • Medium —

    libostree vulnerable to denial of service attack

    An issue was discovered in ostree before 2022.7 allows attackers to cause a denial of service or other unspecified impacts via the print_panic function in repo_checkout_filter.rs.

  • Low —

    topgrade Time-of-check Time-of-use (TOCTOU) Race Condition in remove_dir_all

    ### Summary https://github.com/advisories/GHSA-mc8h-8q98-g5hr https://github.com/XAMPPRocky/remove_dir_all/commit/7247a8b6ee59fc99bbb69ca6b3ca4bfd8c809ead `tempfile` v0.4.26 ships with affected `remove_dir_all` v0.5.3 and so blocks my deployment of v12 to ope…

  • Unscored —

    atomic-polyfill is unmaintained

    The author has archived the GitHub repository and mentions deprecation in project's [README](https://github.com/embassy-rs/atomic-polyfill/blob/48e55c166684f37af0b00fbee5a0809b1a2bae8e/README.md). ## Possible alternatives * [portable-atomic](https://crates.io…

  • Medium —

    s2n-quic potential denial of service vulnerability when receiving empty UDP packets

    ### Impact An issue in s2n-quic results in the endpoint shutting down after receiving an empty UDP packet on a connection. No AWS services are affected by this issue and customers of AWS services do not need to take action. Applications using s2n-quic should …

  • Low —

    atty 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 a…

  • Medium 4.8

    Tauri vulnerable to Regression on Filesystem Scope Checks for Dotfiles

    Tauri is a framework for building binaries for all major desktop platforms. The 1.4.0 release includes a regression on the Filesystem scope check for dotfiles on Unix. Previously dotfiles were not implicitly allowed by the glob wildcard scopes (eg. `$HOME/*`)…

  • Medium —

    cyfs-base vulnerable to misaligned pointer dereference in `ChunkId::new`

    The function `ChunkId::new` creates a misaligned pointer by casting mutable pointer of `u8` slice which has alignment 1 to the mutable pointer of `u32` which has alignment 4, and dereference the misaligned pointer leading UB, which should not be allowed in sa…

  • Medium —

    memoffset allows reading uninitialized memory

    memoffset allows attempt of reading data from address `0` with arbitrary type. This behavior is an undefined behavior because address `0` to `std::mem::size_of<T>` may not have valid bit-pattern with `T`. Old implementation dereferences uninitialized memory o…

  • Medium 5.3

    ink! vulnerable to incorrect decoding of storage value when using `DelegateCall`

    ink! is an embedded domain specific language to write smart contracts in Rust for blockchains built on the Substrate framework. Starting in version 4.0.0 and prior to version 4.2.1, the return value when using delegate call mechanics, either through `CallBuil…

  • Medium —

    Ouroboros is Unsound

    In 0.15.0 and prior, Ouroboros works internally by creating a struct where all uses of 'this are replaced by 'static. However, a recent addition to Miri checks that references passed to functions are valid during the entire execution of the function, even whe…

  • Low —

    git-url-parse crate vulnerable to Regular Expression Denial of Service

    The git-url-parse crate through 0.4.4 for Rust allows Regular Expression Denial of Service (ReDos) via a crafted URL to normalize_url in lib.rs, a similar issue to CVE-2023-32758 (Python).

  • Medium —

    trust-dns vulnerable to Remote Attackers causing Denial-of-Service (packet loops) with crafted DNS packets

    trust-dns and trust-dns-server are vulnerable to remotely triggered denial-of-service attacks, consuming both network and CPU resources. DNS messages with the QR=1 bit set are responded to with a `FormErr` response. This allows creating a traffic loop, in whi…

  • High 7.5

    xml-rs vulnerable to denial of service via invalid token in XML document

    The xml-rs crate before 0.8.14 for Rust and Crab allows a denial of service (panic) via an invalid <! token (such as <!DOCTYPEs/%<!A nesting) in an XML document. The earliest affected version is 0.8.9.

  • Unscored —

    `users` crate is unmaintained

    The `users` crate hasn't seen any action since 2020-10-08. The developer seems [MIA] since. ## Recommended alternatives - [`uzers`] - [`sysinfo`] [MIA]: https://github.com/ogham/rust-users/issues/54 [`uzers`]: https://crates.io/crates/uzers [`sysinfo`]: https…

  • High 8.6

    Deno missing "--allow-net" permission check for built-in Node modules

    Deno is a runtime for JavaScript and TypeScript. In deno 1.34.0 and deno_runtime 0.114.0, outbound HTTP requests made using the built-in `node:http` or `node:https` modules are incorrectly not checked against the network permission allow list (`--allow-net`).…

  • High 7.5

    Improper handling of NTS cookie length that could crash the ntpd-rs server

    ntpd-rs is an NTP implementation written in Rust. ntpd-rs does not validate the length of NTS cookies in received NTP packets to the server. An attacker can crash the server by sending a specially crafted NTP packet containing a cookie shorter than what the s…

  • Unscored —

    crate has been renamed to `crypto_secretbox`

    This crate has been forked/renamed from `xsalsa20poly1305` to `crypto_secretbox`. The new repository location is at: <https://github.com/RustCrypto/nacl-compat/tree/master/crypto_secretbox>

  • Medium 4.8

    Tauri Open Redirect Vulnerability Possibly Exposes IPC to External Sites

    Tauri is software for building applications for multi-platform deployment. The Tauri IPC is usually strictly isolated from external websites, but in versions 1.0.0 until 1.0.9, 1.1.0 until 1.1.4, and 1.2.0 until 1.2.5, the isolation can be bypassed by redirec…

  • Medium 5.4

    Stored cross site scripting in Microbin

    A cross-site scripting vulnerability (XSS) in the component microbin/src/pasta.rs of Microbin v1.2.0 allows attackers to execute arbitrary web scripts or HTML via a crafted payload.

  • Low 3.9

    Wasmtime has Undefined Behavior in Rust runtime functions

    Wasmtime is a standalone runtime for WebAssembly. Prior to versions 6.0.2, 7.0.1, and 8.0.1, Wasmtime's implementation of managing per-instance state, such as tables and memories, contains LLVM-level undefined behavior. This undefined behavior was found to ca…

  • Medium —

    Adverserial use of `make_bitflags!` macro can cause undefined behavior

    The macro relied on an expression of the form `Enum::Variant` always being a variant of the enum. However, it may also be an associated integer constant, in which case there's no guarantee that the value of said constant consists only of bits valid for this b…

  • Medium 5.5

    AWS SDK for Rust will log AWS credentials when TRACE-level logging is enabled for request sending

    aws-sigv4 is a rust library for low level request signing in the aws cloud platform. The `aws_sigv4::SigningParams` struct had a derived `Debug` implementation. When debug-formatted, it would include a user's AWS access key, AWS secret key, and security token…

  • Medium —

    Parsing borsh messages with ZST which are not-copy/clone is unsound

    Affected versions of borsh cause undefined behavior when zero-sized-types (ZST) are parsed and the Copy/Clone traits are not implemented/derived. For instance if 1000 instances of a ZST are deserialized, and the ZST is not copy (this can be achieved through a…

  • Unscored —

    multipart is Unmaintained

    The `multipart` crate is unmaintained. The author has archived the github repository. Alternatives: - [multer](https://crates.io/crates/multer) - [multiparty](https://crates.io/crates/multiparty)

  • Unscored —

    tree_magic is Unmaintained

    The `tree_magic` crate is unmaintained. The author has archived the github repository. Alternatives: - [tree_magic_mini](https://crates.io/crates/tree_magic_mini)

  • High 7.5

    h2 vulnerable to denial of service

    An issue was discovered in hyper v0.13.7. h2-0.2.4 Stream stacking occurs when the H2 component processes HTTP2 RST_STREAM frames. As a result, the memory and CPU usage are high which can lead to a Denial of Service (DoS).

  • Medium —

    ntru-rs has unsound FFI: Wrong API usage causes write past allocated area

    The following usage causes undefined behavior. ```rust let kp: ntru::types::KeyPair = …; kp.get_public().export(Default::default()) ``` When compiled with debug assertions, the code above will trigger a `attempt to subtract with overflow` panic before UB occu…

  • Medium —

    spin-rs initialisation failure in `Once::try_call_once` can lead to undefined behaviour for other initialisers

    `Once::try_call_once` is unsound if invoked more than once concurrently and any call fails to initialise successfully.

  • Medium 5.3

    Attacker controlled data in AST nodes is not validated in comrak

    comrak is a CommonMark + GFM compatible Markdown parser and renderer written in rust. A Comrak AST can be constructed manually by a program instead of parsing a Markdown document with `parse_document`. This AST can then be converted to HTML via `html::format_…

  • Medium 5.3

    Quadratic runtime when parsing Markdown in comrak

    comrak is a CommonMark + GFM compatible Markdown parser and renderer written in rust. A range of quadratic parsing issues are present in Comrak. These can be used to craft denial-of-service attacks on services that use Comrak to parse Markdown. This issue has…

  • Medium 5.3

    Comrak vulnerable to production of excessive output when parsing Markdown (GHSL-2023-048)

    ### Impact comrak is vulnerable to the upstream cmark issue, ["Issue revealed by fuzzer"](https://github.com/commonmark/cmark/issues/354). A large number of references in a markdown document can trigger an overly large response. ### Patches 0.17.0 contains ht…