1577 matches found
`astral-tokio-tar` is unmaintained
Astral ended maintenance of astral-tokio-tar on November 3, 2026. All versions of the crate are deprecated and unmaintained. For strict tar encoding and decoding, Astral recommends tar-codec as a possible replacement. 0.7.1 release: https://github.com/astral-sh/tokio-tar/releases/tag/v0.7.1...
Apache Arrow Rust: Improper validation of RunEndEncoded arrays allows out of bounds reads
Improper validation of RunEndEncoded arrays via ArrayData::validatevalues can allow reading data beyond the bounds of the child values array when reading the last value via APIs such as TypedRunArray::value. Patched versions now properly validate the contents of RunEndEncoded arrays to prevent...
Unbounded memory allocation in `thrift` binary protocol `read_bytes`
Affected versions of the thrift crate size a buffer directly from an attacker-controlled 4-byte length read off the wire, before reading any payload and with no upper bound, allowing a hostile peer to force a large eager allocation or an immediate abort denial of service, CWE-400 / CWE-789. This ...
Path traversal in `rio-vt` Kitty graphics protocol handler allows out-of-bounds file delete (and read)
The Kitty graphics protocol handler in rio-vt builds a filesystem path from an attacker-controlled APC escape sequence and, for the temp-file medium, only checks that the path contains the substring "tty-graphics-protocol" before it opens, reads, and removefiles it. There is no .. rejection and n...
Unbounded memory allocation in `evtx` parsing a `.wevtcache` file
Affected versions of evtx did not bound a per-entry payload length read from a .wevtcache file before allocating a buffer sized from it, allowing a tiny crafted file to force a multi-gigabyte allocation and abort the process out-of-memory denial of service, CWE-400. Details In...
`codeq`: decoding untrusted input can allocate memory from an unchecked length prefix (denial of service)
codeq is a serialization library whose Decode trait reads length-prefixed values. For String and Vec, the length-prefixed Decode implementations read a 4-byte big-endian length and allocate a buffer of that size before reading the payload. Because the declared length is taken straight from the...
`ant-releases`: extracting a release archive can write files outside the destination directory (path traversal / zip-slip)
ant-releases downloads and unpacks release archives from the safenetwork / autonomi repositories. When it extracts an archive, it builds each output path by joining the archive entry's own name onto the destination directory, with no check for .. or absolute components — a classic "zip-slip" path...
Agent server signs with confirm-constrained keys without calling `Agent::confirm`
A key added to an SSH agent with the confirm constraint what ssh-add -c sends must not be used to sign until the user approves each use. russh's agent server russh::keys::agent::server accepted the constraint, but when a sign request arrived for such a key it used a fixed true in place of the...
`ocipkg`: unpacking an OCI archive can write and delete files outside the local image store (path traversal)
When ocipkg unpacks an OCI archive, the destination directory is derived from the image name, which ocipkg reads from the archive's own index.json org.opencontainers.image.ref.name. That name is attacker-controlled, and ImageName::parse accepts a hostname of .., so the computed destination escape...
`sqlcipher-src` via C SQLite CVE-2026-119375
SQLite versions before 3.54.0 can return uninitialized page-cache memory when a process opens a database file together with a sibling write-ahead-log -wal file whose page size differs from the database's. A crafted pair of files can make ordinary queries return stale bytes from the process's...
`libsqlite3-sys` via C SQLite CVE-2026-119375
SQLite versions before 3.54.0 can return uninitialized page-cache memory when a process opens a database file together with a sibling write-ahead-log -wal file whose page size differs from the database's. A crafted pair of files can make ordinary queries return stale bytes from the process's...
LLVM introduces timing-vulnerable optimizations into ML-KEM and ML-DSA operations intended to be constant-time
Summary On targets that do not have a conditional move/select operations, LLVM compiles the internal conditionalsubu32 function, into one that will contain a conditional jump on secret-dependent data, which could leak information about encapsulation and signing keys. conditionalsubu32 is used...
BLAKE2b produces wrong tag when using `reset()` with a different-length key
Summary hazardous::mac::blake2b::Blake2b::reset does not correctly reset the state when a key is supplied that has a different length than the one used upon initialization with hazardous::mac::blake2b::Blake2b::new, because it errorneously uses a cached length. Impact Initialization...
`nix-nar`: `Decoder::unpack` writes archive entries outside the destination directory (path traversal)
Decoder::unpack does not safely contain the paths it extracts, so a malicious NAR archive can create files outside the destination directory — a path traversal CWE-22. In src/dec.rs Decoder::unpack: - A symlink entry's target is written without checking where it points src/dec.rs:153, so the...
Unbounded memory use on large request bodies
The makegraphqlfilter and makegraphqlfiltersync filters of juniperwarp read the whole body of a POST request into memory before they parsed the body. The filters had no limit on the size of the body. A client could thus send a large body and exhaust the memory of the server. The request needs no...
Cross-engine type confusion with host-created struct-types-with-supertypes
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-qw58-7h65-crq2 For more information see the GitHub-hosted security advisory...
`sn-releases`: `extract_release_archive` writes archive entries without a path-traversal check (zip-slip)
SafeReleaseRepoActions::extractreleasearchive builds each output path from the raw archive entry name and writes to it with no traversal check, so a malicious release archive can create directories and write files outside the destination directory, a "zip-slip" / path traversal CWE-22 / CWE-23. I...
wasip3 UDP `send` can deliver a datagram to an address only allowed for receiving
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-hmmr-87qq-258j For more information see the GitHub-hosted security advisory...
wasi-http p2: outgoing content-length can be invalid or not match body
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-h4wp-g4x3-7398 For more information see the GitHub-hosted security advisory...
Unchecked memory usage in transferring borrowed resources between components
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-6fr9-xmw9-5352 For more information see the GitHub-hosted security advisory...
Typed functions with `i31` or `nullref` arguments may panic due to insufficient type-check
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-3982-jqvv-277m For more information see the GitHub-hosted security advisory...
Excessive CPU and memory use on crafted GraphQL documents
Several parts of juniper did work that grew faster than the size of the GraphQL document. A small document could thus use seconds of CPU time or gigabytes of memory. The requests need no authentication. - OverlappingFieldsCanBeMerged compared all pairs of fields with the same response name. The...
Stack overflow on deeply nested GraphQL documents
The parser of juniper called itself once for each level of nesting in a GraphQL document. The parser had no limit on the nesting depth. Deeply nested selection sets, input values, and list types thus overflowed the stack of the thread that parsed the document. Validation and execution followed...
libz-sys build script leaks environment variables in the build directory
The build script of libz-sys version = 1.1.30 prints the full environment of the build, including any secrets it contains, to its stdout when compiled with [email protected] or later on a Unix host. This affects any build that depends on libz-sys. Cargo saves build script stdout under target/, so the valu...
Panic and unbounded allocation (OOM) in the CFB/OLE2 parser on malformed input
The Compound File Binary OLE2 parser src/cfb.rs, used when reading .xls and .xlsb workbooks and when extracting VBA projects from .xlsx, can panic or allocate without bound on crafted input. Both are reachable through the public reader API openworkbook, Xls::new, Xlsb::new on an attacker-supplied...
Unbounded memory use on large request bodies
The graphql and graphqlsync functions of juniperhyper read the whole body of a POST request into memory before they parsed the body. The functions had no limit on the size of the body. A client could thus send a large body and exhaust the memory of the server. The request needs no authentication...
Quadratic parsing of nested image wikilinks with `ENABLE_WIKILINKS`
With Options::ENABLEWIKILINKS, handlewikilink builds a wikilink's target from the raw text of its body: scanwikilinkpipe walks it looking for |, then contains'\0' and fromreplacenuls walk it again. Once a wikilink is created, disablealllinks only disables Link entries, so every enclosing ! stays...
`hugepage_rs::Box::new` may cause undefined behavior when initializing memory
hugepagers::Box::new incorrectly initialized freshly allocated memory. Earlier implementations could either drop an uninitialized T or create a mutable reference before the memory contained a valid T, causing undefined behavior even when called from safe Rust code. The issue was fixed in version...
xattr functions mark unwritten bytes as initialized when given a zero-length buffer
The extended-attribute functions in rustix::fs getxattr, lgetxattr, fgetxattr, listxattr, llistxattr and flistxattr write into a Buffer and then mark as many bytes initialized as the system call reported. When the buffer has zero length, the operating system treats the call as a size query: it...
`hugepage_rs::alloc` may cause undefined behavior with zero-sized layouts from safe code
hugepagers::alloc was a publicly accessible safe function that forwarded a Layout to the hugepage allocator's GlobalAlloc::alloc implementation without enforcing its safety requirements. GlobalAlloc::alloc requires the layout size to be non-zero. However, the safe wrapper allowed callers to pass ...
Ineffective default DACL on Windows
On Windows, affected versions of this crate do not provide the intended security-enhancement. In particular, any process running under the same user as the hardened process can reset our DACL, and thus bypass the protection the DACL should have provided. Usage of the crate however does not active...
Arbitrary code execution when rerunning tests from a portable recording
Summary Nextest versions between 0.9.125 and 0.9.149 inclusive allow the cargo nextest run --rerun or -R command with a malicious portable recording to run arbitrary code during the build. The result is arbitrary code execution with the privileges of the user running cargo nextest. This...
Use-after-free of caller-owned server name in client connection constructors
In rustls-ffi 0.12.0 through 0.15.6, rustlsclientconnectionnew and rustlsclientconnectionnewalpn retained a reference to the caller's servername buffer after returning, rather than copying it. The API documentation did not require the buffer to outlive the call and as a result if the caller freed...
Aliasing violations in splice, mutable iteration and cursors
Four code paths create a pointer whose permission is later revoked, then write through it. Miri reports each as undefined behaviour under both the Tree Borrows and Stacked Borrows aliasing models CWE-758. All four are reachable from safe code with standard Ord types. 1. Splice back-pointer...
Use-after-free from a comparator that answers inconsistently
OrderedSkipList, SkipSet and SkipMap can free a node that is still linked when a Comparator or Ord implementation gives different answers for the same pair of values during one mutating call. A later call reads the freed memory CWE-416. A safe impl Ord with the default comparator is enough to rea...
Multiple timing variability issues in operations intended to be constant-time
Summary Several operations intended to be constant-time could execute secret-dependent branches, depending on the compiler and target CPU. These include subtraction, zero counting, division, and Montgomery multiplication. Additionally, UintRef equality could terminate at the first unequal limb, a...
Non-constant-time mask generation and `u128` comparisons
Summary The ctutils::Choice type has mask generation functions for each unsigned integer size u8, u16, u32, u64, u128. These are const fn and therefore can't reuse the asm!-backed mask generation in the cmov crate that's otherwise used to ensure constant-time. In releases prior to v0.4.4, the...
SSRF and local file disclosure via unvalidated URLs
Applications that pass attacker-controlled URLs to webpage versions before 2.1.0 may be vulnerable to server-side request forgery SSRF or local file disclosure. HTTP::fetch and Webpage::fromurl passed URLs to libcurl without restricting the URL scheme or validating the resolved destination IP...
Out-of-bounds read in `Log2Cache::nlog2n()`, `nlog2n_difference()` and `plog2p()`
Log2Cache::newn fills its three tables with entries for 0..=n, but the three accessor methods index those tables with getunchecked on a value the caller supplies. Nothing bounds the argument and nothing documents a bound, so any value above the n the cache was built with reads past the end of the...
`ZipArchive::extract` can write outside the destination through absolute or chained symlink targets
Before writing an entry whose path goes through a symlink, ZipArchive::extract checks the symlink's target against the destination directory. That check compares the paths as text and does not follow symlinks, and from 7.2.0 it drops the root and prefix of an absolute target before comparing...
zip: `ZipArchive::extract` aborts the process on a symlink entry with a large declared size
ZipArchive::extract sizes the symlink-target buffer from the uncompressed size declared in the central directory record, before reading a single byte of entry data: rust let mut target = Vec::withcapacityfile.size as usize; Both inputs are attacker-controlled. ZipFile::size returns uncompressedsi...
Legacy Shrink, Reduce and Implode decoders preallocate the declared uncompressed size
With the legacy-zip feature, the decoders for the Shrink, Reduce and Implode compression methods reserved output capacity for the entry's declared uncompressed size before decoding anything. That size comes from the archive, and a ZIP64 entry can declare any 64-bit value, so reading or extracting...
AES entries returned without checking their authentication code when the data ends early or is empty
For WinZip AES AE-1 and AE-2 entries, the 10-byte HMAC authentication code was read and checked only after the reader had consumed exactly the entry's declared compressed size. If the archive ended before that size was reached, the read returned end-of-stream and the truncated plaintext was...
OAuth client SSRF filter checks host strings, not resolved addresses
From 2.0.0 until 3.7.0, the rmcp OAuth client decided whether it may fetch an authorization server's metadata URL by inspecting only the host string. It rejected literal loopback, private and link-local IP addresses and known cloud metadata hostnames, but it did not resolve other hostnames. A...
Race condition in `tokio::time::Interval` on Tokio v1.54.0
Summary On the multi-threaded runtime, there is a race condition between Interval::polltick and the runtime's time driver. This affects Interval only. Sleep and Timeout are not affected. Details In Tokio v1.54.0, a race condition between tokio::time::Interval::polltick including .tick.await and t...
Unbounded tool schema cache in Streamable HTTP server transport
From 3.0.0 until 3.6.0, StreamableHttpService cached the result of ServerHandler::gettool in a process-wide map keyed by the tool name of incoming tools/call requests. The map had no size limit and no eviction, and it also cached unknown tool names. An entry was added while the request headers we...
Pingora forwards client-nominated Connection headers to HTTP/1 upstreams, allowing ACL bypass in specific chained deployments
Pingora versions prior to 0.9.0 passed the downstream request through upstreamrequestfilter and wrote it to HTTP/1 upstreams without removing the client's Connection header, other hop-by-hop headers, or the headers Connection nominated, although RFC 9110 Section 7.6.1 requires intermediaries to...
Pingora HTTP/2 :authority and Host header mismatch enables cache poisoning and host-based access control bypass
Pingora versions prior to 0.9.0 accepted HTTP/2 requests whose Host header differed from the :authority pseudo-header. Request filters, cache keys, and logs that read the request URI session.reqheader.uri saw the :authority value, but the upstream received the client-supplied Host value. Pingora...
Certificate verification may accept distrusted intermediates
Affected versions may accept certificate paths containing distrusted emSign intermediate public keys when the configured trust anchors allow such paths. The private keys corresponding to these intermediates are now well known. Versions 0.103.16 and 0.104.0-alpha.8 reject paths containing these...
Pingora HTTP/2 server memory exhaustion through unbounded default header-list and concurrent-stream limits
Pingora versions prior to 0.8.1 used the h2 crate's default HTTP/2 server limits, a 16 MiB decoded header-list size and no limit on concurrent streams, unless the application set its own. A remote, unauthenticated client can send 1-byte HPACK references to a near-empty header, making the server...