Skip to content
OpenAdvisories

Ecosystem

crates.io

2,075 known vulnerabilities.

2,074 results · Feed

  • Medium —

    `array!` macro is unsound when its length is impure constant

    Affected versions of this crate did substitute the array length provided by an user at compile-time multiple times. When an impure constant expression is passed as an array length (such as a result of an impure procedural macro), this can result in the initia…

  • Medium —

    `array!` macro is unsound in presence of traits that implement methods it calls internally

    Affected versions of this crate called some methods using auto-ref. The affected code looked like this. ```rust let mut arr = $crate::__core::mem::MaybeUninit::uninit(); let mut vec = $crate::__ArrayVec::<T>::new(arr.as_mut_ptr() as *mut T); ``` In this case,…

  • Medium —

    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!("<div title={}>", clean_text(user_supplied_string)); Applications are not affected i…

  • Medium —

    Library exclusively intended to obfuscate code.

    This crate allows you to write safe functions with unsafe bodies without the `unsafe` keyword. The value this adds is questionable, and hides `unsafe` usages from naive analysis.

  • Critical 9.8

    Signature forgery in Biscuit

    Biscuit is an authentication and authorization token for microservices architectures. The Biscuit specification version 1 contains a vulnerable algorithm that allows malicious actors to forge valid Γ-signatures. Such an attack would allow an attacker to creat…

  • High 8.4

    Link Following in Deno

    Deno <=1.14.0 file sandbox does not handle symbolic links correctly. When running Deno with specific write access, the Deno.symlink method can be used to gain access to any directory.

  • Medium —

    `MsQueue` `push`/`pop` use the wrong orderings

    Affected versions of this crate use orderings which are too weak to support this data structure. It is likely this has caused memory corruption in the wild: <https://github.com/crossbeam-rs/crossbeam/issues/97#issuecomment-412785919>.

  • High 7.5

    Integer overflow in solana_rbpf

    Solana solana_rbpf before 0.2.29 has an addition integer overflow via invalid ELF program headers. elf.rs has a panic via a malformed eBPF program.

  • Medium 4.2

    Observable Timing Discrepancy in totp-rs

    totp-rs is a Rust library that permits the creation of 2FA authentification tokens per time-based one-time password (TOTP). Prior to version 1.1.0, token comparison was not constant time, and could theorically be used to guess value of an TOTP token, and thus…

  • Unscored —

    double-checked-cell is unmaintained

    The author recommends switching to [`once_cell`](https://crates.io/crates/once_cell), which offers a superset of the functionality.

  • Unscored —

    `static_type_map` has been renamed to `erased_set`

    Please use the `erased_set` crate going forward: <https://github.com/malobre/erased_set> There will be no further releases of `static_type_map`.

  • Critical 9.1

    Solana rBPF - Incorrect Calculation in sdiv instruction

    In Solana rBPF versions 0.2.26 and 0.2.27 are affected by Incorrect Calculation which is caused by improper implementation of sdiv instruction. This can lead to the wrong execution path, resulting in huge loss in specific cases. For example, the result of a s…

  • High 7.5

    Resource leakage when decoding certificates and keys

    The OPENSSL_LH_flush() function, which empties a hash table, contains a bug that breaks reuse of the memory occuppied by the removed hash table entries. This function is used when decoding certificates or keys. If a long lived process periodically decodes cer…

  • Medium 5.9

    Incorrect MAC key used in the RC4-MD5 ciphersuite

    The OpenSSL 3.0 implementation of the RC4-MD5 ciphersuite incorrectly uses the AAD data as the MAC key. This makes the MAC key trivially predictable. An attacker could exploit this issue by performing a man-in-the-middle attack to modify data being sent from …

  • Medium 5.3

    OCSP_basic_verify may incorrectly verify the response signing certificate

    The function `OCSP_basic_verify` verifies the signer certificate on an OCSP response. In the case where the (non-default) flag OCSP_NOCHECKS is used then the response will be positive (meaning a successful verification) even in the case where the response sig…

  • Unscored —

    Rusoto is unmaintained

    The maintainers of Rusoto advise that all its crates are deprecated. This includes the common crates `rusoto_core`, `rusoto_signature`, `rusoto_credential`, and service crates such as `rusoto_s3` and `rusoto_ec2`. Users should migrate to the [AWS SDK for Rust…

  • High —

    Dep Group Remote Memory Exhaustion (Denial of Service) in ckb

    ### Impact A remote attacker could exploit this vulnerability to exhaust ckb process memory of an affected node. ### Patches Upgrade to 0.43.1 or later. ### References After resolving the outpoints of one dep group, we put the corresponding content into a vec…

  • High —

    Relative Path Traversal in afire serve_static

    ### Impact This vulnerability effects the built-in afire serve_static extension allowing paths containing `//....` to bypass the previous path sanitation and request files in higher directories that should not be accessible. ### Patches The issue has been fix…

  • Medium 4.4

    Exposure of Resource to Wrong Sphere in Simple-Wayland-HotKey-Daemon

    SWHKD 1.1.5 consumes the keyboard events of unintended users. This could potentially cause an information leak, but is usually a denial of functionality.

  • Low 3.3

    Exposure of Resource to Wrong Sphere in Simple-Wayland-HotKey-Daemon

    SWHKD 1.1.5 allows arbitrary file-existence tests via the -c option.

  • Critical 9.1

    Insecure temporary file usage in SWHKD

    SWHKD 1.1.5 unsafely uses the /tmp/swhkd.sock pathname. There can be an information leak or denial of service.

  • Medium 5.3

    Unsafe parsing in SWHKD

    SWHKD 1.1.5 allows unsafe parsing via the -c option. An information leak might occur but there is a simple denial of service (memory exhaustion) upon an attempt to parse a large or infinite file (such as a block or character device).

  • High 8.1

    Use after free in Wasmtime

    Wasmtime is a standalone JIT-style runtime for WebAssembly, using Cranelift. There is a use after free vulnerability in Wasmtime when both running Wasm that uses externrefs and enabling epoch interruption in Wasmtime. If you are not explicitly enabling epoch …

  • High 7.1

    Data Loss/Denial of Service in SWHKD

    SWHKD 1.1.5 unsafely uses the /tmp/swhks.pid pathname. There can be data loss or a denial of service.

  • Critical 9.1

    Insecure Temporary File in SWHKD

    SWHKD 1.1.5 unsafely uses the /tmp/swhkd.pid pathname. There can be an information leak or denial of service.

  • Critical 10.0

    Sandbox bypass leading to arbitrary code execution in Deno

    Deno is a runtime for JavaScript and TypeScript. The versions of Deno between release 1.18.0 and 1.20.2 (inclusive) are vulnerable to an attack where a malicious actor controlling the code executed in a Deno runtime could bypass all permission checks and exec…

  • Unscored —

    pty is unmaintained

    The repository hasn't received any updates since Jun 25, 2017 and the author is unresponsive. Maintained alternatives include: * [`tokio-pty-process`](https://crates.io/crates/tokio-pty-process) * [`pty-process`](https://crates.io/crates/pty-process)

  • High 7.5
    CVE-2022-0778 Public exploit EPSS 73%

    Infinite loop in BN_mod_sqrt() reachable when parsing certificates

    The BN_mod_sqrt() function, which computes a modular square root, contains a bug that can cause it to loop forever for non-prime moduli. Internally this function is used when parsing certificates that contain elliptic curve public keys in compressed form or e…

  • High 7.5
    CVE-2022-24713 Public exploit EPSS 14%

    Regular expression denial of service in Rust's regex crate

    regex is an implementation of regular expressions for the Rust language. The regex crate features built-in mitigations to prevent denial of service attacks caused by untrusted regexes, or untrusted input matched by trusted regexes. Those (tunable) mitigations…

  • High 7.8

    coreos-installer improperly verifies GPG signature when decompressing gzipped artifact

    An improper signature verification vulnerability was found in coreos-installer. A specially crafted gzip installation image can bypass the image signature verification and as a consequence can lead to the installation of unsigned content. An attacker able to …

  • Medium 5.1
    CVE-2022-23636 Public exploit

    Invalid drop of partially-initialized instances in wasmtime

    Wasmtime is an open source runtime for WebAssembly & WASI. Prior to versions 0.34.1 and 0.33.1, there exists a bug in the pooling instance allocator in Wasmtime's runtime where a failure to instantiate an instance for a module that defines an `externref` glob…

  • High 8.1

    Improper Restriction of Operations within the Bounds of a Memory Buffer and Race Condition in crossbeam-utils

    crossbeam-utils provides atomics, synchronization primitives, scoped threads, and other utilities for concurrent programming in Rust. crossbeam-utils prior to version 0.8.7 incorrectly assumed that the alignment of `{i,u}64` was always the same as `Atomic{I,U…

  • Critical 9.8

    Buffer Overflow in galois_2p8

    In galois_2p8 before 0.1.2, PrimitivePolynomialField::new has an off-by-one buffer overflow for a vector.

  • Low —

    Chrono has potential segfault issue in SPIFFE authenticator

    ### Impact Several vulnerabilities have been reported in the `time` and `chrono` crates related to handling of calls to `localtime_r`. You can follow some of the discussions [here](https://github.com/chronotope/chrono/issues/602) and [here](https://github.com…

  • Unscored —

    `structopt` is in maintenance mode

    `structopt` has been in maintenance mode, with no new development planned, since at least February of 2022. The status of `structopt` is discussed in a [pinned issue](https://github.com/TeXitoi/structopt/issues/525). ## Recommended alternative The `structopt`…

  • Unscored —

    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](https://github.com/maciejhirsz/json-rust/issues/196). ## Possible Alternative(s) The below list has…

  • High 7.5

    Integer overflow in solana_rbpf

    From version 0.2.14 to 0.2.16 for Solana rBPF, function "relocate" in the file src/elf.rs has an integer overflow bug because the sym.st_value is read directly from ELF file without checking. If the sym.st_value is rather large, an integer overflow is trigger…

  • Unscored —

    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: <https://github.com/ftdi-rs/ftdi-embedded-hal>

  • Medium —

    Denial of service in bingrep

    Bingrep v0.8.5 was discovered to contain a memory allocation failure which can cause a Denial of Service (DoS).

  • Unscored —

    project abandoned

    Alternatives: - `odbc-api` - `rs-odbc`