Rust’s 1.71.1 point release, announced August 3, 2023, addressed a permissions problem in Cargo’s dependency extraction. The Rust team said Cargo had not respected the system’s umask while unpacking dependencies. As a result, a local attacker could potentially edit another local user’s extracted-source cache and execute code with that user’s privileges. The team identified the flaw as CVE-2023-38497 and urged users to update promptly. [story-s1]
The fix matters because dependency caches are often treated as reusable local build inputs: if access permissions are too broad, another account on the same machine may be able to tamper with source that a developer later builds or runs. The announcement describes this as a local-user exposure, not a remote compromise; it does not claim that every installation was exploited. Users could install the point release through rustup with `rustup update stable`. [story-s1]
The update also corrected several regressions introduced in Rust 1.71.0. The Rust team specifically cited broken Bash completion for Rustup users and an incorrectly emitted `suspicious_double_ref_op` lint when calling `borrow()`. The release therefore combined a security correction with narrower usability and diagnostic fixes, rather than introducing major new language features. The announcement linked detailed release notes for the remaining minor changes. [story-s1]
Source documents
- Announcing Rust 1.71.1 | Rust Bloghttps://blog.rust-lang.org/2023/08/03/Rust-1.71.1/
