Skip to content

Add post for 1.77.2 #1305

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions posts/2024-04-09-Rust-1.77.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
layout: post
title: "Announcing Rust 1.77.2"
author: The Rust Security Response WG
release: true
---

The Rust team has published a new point release of Rust, 1.77.2. 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.77.2 is as easy as:

```
rustup update stable
```

If you don't have it already, you can [get `rustup`][rustup] from the
appropriate page on our website.

[rustup]: https://www.rust-lang.org/install.html

## What's in 1.77.2

This release includes a fix for [CVE-2024-24576].

Before this release, the Rust standard library did not properly escape
arguments when invoking batch files (with the `bat` and `cmd` extensions) on
Windows using the [`Command`] API. An attacker able to control the arguments
passed to the spawned process could execute arbitrary shell commands by
bypassing the escaping.

This vulnerability is **CRITICAL** if you are invoking batch files on Windows
with untrusted arguments. No other platform or use is affected.

[You can learn more about the vulnerability in the dedicated
advisory.][advisory]

[CVE-2024-24576]: https://www.cve.org/CVERecord?id=CVE-2024-24576
[advisory]: https://blog.rust-lang.org/2024/04/09/cve-2024-24576.html
[`Command`]: https://doc.rust-lang.org/std/process/struct.Command.html

### Contributors to 1.77.2

Many people came together to create Rust 1.77.2. We couldn't have done it
without all of you. [Thanks!](https://thanks.rust-lang.org/rust/1.77.2/)