Lucene search
+L
RustsecMost viewed

1170 matches found

RustSec
RustSec
added 2026/03/04 12:0 p.m.16 views

`time-sync` was removed from crates.io due to malicious code

The time-sync crate attempted to exfiltrate .env files to a server that was in turn impersonating the legitimate timeapi.io service. This the same attack that we've seen three times in the last few days. The malicious crate had 1 version published on 2026-03-04 approximately 50 minutes before...

6AI score
SaveExploits0
RustSec
RustSec
added 2026/02/26 12:0 p.m.16 views

`tracing_checks` was removed from crates.io for transitively including malicious code

This is part of an ongoing campaign to attempt to typosquat crates in an attempt to exfiltrate Polymarket credentials. The malicious crate had 1 version published on 2026-02-26 approximately 9 hours before removal and had no evidence of actual usage, both in terms of downloads and dependents. It...

5.5AI score
SaveExploits0
RustSec
RustSec
added 2026/02/24 12:0 p.m.16 views

Guest-controlled resource exhaustion in WASI implementations

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-852m-cvvp-9p4w For more information see the GitHub-hosted security advisory...

6.9CVSS5.3AI score0.00345EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/01/21 12:0 p.m.16 views

Triton VM Soundness Vulnerability due to Improper Sampling of Randomness

In affected versions of Triton VM, the verifier failed to correctly sample randomness in the FRI sub-protocol. Malicious provers can exploit this to craft proofs for arbitrary statements that this verifier accepts as valid, undermining soundness. Protocols that rely on proofs and the supplied...

5.7AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2025/10/18 12:0 p.m.16 views

`unic-char-basics` is unmaintained

All Unicode crates that are part of https://github.com/open-i18n/rust-unic are unmaintained...

7AI score
SaveExploits0
RustSec
RustSec
added 2025/07/17 12:0 p.m.16 views

ConstStaticCell could have been used to pass non-Send values to another thread

ConstStaticCell could have been used to pass non-Send values to another thread, because T was not required to be Send while ConstStaticCell is Send. This was corrected by introducing a T: Send bound...

7.1AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2025/01/13 12:0 p.m.16 views

Segmentation fault due to lack of bound check

In this case, the "fastfloat::common::AsciiStr::first" method within the "AsciiStr" struct uses the unsafe keyword to reading from memory without performing bounds checking. Specifically, it directly dereferences a pointer offset by "self.ptr". Because of the above reason, the method accesses...

7.5AI score
SaveExploits0
RustSec
RustSec
added 2024/11/22 12:0 p.m.16 views

rustls network-reachable panic in `Acceptor::accept`

A bug introduced in rustls 0.23.13 leads to a panic if the received TLS ClientHello is fragmented. Only servers that use rustls::server::Acceptor::accept are affected. Servers that use tokio-rustls's LazyConfigAcceptor API are affected. Servers that use tokio-rustls's TlsAcceptor API are not...

7.5CVSS7AI score0.00707EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2023/10/15 12:0 p.m.16 views

Sequential calls of encryption API (`encrypt`, `wrap`, and `dump`) result in nonce reuse

Problem: Trying to create a new encrypted message with the same cocoon object generates the same ciphertext. It mostly affects MiniCocoon and Cocoon objects with custom seeds and RNGs where StdRng is used under the hood. Note: The issue does NOT affect objects created with Cocoon::new which...

4.5CVSS7.1AI score0.0014EPSS
SaveExploits0Affected Software1
RustSec
RustSec
added 2023/04/17 12:0 p.m.16 views

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 bitflag type. Thus, code like this could...

6.8AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2023/03/22 12:0 p.m.16 views

Unsound FFI: Wrong API usage causes write past allocated area

The following usage causes undefined behavior. rust let kp: ntru::types::KeyPair = …; kp.getpublic.exportDefault::default When compiled with debug assertions, the code above will trigger a attempt to subtract with overflow panic before UB occurs. Other mistakes e.g. using EncParams from a differe...

6.8AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2023/03/14 12:0 p.m.16 views

Gitoxide has renamed its crates.

