A vulnerability in rustls versions prior to 0.23.46 and between 0.24.0-dev.1 and 0.24.0-dev.2 allows the TLS master secret or TLS 1.3 resumption PSK to be exposed when formatting a client session value with the Debug trait. This can lead to leakage of sensitive key material if a custom ClientSessionStore logs these debug outputs. Built-in diagnostics do not expose these secrets, and the session-store interface warns about the sensitivity of these values.
Rustls contains a vulnerability in its Brotli certificate decompression feature, which is disabled by default. The Brotli decoder accepts an input-specified history window size that can be up to 1 GiB, potentially causing large memory allocations. This can lead to denial of service via memory exhaustion if a malicious peer sends specially crafted Brotli-encoded certificates. Both clients and servers enabling Brotli decompression and client authentication are affected. The issue is fixed in rustls versions 0.23.46 and 0.24.0-dev.2.
The hugepage-rs crate contained a safe function, hugepage_rs::alloc, that allowed zero-sized memory layout allocations, violating the safety requirements of the underlying GlobalAlloc::alloc method. This flaw exposed unsafe allocation preconditions through safe Rust code, breaking Rust's soundness guarantees. The issue was fixed in version 0.1.2 by marking the alloc function as unsafe and documenting the requirement for non-zero layout sizes.
The secmem-proc crate for Windows had a security issue in versions before 0.3.9 where the default Discretionary Access Control List (DACL) did not provide the intended protection. Processes running under the same user could reset the DACL, bypassing the intended security enhancement. This was due to using an explicit owner SID instead of the well-known "owner rights" SID, which Windows treats differently. The issue is fixed in version 0.3.9 by using the correct SID. Users with custom DACLs must update their code accordingly.
The rustix crate's extended-attribute functions in versions >=1.0.0 and <1.1.6 incorrectly mark unwritten bytes as initialized when given a zero-length buffer, leading to undefined behavior accessible from safe Rust code. This occurs because the functions mark as initialized the number of bytes reported by the system call, even though no bytes are written when the buffer length is zero. The issue is fixed in version 1.1.6 by returning empty results for zero-length buffers and introducing new query functions to safely obtain size information.
A use-after-free vulnerability exists in rustls-ffi versions 0.12.0 through 0.15.6 where client connection constructors retain a reference to the caller's server_name buffer instead of copying it. If the caller frees or reuses this buffer after the constructor returns, TLS processing may read freed memory. This affects clients that do not keep the server_name buffer alive for the lifetime of the rustls_client_config. The issue is fixed in version 0.15.7 and later.
Cargo nextest versions 0.9.125 through 0.9.149 inclusive contain a vulnerability in the experimental run recording feature that allows arbitrary code execution when rerunning tests from a malicious portable recording. This occurs because build scope arguments are deserialized without validation, enabling injection of arbitrary Cargo configuration options that execute code during the build phase. The vulnerability is fixed in version 0.9.150.
A use-after-free vulnerability exists in the Rust skiplist implementations (OrderedSkipList, SkipSet, SkipMap) prior to version 1.3.0. This occurs when a comparator or Ord implementation gives inconsistent ordering results for the same pair of values during a single mutating operation, causing the data structure to free nodes still linked elsewhere. The flaw is triggered by stateful or non-deterministic comparators. The issue was fixed in version 1.3.0 by adding checks that panic on comparator inconsistencies before any memory modification.
This vulnerability involves aliasing violations in the skiplist Rust crate prior to version 1.3.0. Four distinct code paths create pointers whose permissions are revoked but later written through, causing undefined behavior under Rust's aliasing models. These issues affect safe code using standard ordering types and involve splice back-pointers, mutable range iteration, iterator back reads, and cursor list pointers. No miscompilation has been observed yet, but future compiler optimizations may exploit these violations. The issues were fixed in version 1.3.0 with improved pointer derivation and Miri regression tests.
A vulnerability in the legacy-zip feature of the zip library affects the decoders for the Shrink, Reduce, and Implode compression methods. These decoders preallocate memory based on the declared uncompressed size from the archive, which can be manipulated to cause a capacity overflow or huge allocation failure. This can lead to a denial of service by panicking or stopping the process reading the archive. Only builds with the legacy-zip feature enabled are affected, and the issue is fixed in version 9.0.0.
A vulnerability in ZipArchive::extract and ZipArchive::extract_unwrapped_root_dir allows crafted zip archives to write files outside the intended destination directory by exploiting symlink targets. The flaw arises because the path checks do not properly resolve symlinks and can be bypassed with chained symlinks, potentially overwriting arbitrary files. This affects versions from 7.2.0 up to but not including 9.0.0. The issue is fixed in version 9.0.0 by properly resolving symlink targets and preventing writes outside the destination.
A vulnerability in the handling of WinZip AES-encrypted entries in the zip library versions >=0.6.0 and <9.0.0 allows truncated or empty encrypted entries to bypass authentication checks. This can enable an attacker who can modify an archive to alter decrypted contents of AE-2 entries without detection. The issue is fixed in version 9.0.0 by enforcing authentication code checks and erroring on premature data endings.
The rmcp OAuth client versions from 2.0.0 up to but not including 3.7.0 have a server-side request forgery (SSRF) vulnerability. The client only inspected host strings to decide if it should fetch authorization server metadata, failing to resolve hostnames to their IP addresses. This allowed malicious servers to cause the client to send requests to internal IP addresses, potentially reaching unauthenticated internal HTTP services. The issue was fixed in version 3.7.0 by adding DNS resolution and address policy checks on all resolved addresses and redirects.
A vulnerability in the zip crate's ZipArchive::extract() function causes the process to abort when extracting a symlink entry with a large declared uncompressed size. The function allocates memory based on the uncompressed size declared in the archive's central directory without validating it against actual data size or system limits. This can lead to a process abort due to memory allocation failure. The issue affects versions prior to 9.0.0 and was fixed in version 9.0.0.
The Dahl salso library contains an out-of-bounds read vulnerability in the Log2Cache struct's methods nlog2n(), nlog2n_difference(), and plog2p(). These methods index internal tables without bounds checking, allowing reads beyond the allocated vector size. This can lead to disclosure of arbitrary memory contents. The issue affects versions before 0.7.0 and is fixed in version 0.7.0.
Versions of the 'webpage' crate prior to 2.1.0 are vulnerable to server-side request forgery (SSRF) and local file disclosure due to insufficient validation of URLs passed to HTTP fetch functions. The vulnerability allows attackers to read local files via file:// URLs or make requests to internal network services by exploiting redirects or direct private IP URLs. Starting with version 2.1.0, the library enforces restrictions on URL schemes and destination IP addresses to prevent these attacks.
Slack Morphism versions 1.0.0 through 2.27.0 improperly log the correct Slack request HMAC signature when signature verification fails. This allows an attacker who can send requests to the Slack callback endpoint and read application logs to recover the valid signature for an attacker-controlled request. The attacker can then resend the request within the allowed time window, bypassing signature verification without knowing the Slack signing secret. Version 2.28.0 fixes this issue.
A use-after-free vulnerability exists in the librsvg2 library when XML includes contain duplicated entities. This issue is addressed by a security update from Red Hat for their Enterprise Linux 9.8 Extended Update Support releases. The vulnerability is rated as important by Red Hat Product Security.
The rmcp Streamable HTTP server transport versions 3.0.0 through 3.5.x have an unbounded cache of tool schema results keyed by tool name. This cache grows with each incoming tools/call request, including those rejected with HTTP 400, potentially leading to memory exhaustion. The vulnerability affects servers using protocol version 2026-07-28 or later and lacking authentication in front of the endpoint. The issue was fixed in version 3.6.0 by removing the cache and calling ServerHandler::get_tool on each request. Mitigation includes upgrading to 3.6.0 or implementing authentication or request filtering to block unknown tool names.
Pingora proxy versions prior to 0.9.0 improperly forwarded client-supplied Connection headers to HTTP/1 upstream servers without removing hop-by-hop headers as required by RFC 9110. This flaw allows a remote unauthenticated attacker to cause removal of headers added by Pingora (such as X-Forwarded-For) by an intermediary, potentially bypassing authorization in chained deployments where the origin trusts those headers. The issue was fixed in Pingora 0.9.0 by removing such headers and rejecting requests with certain Connection nominations.