|
| 1 | +--- |
| 2 | +layout: post |
| 3 | +title: "Announcing Rust 1.71.1" |
| 4 | +author: The Rust Release Team |
| 5 | +release: true |
| 6 | +--- |
| 7 | + |
| 8 | +The Rust team has published a new point release of Rust, 1.71.1. Rust is a |
| 9 | +programming language that is empowering everyone to build reliable and |
| 10 | +efficient software. |
| 11 | + |
| 12 | +If you have a previous version of Rust installed via rustup, getting Rust |
| 13 | +1.71.1 is as easy as: |
| 14 | + |
| 15 | +``` |
| 16 | +rustup update stable |
| 17 | +``` |
| 18 | + |
| 19 | +If you don't have it already, you can [get `rustup`][rustup] from the |
| 20 | +appropriate page on our website. |
| 21 | + |
| 22 | +[rustup]: https://www.rust-lang.org/install.html |
| 23 | + |
| 24 | +## What's in 1.71.1 stable |
| 25 | + |
| 26 | +Rust 1.71.1 fixes Cargo not respecting the umask when extracting dependencies, |
| 27 | +which could allow a local attacker to edit the cache of extracted source code |
| 28 | +belonging to another local user, potentially executing code as another user. |
| 29 | +This security vulnerability is tracked as [CVE-2023-38497], and you can read |
| 30 | +more about it [on the advisory we published earlier today][advisory]. We |
| 31 | +recommend all users to update their toolchain as soon as possible. |
| 32 | + |
| 33 | +Rust 1.71.1 also addresses several regressions introduced in Rust 1.71.0, |
| 34 | +including bash completion being broken for users of Rustup, and the |
| 35 | +`suspicious_double_ref_op` being emitted when calling `borrow()` even though it |
| 36 | +shouldn't. |
| 37 | + |
| 38 | +You can find more detailed information on the specific regressions, and other |
| 39 | +minor fixes, in the [release notes]. |
| 40 | + |
| 41 | +[CVE-2023-38497]: https://www.cve.org/CVERecord?id=CVE-2023-38497 |
| 42 | +[advisory]: https://blog.rust-lang.org/2023/08/03/cve-2023-38497.html |
| 43 | +[release notes]: https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1711-2023-08-03 |
| 44 | + |
| 45 | +### Contributors to 1.71.1 |
| 46 | + |
| 47 | +Many people came together to create Rust 1.71.1. We couldn't have done it |
| 48 | +without all of you. [Thanks!](https://thanks.rust-lang.org/rust/1.71.1/) |
0 commit comments