All crates in the gitoxide project have been renamed from git- to gix-. The git- prefixed crates are no longer being updated. Switch to using gix-path to continue receiving updates...

6.8AI score
SaveExploits0
RustSec
RustSec
added 2022/12/02 12:0 p.m.16 views

Force cast a &Vec<T> to &[T]

In function Table::asref, a reference of vector is force cast to slice. There are multiple problems here: 1. To guarantee the size is correct, we have to first do Vec::shrinktofit. The function requires a mutable reference, so we have to force cast from immutable to mutable, which is UB. 2. Even ...

2.1AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2022/11/30 12:0 p.m.16 views

Improper validation of Windows paths could lead to directory traversal attack

Path resolution in hyper-staticfile 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 onl...

4.6AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2022/02/17 12:0 p.m.16 views

enum_map macro can cause UB when `Enum` trait is incorrectly implemented

Affected versions of this crate did not properly check the length of an enum when using enummap! macro, trusting user-provided length. When the LENGTH in the Enum trait does not match the array length in the EnumArray trait, this can result in the initialization of the enum map with uninitialized...

0.9AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2022/01/24 12:0 p.m.16 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
SaveExploits0Affected Software1
RustSec
RustSec
added 2021/12/27 12:0 p.m.16 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
SaveExploits0
RustSec
RustSec
added 2021/09/14 12:0 p.m.16 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/08/25 12:0 p.m.16 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/02/04 12:0 p.m.16 views

Multiple soundness issues

Calls std::str::fromutf8unchecked without any checks The function xcb::xproto::GetAtomNameReply::name calls std::str::fromutf8unchecked on the raw bytes that were received from the X11 server without any validity checks. The X11 server only prevents interior null bytes, but otherwise allows any X...

9.8CVSS1.3AI score0.01754EPSS
SaveExploits3Affected Software1
RustSec
RustSec
added 2020/12/07 12:0 p.m.16 views

crate has been superseded by `sn_client`

This crate has been superseded by snclient. The new repository location is:...

0.3AI score
SaveExploits0
RustSec
RustSec
added 2020/12/02 12:0 p.m.16 views

memmap is unmaintained

The author of the memmap crate is unresponsive. Maintained alternatives: - memmap2...

2AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2020/11/02 12:0 p.m.16 views

`mio` invalidly assumes the memory layout of std::net::SocketAddr

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

5.5CVSS2.7AI score0.00389EPSS
SaveExploits1Affected Software1
RustSec
RustSec
added 2020/07/14 12:0 p.m.16 views

mach is unmaintained

Last release was almost 4 years ago. Maintainers seem to be completely unreachable. Possible Alternatives These may or may not be suitable alternatives and have not been vetted in any way; - mach2 - direct fork...

3.5AI score
SaveExploits0
RustSec
RustSec
added 2020/04/18 12:0 p.m.16 views

`stb_truetype` crate has been deprecated; use `ttf-parser` instead

This crate was maintained for use in rusttype which has switched to use ttf-parser...

0.8AI score
SaveExploits0
RustSec
RustSec
added 2020/02/06 12:0 p.m.16 views

`tokio-proto` is deprecated/unmaintained

The tokio-proto crate has been deprecated, and its GitHub repository has been archived. Users may be interested in tokio-tower instead, per https://github.com/tokio-rs/tokio/issues/118issuecomment-452969665...

0.6AI score
SaveExploits0
RustSec
RustSec
added 2018/09/17 12:0 p.m.16 views

Uncontrolled recursion leads to abort in deserialization

Affected versions of this crate did not properly check for recursion while deserializing aliases. This allows an attacker to make a YAML file with an alias referring to itself causing an abort. The flaw was corrected by checking the recursion depth...

4.5AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2018/06/30 12:0 p.m.16 views

quickersort is deprecated and unmaintained

The author of the quickersort crate has deprecated it and does not recommend using it anymore. Everything in it has been incorporated into std::sortunstable in the standard library as of Rust 1.20. std::sortunstable: https://doc.rust-lang.org/stable/std/primitive.slice.htmlmethod.sortunstable...

4.3AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/06/30 12:0 p.m.15 views

