Vulnerabilities & updates
88 items
Sat, December 5Yesterday
GotaTun: Oversized UDP datagram can stop default Windows Device reception
Affected: rust:gotatun <= 0.9.2 → 0.10.0 An unauthenticated sender able to deliver a UDP datagram larger than 4096 bytes to a Windows Device using the built-in transport without windows-gro can stop inbound processing for all peers on that Device. Source inspection indicates that the outage lasts until the application rebuilds the connection. A native Windows loopback test reproduced the receive error. Details In GotaTun 0.9.2, Connection::set_up in gotatun/src/device/mod.rs passes the default 4096-byte PacketBufPool to BufferedUdpRec…
Fulgur is vulnerable to denial of service via unbounded CSS counters() expansion
Affected: rust:fulgur >= 0.15.0, < 0.27.0 → 0.27.0 fulgur converts untrusted HTML/CSS into PDF, commonly on a server that processes input supplied by many tenants. In versions from 0.15.0 up to (but not including) the patched release, resolving the CSS counters(name, sep) function in generated content was bounded neither in the size of a single expansion nor in the aggregate work across an element tree. A CSS counter chain grows by one entry per counter-reset, and per CSS Lists 3 §4.4 a reset is scoped to the originating element, its descendant…
Fri, December 4
bcrypt: Non-ASCII hash input can cause verification panic
Affected: rust:bcrypt >= 0.19.0, < 0.19.2 → 0.19.2 bcrypt::verify(password, hash) and HashParts::from_str(hash) panic in str::slice_error_fail when given a 60-byte &str containing a multi-byte UTF-8 character at certain byte positions. Impact Any Rust code that calls bcrypt::verify (or HashParts::from_str) with an attacker-controlled hash string will panic. The bcrypt crate is #![forbid(unsafe_code)], so this is limited to a denial-of-service and cannot lead to memory corruption. Realistic attack contexts include: - Rust authentication services…
Wed, December 2
cookie: Private cookie nonces can repeat in processes that fork
Affected: rust:cookie >= 0.14.0, < 0.18.3 → 0.18.3, rust:cookie >= 0.11.3, < 0.12.0 → 0.18.3 Who is affected Only applications that call fork() and then add private (encrypted) cookies on the thread that forked, in more than one of the resulting processes. This is an uncommon way to deploy a Rust web application. In particular: Rocket is not affected. axum is not affected as normally run. It is affected only when an application forks worker processes itself and runs each on a current-thread runtime. See "Rocket and axum" below. Applications that never fork are not affected. This includ…
A letter to the Laravel community
Taylor Otwell on fifteen years of Laravel, why he built Laravel Rust, and why Laravel PHP isn't going anywhere.
Laravel Rust is here, and Laravel Cloud now runs your framework
Meet Laravel Rust, a batteries-included web framework for Rust. Laravel Cloud now runs Rails, Django, Go and Node apps, plus Cloud MCP, Issues and more.
Introducing Laravel Rust
Laravel Rust is in beta, with routing, typed validation, models, queues, durable workflows, mail, broadcasting, and Inertia in idiomatic Rust.
Laravel Rust: 18× the throughput of Laravel PHP
We benchmarked six frameworks on Laravel Cloud, comparing throughput, latency, CPU usage, local and production build times, and wake-from-sleep latency.
Mon, November 30
arcodash 0.2: open-source SQL dashboards with scheduled data checks, with PostgreSQL support
arcodash is a new open-source (AGPL-3.0) project for SQL dashboards and data checks. You write SQL against a data source, build dashboards, and attach checks for freshness, null rate and row counts that run on the same scheduler as the queries they protect. When a check fails, it alerts Slack or email. How it relates to PostgreSQL: PostgreSQL is one of the supported data sources, and arcodash also stores all of its own state (queries, dashboards, schedules, check history) in PostgreSQL. A connection only needs a read-only role. The backend and worker are written in Rust; Valkey holds the job…
Fri, November 27
Announcing Rust 1.100.1
The Rust team has published a new point release of Rust, 1.100.1. Rust is a programming language that is empowering everyone to build reliable and efficient software. If you have a previous version of Rust installed via rustup, getting Rust 1.100.1 is as easy as: $ rustup update stable If you don't have it already, you can get rustup from the appropriate page on our website. If you'd like to help us out by testing future releases, you might consider updating locally to use the beta channel ( rustup default beta ) or the nightly channel ( rustup default nightly ). Please report any bugs you mi…
USN-9214-1: GNU binutils vulnerabilities
It was discovered that the GNU binutils gold linker incorrectly handled certain ELF files. A local attacker could possibly use this issue to cause GNU binutils to crash, resulting in a denial of service. This issue only affected Ubuntu 22.04 LTS. (CVE-2019-1010204) Han Zheng discovered that GNU binutils incorrectly handled demangling certain Rust symbols. A local attacker could possibly use this issue to cause GNU binutils to crash, resulting in a denial of service. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-27943) It was discovered that GNU binutils incorrectly handled certain DWAR…
Thu, November 26
fulgur allows Unbounded string-set value accumulation causes memory/CPU exhaustion (denial of service)
Affected: rust:fulgur >= 0.4.4, < 0.28.0 → 0.28.0 fulgur converts untrusted HTML/CSS into PDF, commonly on a server that processes input supplied by many tenants. In versions from 0.4.4 up to (but not including) the patched release, the CSS string-set named-string values resolved from a document were accumulated per element with no memory budget, letting a small crafted document amplify into large retained memory (and the CPU to copy it) — a denial of service. A string-set value is attacker-controlled: it is resolved from an element's own text…
Sat, November 21
sevenz-rust2: decompress builds each output path as dest.join(entry.name()) with no traversal guard, allowing a crafted .7z to write files outside the destination (Zip-Slip)
Affected: rust:sevenz-rust2 < 0.21.1 → 0.21.1 Extracting an attacker-supplied 7z archive can write files outside the destination directory. The 7z header stores each entry's path as a UTF-16 name with nothing constraining it to a relative, in-tree path. The extractor joins that name onto the destination and writes to the result without normalizing it or checking that it stays under the destination root, so an entry named ../../etc/cron.d/x or an absolute path escapes the target. Details In src/util/decompress.rs, decompress_impl computes t…
chcon: recursive relabel not anchored to traversal dirfd (TOCTOU)
Affected: rust:uu_chcon <= 0.9.0 → 0.10.0 chcon resolved recursive targets from fts_accpath with a fresh path lookup, so traversal and the SELinux get/set were not bound to traversal directory state. A privileged recursive relabel can be redirected to unintended objects under rename/symlink races. Fix opens targets with openat against the traversal cwd fd before the SELinux operation. Fixed in 0.10.0 (PR #12566, commit 7cfc74e47ffab452663be6842d788a5164d9688b): recursive relabel resolution is anchored to the traversal dirfd. --- _Zelli…
uu_env incorrectly rejects backslashes within single-quoted strings accepted by GNU env
Affected: rust:uu_env <= 0.9.0 → 0.10.0 In env -S, GNU keeps backslashes literal inside single quotes (except \\ and \'); uutils errors on sequences like \a. This is the backslash-handling issue of the broader -S/--split-string parsing divergence. env -S"printf %s '\''\\x'\''" # GNU prints \x ; uutils: invalid sequence '\x' in -S (125) --- _Zellic private finding (zellic-ext/coreutils-private PR #117). Reported in the Zellic uutils coreutils Program Security Assessment (for Canonical, Jan 2026), audited commit 3a07ffc5a9bd4c283e75afa…
split: TOCTOU output-open allows truncating a swapped file
Affected: rust:uu_split <= 0.9.0 → 0.10.0 split checks input/output identity by path before opening the output, then opens with truncation, leaving a race window on mutable path components. GNU opens first and compares the opened output inode against the input before truncating. The race can cause split to truncate/write a file different from the one validated — including the input file or another file the process can access. Fixed in 0.10.0 (PR #12565, commit 58040feb5c66fce588a7ffac299b3a23bd55cd81): the output open path is hardened…
Fri, November 20
falcon-rust: Discrete-Gaussian sampler runs at 2^-33 precision, far below Falcon's requirement (reference KAT vectors no longer pass)
Affected: rust:falcon-rust <= 0.1.3 → 0.2.0 Reporter: Connor Webber Package: falcon-rust (crates.io), repository github.com/aszepieniec/falcon-rust Affected: v0.1.3 and the current master (HEAD cfa1b35). Regression introduced in commit bf2cf00. Component: discrete-Gaussian sampler, src/samplerz.rs (approx_exp, ber_exp, sampler_z) Status: Confirmed by source review and by empirical measurement of the crate's own compiled code. Summary falcon-rust's discrete-Gaussian rejection sampler evaluates its exp() acceptance step at only 32 bits of…
snark-verifier: Halo 2 aggregation circuit mishandles point-at-infinity proof elements
Affected: rust:snark-verifier < 0.2.5 → 0.2.6 The Halo 2 aggregation circuit could mishandle proof elements encoded as the point at infinity. When an assigned proof point appeared in an MSM term with constant scalar one, the Halo 2 loader used a scalar-one shortcut that passed the assigned point directly into the EC sum helper. The EC sum implementation used by that path assumed its inputs were non-identity points, while assigned proof points could represent the encoded identity (0, 0). Details EcPointLoader::multi_scalar_multiplication pa…
CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCE
Affected: rust:codewhale-tui <= 0.8.67 → 0.9.0, npm:codewhale <= 0.8.67 → 0.9.0 Maintainer resolution The CodeWhale maintainers validated this report. CodeWhale 0.8.67 and earlier are affected. Version 0.9.0 contains the fix in commit 208421b9d23d81cea3311a1eeb2a2ea81d637686. Users should upgrade to 0.9.0 or later. The original reporter analysis is preserved below. Summary The interactive Agent profile of DeepSeek-TUI (CodeWhale) is explicitly documented to gate every shell command behind an approval prompt (config.rs:3725-3736). However, ExecShellTool::approval_requiremen…
CodeWhale: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent execution
Affected: rust:codewhale-tui <= 0.8.67 → 0.9.0, npm:codewhale <= 0.8.67 → 0.9.0 Maintainer resolution The CodeWhale maintainers validated this report. CodeWhale 0.8.67 and earlier are affected. Version 0.9.0 contains the fix in commit 208421b9d23d81cea3311a1eeb2a2ea81d637686. Users should upgrade to 0.9.0 or later. The original reporter analysis is preserved below. Summary CVE-2026-45374 (GHSA-72w5-pf8h-xfp4) hardened the task path so auto-approval must be opted into explicitly: add_task uses req.auto_approve.unwrap_or(false) (task_manager.rs:868). The automation subsystem…
Servo Sandbox bypass: declarative refresh can auto-navigate a sandboxed iframe
Affected: rust:servo < 0.3.0 → 0.3.0 A sandboxed iframe can auto-navigate itself via declarative refresh even when automatic features should be blocked. This allows attacker-controlled embedded content to redirect itself without user action. Summary Servo allows a sandboxed iframe to auto-navigate itself via declarative refresh in configurations that should block automatic features. The issue reproduces in the must-block rows of the matrix: - sandbox="" - sandbox="allow-same-origin" - sandbox="allow-forms" - sandbox="allow-same-or…
Thu, November 19
Atomic Server: Unauthenticated full-response SSRF in Atomic-Server /bookmark endpoint
Affected: rust:atomic-server <= 0.40.1 Atomic-Server exposes a GET /bookmark endpoint that fetches an attacker-supplied URL server-side, parses the response, and reflects the fetched content back to the caller. The endpoint requires no authentication and performs no authorization of its own, and the underlying fetch helper applies no allow-list or private-IP deny-list. An unauthenticated attacker with network reach to the server can force it to issue arbitrary outbound HTTP GET requests to internal-only hosts (loopback services, int…
Atomic Server: Unauthenticated `/setup` invite grants write access to the entire Drive
Affected: rust:atomic-server >= 0.29.0, <= 0.40.1 atomic-server provisions a well-known invite at {server}/setup with write = true, target = the Drive root, and usagesLeft = 1. Invite redemption ignores the redeemer's identity (for_agent: _ in server/src/plugins/invite.rs:22), so possession of the URL is the only requirement. An unauthenticated attacker who sends GET /setup?public-key= has the server create a new Agent and grant it write access to the entire Drive. On a freshly deployed (not-yet-claimed) instance this is a full server takeover…
Atomic Server: Arbitrary file read via user-controlled `internalId` in the `/download` handler (leaks root agent private key)
Affected: rust:atomic-server >= 0.30.0, <= 0.40.1 The Commit apply path enforces no allowlist of writable properties, so any authenticated Agent can set the internalId string (datatype string, no character validation) on a resource it owns. The /download handler then uses that value verbatim as a filesystem path — file_path.push(internal_id); NamedFile::open(file_path) — with no sanitization and no containment check (server/src/handlers/download.rs:56-65). By setting internalId to a traversal path (../../../../etc/passwd) or an absolute path (…
Atomic Server: Stored XSS via uploaded files served inline (same-origin) on `/download` → account takeover
Affected: rust:atomic-server >= 0.30.0, <= 0.40.1 Files uploaded via POST /upload are served back by GET /download/{path} using actix_files::NamedFile. For text/html and image/svg+xml, actix-files (0.6.6) sets Content-Disposition: inline, so the browser renders the file instead of downloading it. The /download route sets no Content-Security-Policy, no X-Content-Type-Options: nosniff, and no forced attachment (CSP exists only on the SPA route), and files are served from the same origin as the app UI. An authenticated Agent uploads evil.html con…
snark-verifier accepts non-canonical KZG accumulator limb encodings
Affected: rust:snark-verifier < 0.2.5 → 0.2.5 KZG accumulator public-instance limbs were decoded without consistently enforcing canonical limb bounds before reconstructing elliptic-curve coordinates. In the generated EVM verifier, accumulator coordinates were reconstructed from public-instance limbs using shifted additions before point validation. The verifier checked the reconstructed point, but did not independently check that every limb was below the configured limb bound before reconstruction. Details PlonkProof::read takes accumulator…
Mon, November 16
Enabling the parallel frontend on nightly
TL;DR: We are enabling the parallel frontend of the Rust compiler on nightly by default, to find remaining issues in preparation for its stabilization. Context The Rust compiler has been using multiple threads to compile code in its "backend" part (using LLVM) for a long time. However, its "frontend" part (which includes type checking and borrow checking) has been executing sequentially, on a single thread, which of course limits the performance of the compiler. If you are interested in a more in-depth explanation of parallelism in the Rust compiler, see this previous post . The compiler fron…
Sat, November 14
russh kex_done: Shared-secret callback runs before server host-key verification
Affected: rust:russh >= 0.55.0, < 0.65.1 → 0.65.1 A malicious SSH server whose host key is rejected can still cause russh's client::Handler::kex_done() callback to execute with the raw key-exchange shared secret. Applications using the callback for its documented protocol-bridging purpose may derive keys, initialize a secondary data channel, or perform another externally visible action before russh calls check_server_key() and rejects the server. Details During the initial key exchange, russh calls kex_done() immediately after the server prove…
russh try_sign: asynchronous confirmation can sign after agent lock
Affected: rust:russh = 0.65.0 → 0.65.1 In russh 0.65.0, a sign request for a confirmation-constrained key can retain and use the private key after another connection locks the agent. try_sign() snapshots an Arc before awaiting Agent::confirm() and does not revalidate the shared lock state after the await. An agent-forwarding peer can therefore obtain a signature while the agent is locked and every new request is being rejected. Details The agent's lock and key stores are shared by all connections. respond() reads the lock state once…
Fri, November 13
LinuxのLinux Kernelにおける有効期限後のメモリの解放の欠如に関する脆弱性
Linuxカーネルにおいて、以下の脆弱性が修正されました。rust: block: GenDiskのクリーンアップパスを修正しました。GenDiskBuilder::build()は__blk_mq_alloc_disk()の後も失敗する可能性のある処理を含んでいますが、エラーパスでは外部キューのデータのみを回復しています。このため、一時的なgendiskとrequest_queueが後の解体までリークしてしまいます。呼び出し元が最後のArc<TagSet<T>>をbuild()に移していた場合、リークしたキューがタグセットのドロップ後もblk-mqの状態を保持してしまいます。一時的なgendisk参照をqueue_dataの回復前にput_disk()で解放することで、事前登録失敗パスを修正し、disk_release()が所有するキューを確実に解体できるようにしました。また、GenDisk::drop()をdel_gendisk()の後にput_disk()とペアにしました。RustのGenDiskがdevice_add_disk()で追加された後、del_gendisk()はそれを登録解除するだけであり、リリースパスを完了するには最終的なgendisk参照のドロップが必要となります。
Thu, November 12
Announcing Rust 1.100.0
The Rust team is happy to announce a new version of Rust, 1.100.0. Rust is a programming language empowering everyone to build reliable and efficient software. If you have a previous version of Rust installed via rustup , you can get 1.100.0 with: $ rustup update stable If you don't have it already, you can get rustup from the appropriate page on our website, and check out the detailed release notes for 1.100.0 . If you'd like to help us out by testing future releases, you might consider updating locally to use the beta channel ( rustup default beta ) or the nightly channel ( rustup default n…
Wed, November 11
Google Summer of Code 2026 results
The Rust Project participated in Google Summer of Code (GSoC) for the third time this year. This time we had 13 projects, and our dear contributors have been working very hard on them for several months. As usual, the projects had various durations, so while some of them have ended in August, the last one has only finished in November, so we have been waiting until we have all the results before publishing this blog post. We are very happy to announce that all 13 projects were successful and passed their final evaluation! We consider it to be a testament to the diligence of our contributors,…
Tue, November 3
Announcing rustup 1.29.3
The rustup team has published a new point release of rustup, 1.29.3. Rustup is the recommended tool to install Rust , a programming language that empowers everyone to build reliable and efficient software. What's new in rustup 1.29.3 This new patch release has fixed some minor regressions over the previous one: Fixed "Illegal instruction" error on certain x86_64 CPUs without SSE4.1. pr#5162 Fixed " lock() not supported" error on Solaris. pr#5167 Further details are available in the changelog ! How to update If you have a previous version of rustup installed, getting the new one is as easy as…
Sat, October 31
russh: Agent server never calls `Agent::confirm`, so keys added with the confirm constraint (`ssh-add -c`) sign without confirmation
Affected: rust:russh < 0.65 → 0.65 The agent server in russh::keys::agent::server never calls Agent::confirm before signing with a key that was added with the confirm constraint. That constraint is SSH_AGENT_CONSTRAIN_CONFIRM (RFC 9987 §5.2.7.2), which is what ssh-add -c sends. The call was replaced by a hard-coded true in 3e04597 ("Native async traits encore", #455), first released in 0.50.0-beta.12. Every release since, up to and including 0.64.1, signs requests for confirm-constrained keys without asking the Agent implementat…
pageant: unbounded frame buffering on peer-controlled 4-byte length prefix (memory-exhaustion DoS)
Affected: rust:pageant >= 0.2.0, <= 0.2.4 → 0.2.5 pageant::PageantStream reads a 4-byte big-endian length prefix from its input stream and buffers until len + 4 bytes are available, without ever validating len. The underlying WM_COPYDATA transport physically cannot carry frames larger than 8 KiB (_AGENT_MAX_MSGLEN, the fixed-size shared memory mapping), so an oversized frame is destined to fail — but only after the re-framing task has already buffered the full claimed size. A peer controlling the stream bytes can claim a frame of up to ~4 GiB…
russh: peer-declared zero maximum packet size permanently stalls channel writes (silent AsyncWrite hang)
Affected: rust:russh >= 0.60.0, <= 0.64.1 → 0.65 A peer can advertise maximum packet size = 0 in its channel-open message (CHANNEL_OPEN when attacking a server, CHANNEL_OPEN_CONFIRMATION when attacking a client). russh accepts the value without validation and copies it into the channel write state, where it caps the size of every outgoing data chunk. In the AsyncWrite code path (ChannelTx::poll_writable, used by Channel::data(), Channel::make_writer() and Channel::into_stream()), a cap of 0 makes every write future stay Poll::Pending forever:…
russh's SSH agent server is susceptible to unbound allocations via repeated SSH_AGENT_CONSTRAIN_CONFIRM messages
Affected: rust:russh < 0.65.0 → 0.65.0 All evidence, reproduction steps, and scripts in the report were verified against a real running instance. Nothing is fabricated or synthetic; every verdict is backed by captured output from an actual deployment. The SSH agent server that ships with russh (russh::keys::agent::server::serve) parses client key-addition requests and, for each SSH_AGENT_CONSTRAIN_CONFIRM (0x02) record it finds, pushes one Constraint::Confirm value into a per-key vector inside an unbounded loop, then stores the resu…
russh's SSH client is susceptible to unbounded allocations via EXT_INFO packets
Affected: rust:russh < 0.65 → 0.65 All evidence, reproduction steps, and scripts in the report were verified against a real running instance. Nothing is fabricated or synthetic; every verdict is backed by captured output from an actual deployment. Concretely, the evidence comes from executing the real russh v0.64.1 client packet parser (Session::process_packet handling handle_ext_info) in a live client session with attacker-supplied packet bodies in the pre-authentication state; the captured output below is from that real execut…
Fri, October 30
zip: legacy Shrink/Reduce/Implode decoder: denial of service from attacker-controlled ZIP64 uncompressed size
Affected: rust:zip >= 5.1.0, < 9.0.0 → 9.0.0 A malicious 149-byte ZIP archive can cause a denial of service in applications that enable legacy-zip and use ZipArchive::extract(). An attacker-controlled ZIP64 uncompressed size triggers a capacity overflow panic in the Shrink decoder in optimized builds, potentially terminating the affected process. Details When reading a Shrink-compressed entry, ShrinkDecoder::read() buffers the compressed input and reserves output capacity using the entry's declared uncompressed size: rust if !self.stream_…
zip: Arbitrary file write outside the extraction directory, because ZipArchive::extract validates symlink targets lexically.
Affected: rust:zip >= 7.2.0, < 9.0.0 → 9.0.0 - Verified version: zip 9.0.0-pre3 - Affected versions: 7.2.0 and later - Precondition: The attacker knows (or can guess) the absolute path of the extraction destination The validation applied to symlinks is purely lexical. As a result, an attacker can write arbitrary files outside the extraction directory through a symlink. Exploitation requires the attacker to know (or guess) the absolute path of the destination, but this is realistic in practice: CI workspaces, /opt/app, a fixed Downloads pa…
zip: AES Entry HMAC Authentication Bypass on Premature EOF
Affected: rust:zip >= 0.6.0, < 9.0.0 → 9.0.0 An AES-encrypted (AE-x) entry's authentication code is verified only when the reader's byte counter lands exactly on zero. If the bounded entry reader reaches the archive's actual EOF before the attacker-controlled, header-declared compressed_size, the counter remains positive, the HMAC is never read or compared, and the truncated, unauthenticated plaintext is returned as a clean end of stream. A zero-payload entry also returns before authentication. An attacker who does not know the password c…
zip: Unbounded Symlink-Target Handling Can Abort Or Exhaust Memory During Extraction
Affected: rust:zip >= 1.3.0, < 9.0.0 → 9.0.0 The symbolic-link branch of ZipArchive::extract_internal() allocates a buffer using an attacker-declared size before reading any entry data. A 112-byte archive terminates the extracting process with SIGABRT through this infallible allocation. Details rust #[cfg(any(unix, windows))] if file.is_symlink() { let mut target = Vec::with_capacity(file.size() as usize); // @audit unbounded memory allocation file.read_to_end(&mut target)?; drop(file); make_symlink(&outpath, &target, &self.shared.files)?…
Cedar: JSON template is in scope missing slot-id validation allows link panic and decision divergence
Affected: rust:cedar-policy >= 4.0.0, < 4.11.1 → 4.11.1, rust:cedar-policy >= 3.0.0, < 3.4.3 → 3.4.3, npm:@cedar-policy/cedar-wasm >= 4.0.1, < 4.11.1 → 4.11.1, npm:@cedar-policy/cedar-wasm >= 3.2.0, < 3.4.3 → 3.4.3 Cedar users must be using all of the following features to be affected by this advisory: JSON format policies, policy templates, and the is in scope condition. This advisory only affects JSON-formatted Cedar policy templates containing is in scope conditions that are malformed according to the Cedar syntax. It does not affect syntactically well-formed policies. Users of Cedar who author policies in the JSON format were able to write Cedar policies using the is in condition with an incorrect slo…
Thu, October 29
Wasmtime: Cranelift backend on aarch64 can jump to incorrect target on large Wasm `br_table` instruction
Affected: rust:wasmtime < 36.0.19 → 36.0.19, rust:wasmtime >= 37.0.0, < 48.0.7 → 48.0.7, rust:wasmtime >= 49.0.0, < 49.0.4 → 49.0.4 When running with the Cranelift compiler backend on an aarch64 target, Wasmtime can compile a Wasm module with more than ~256k targets on one br_table instruction in a way that results in an incorrect conditional branch target. This conditional branch could then jump to arbitrary other code (at an user-controlled offset), leading to arbitrary sandbox escapes. Impact Any Wasmtime engine running on aarch64 with default settings can be forced to jump to arbitrary code by a user-controlled Wasm mod…
zip: Critical Parser Differential & Security Control Bypass via Dual-Header Inconsistencies (Zip Cloaking) Leading to Arbitrary File Overwrite & RCE
Affected: rust:zip <= 9.0.4 → 9.0.5 A critical architectural parser differential exists in the zip crate ( (&mut self, file: &mut ZipFile ) -> ZipResult { file.safe_prepare_path(&self.outpath, &mut outpath, None:: bool)>)?; let mut outfile = fs::File::create(&outpath)?; io::copy(file, &mut outfile)?; Ok(()) } - src/write.rs:L1552: The crate explicitly exposes shallow_copy_file, an API that constructs dual-header desynchronizations by adding a new CDFH entry with an alias name pointing to an existing file without updating the orig…
Wed, October 28
rustls: ECH rejection can expose buffered application data to authenticated outer server before `ech_required` alert
Affected: rust:rustls >= 0.23.44, < 0.23.46 → 0.23.46, rust:rustls >= 0.24.0-dev.1, < 0.24.0-dev.2 → 0.24.0-dev.2 In rustls 0.23.44 and 0.23.45, application data that a client buffers before the handshake completes is sent to the server even when the server rejects Encrypted Client Hello (ECH). When the server rejects ECH, the client completes the handshake with the outer ClientHello and authenticates the server against the ECH config's public_name. At the end of the handshake, start_traffic() encrypts and queues any plaintext buffered by ClientConnection::writer(). It does this before checking for EchStat…
rustls: An unauthenticated ServerHello poisons the per-name key-exchange record, so later ClientHellos carry only a classical X25519 share
Affected: rust:rustls < 0.23.46 → 0.23.46, rust:rustls >= 0.24.0-dev.1, < 0.24.0-dev.2 → 0.24.0-dev.2 The client records the server-selected key-exchange group per server name when it processes the ServerHello, before the server is authenticated. A network attacker can answer one connection attempt for a target name with a ServerHello that selects X25519 and close the connection. Later ClientHellos for that name carry one X25519 share while supported_groups still lists X25519MLKEM768 first. If the server accepts that share instead of sending a HelloRetryRequest, the handshake completes with cla…
Rustls: Session Debug formatting exposes TLS master secrets and resumption PSKs
Affected: rust:rustls < 0.23.46 → 0.23.46, rust:rustls >= 0.24.0-dev.1, < 0.24.0-dev.2 → 0.24.0-dev.2 Formatting a client session value with Debug exposes its TLS 1.2 master secret or TLS 1.3 resumption PSK. A custom session store that logs these values can disclose keys to readers of the logs. Ordinary connection and built-in cache diagnostics remain redacted, and the session-store interface already warns that its values are sensitive. Details Derived formatters traverse the session's secret-bearing fields. This conflicts with the project's explicit [key-material redaction policy](https://gith…
Rustls: Brotli certificate decompression can allocate an attacker-controlled amount of memory up to 1 GiB before authentication.
Affected: rust:rustls < 0.23.46 → 0.23.46, rust:rustls >= 0.24.0-dev.1, < 0.24.0-dev.2 → 0.24.0-dev.2 The built-in (but disabled by default) Brotli certificate decoder bounds the output buffer but accepts an input-selected history window. A header of five bytes can specify a 1 GiB window allocation. A peer can abort a process whose allocator cannot satisfy that request. A client must enable Brotli and connect to the peer; a server must enable Brotli and request a client certificate. Neither direction requires a trusted attacker certificate. Details rustls calls BrotliDecompress which enables Br…
Mon, October 26
How to fund Rust contributors
TLDR: To fund general maintenance, donate to the Rust Foundation Maintainers Fund or sponsor the RustNL Maintainers Team To fund specific features and improvements, sponsor fundable Rust Project Goals To fund individual contributors, donate to their GitHub Sponsors accounts There is always so much to do in the Rust Project! New features to implement, bugs to fix, performance optimizations to make, issues to triage… It takes a lot of work to keep our high bar of quality while also shipping new features and improvements. And the workload keeps increasing with the continuous growth of Rust adopt…