mXSS in ammonia via MathML `annotation-xml` encoding strip

If a certain set of MathML tags are enabled, an attacker can inject arbitrary JavaScript code into the user's browser. The annotation-xml tag has slightly different behavior than the other "integration point" tags in MathML and SVG, but ammonia didn't handle it, so it didn't correctly strip the...

6.2AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/06/29 12:0 p.m.15 views

Unbounded namespace-declaration allocation in `NsReader` enables memory-exhaustion denial of service

NsReader resolves namespaces by calling NamespaceResolver::push for every Start/Empty event before the event is returned to the caller. push iterated all xmlns / xmlns: attributes on the start tag and, for each one, appended the prefix bytes to an internal buffer and pushed a NamespaceBinding 32...

6AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/06/04 12:0 p.m.15 views

`pqcrypto-traits` is unmaintained: upstream PQClean project being archived

This crate provides shared trait definitions for the pqcrypto- ecosystem, which wraps C implementations from PQClean. The PQClean project is being archived in or after July 2026 see PQClean/PQClean604. As a result, this crate and the broader pqcrypto- ecosystem will no longer receive updates. Use...

5.8AI score
SaveExploits0
RustSec
RustSec
added 2026/06/04 12:0 p.m.15 views

tide is unmaintained

The tide crate is unmaintained, and all versions are affected. The closest maintained alternative might be trillium. See this issue for more context...

5.8AI score
SaveExploits0
RustSec
RustSec
added 2026/05/02 12:0 p.m.15 views

Invalid pointer arithmetic in `iter()` and `iter_mut()`

The iter and itermut APIs compute current = &children0 as const const RawAutoChild.sub1, which performs pointer subtraction going before the start of the allocation. This is undefined behavior per Rust's pointer arithmetic rules. This can be triggered through safe public APIs — iter and itermut —...

5.8AI score
SaveExploits0
RustSec
RustSec
added 2026/05/01 12:0 p.m.15 views

Fragile bounds check when sampling from image

A read of pixels was coded as modifying coordinates to lie within the image bounds. It would calculate a coordinate by adding a constant to an input and taking the minimum of the resulting coordinate and 'dimension - 1'. This would not protect against malicious inputs that could overflow the...

5.9AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/05/01 12:0 p.m.15 views

NSEC3 closest-encloser proof validation enters unbounded loop on cross-zone responses

The NSEC3 closest-encloser proof validation in hickory-net's DnssecDnsHandle walks from the QNAME up to the SOA owner name, building a list of candidate encloser names. The iterator used assumes the QNAME is a descendant of the SOA owner, terminating only when the current candidate equals the SOA...

5.8AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/04/27 12:0 p.m.15 views

PAX Header Desynchronization in astral-tokio-tar

Versions of astral-tokio-tar prior to 0.6.1 contain a PAX header interpretation bug that allows manipulated entries to be made selectively visible or invisible during extraction with astral-tokio-tar versus other tar implementations. An attacker could use this differential to smuggle unexpected...

5.2AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/02/12 12:0 p.m.15 views

Unsoundness in opt-in ARMv8 assembly backend for `keccak`

Summary The asm! block enabled by the off-by-default asm feature, when enabled on ARMv8 targets, misspecified the operand type for all of its operands, using in for pointers and values which were subsequently mutated by operations performed within the assembly block. Impact It's unclear what...

5.5AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2026/02/08 12:0 p.m.15 views

Panic in `libcrux-psq` on decryption of malformed AES-GCM ciphertext

The latest releases of the libcrux-psq crate contains the following bug-fix: 1319: Propagate AEADError instead of panicking The issue fixed in 1319 was first reported by Nadim Kobeissi...

5.3AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2025/12/04 12:0 p.m.15 views

Incorrect calculation on aarch64

On platforms without the core::arch::aarch64::vxarqu64 intrinsic, an unverified fallback in libcrux-intrinsics v0.0.3 passed incorrect arguments and produced wrong results. This corrupted SHA-3 digests and caused libcrux-ml-kem and libcrux-ml-dsa to sample incorrectly, yielding incorrect shared...

7AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2025/10/18 12:0 p.m.15 views

`unic-idna` is unmaintained

All Unicode crates that are part of https://github.com/open-i18n/rust-unic are unmaintained. Recommended alternatives - idna...

7AI score
SaveExploits0
RustSec
RustSec
added 2025/10/18 12:0 p.m.15 views

`unic-common` is unmaintained

All Unicode crates that are part of https://github.com/open-i18n/rust-unic are unmaintained...

7AI score
SaveExploits0
RustSec
RustSec
added 2025/09/17 12:0 p.m.15 views

Pingora MadeYouReset HTTP/2 vulnerability

Pingora deployments using versions prior to 0.6.0 that include HTTP/2 server support may be affected by the vulnerability described in CVE-2025-8671. Under certain conditions, Pingora applications may allocate buffers before the HTTP/2 reset and resulting stream cancellation is processed by the...

7.5CVSS6.8AI score0.0351EPSS
SaveExploits3Affected Software1
RustSec
RustSec
added 2025/09/11 12:0 p.m.15 views

`libyml::string::yaml_string_extend` is unsound and unmaintained

In version 0.0.4, libyml::string::yamlstringextend was revised resulting in undefined behaviour, which is unsound. The GitHub project for libyml was archived after unsoundness issues were raised. If you rely on this crate, it is highly recommended switching to a maintained alternative. Recommende...

7.1AI score
SaveExploits0
RustSec
RustSec
added 2025/09/09 12:0 p.m.15 views

The `google-apis-rs` project is now unmaintained

Instead, please start using and migrate to the official Google Rust bindings...

7AI score
SaveExploits0
RustSec
RustSec
added 2025/06/16 12:0 p.m.15 views

Four unique double-free vulnerabilities triggered via safe APIs

The crate slice-ring-buffer was developed as a fork of slice-deque to continue maintenance and provide security patches, since the latter has been officially unmaintained RUSTSEC-2020-0158. While slice-ring-buffer has addressed some previously reported memory safety issues inherited from its fork...

7.9AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2025/05/04 12:0 p.m.15 views

Unsound issue in Trailer

Our static analyzer find a potential unsound issue in the construction of Trailer, where it doesn't provide enough check to ensure the soundness. trailer/src/lib.rs, Lines 18 to 25 in d474984: pub fn newcapacity: usize - Trailer unsafe let trailer = Trailer::allocatecapacity; let ptr = trailer.pt...

9.8CVSS5.5AI score0.00497EPSS
SaveExploits1
RustSec
RustSec
added 2025/04/24 12:0 p.m.15 views

Out of bounds access in public safe API

Rows::rowunchecked allows out of bounds access to the underlying buffer without sufficient checks. The arrow2 crate is no longer maintained, so there are no plans to fix this issue. Users are advised to migrate to the arrow crate, instead...

7.1AI score
SaveExploits0
RustSec
RustSec
added 2025/04/23 12:0 p.m.15 views

`VMABuffer::set_data` may allow out-of-bounds writes from safe code

VMABuffer::setdata was a publicly accessible safe function. It accepted an arbitrary offset and a data slice, then used the offset in unsafe pointer arithmetic before copying the slice into a mapped allocation. Affected versions did not check that the requested write range fit within the allocati...

6AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2025/04/01 12:0 p.m.15 views

Risk of buffer overflow in `PyString::from_object`

PyString::fromobject took &str arguments and forwarded them directly to the Python C API without checking for terminating nul bytes. This could lead the Python interpreter to read beyond the end of the &str data and potentially leak contents of the out-of-bounds read by raising a Python exception...

6.9AI score
SaveExploits0Affected Software1
RustSec
RustSec
added 2025/02/07 12:0 p.m.15 views

Hickory DNS failure to verify self-signed RRSIG for DNSKEYs

Summary The DNSSEC validation routines treat entire RRsets of DNSKEY records as trusted once they have established trust in only one of the DNSKEYs. As a result, if a zone includes a DNSKEY with a public key that matches a configured trust anchor, all keys in that zone will be trusted to...

7.3AI score
SaveExploits0Affected Software1
Total number of security vulnerabilities1170