Skip to content

Commit bb47c69

Browse files
committed
add cve-2022-21658
1 parent 833d787 commit bb47c69

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

posts/2022-01-20-Rust-1.58.1.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,13 @@ appropriate page on our website.
2323

2424
## What's in 1.58.1 stable
2525

26-
Rust 1.58.1 addresse several regressions introduced in Rust 1.58.0:
26+
Rust 1.58.1 fixes a race condition in the `std::fs::remove_dir_all` standard
27+
library function. This security vulnerability is tracked as [CVE-2022-21658],
28+
and you can read more about it [on the advisory we published earlier
29+
today][advisory]. We recommend all users to update their toolchain immediately
30+
and rebuild their programs with the updated compiler.
31+
32+
Rust 1.58.1 also addresse several regressions introduced in Rust 1.58.0:
2733

2834
* The `non_send_fields_in_send_ty` Clippy lint was discovered to have too many
2935
false positives and has been moved to the experimental lints group (called
@@ -37,6 +43,8 @@ Rust 1.58.1 addresse several regressions introduced in Rust 1.58.0:
3743
You can find more detailed information on the specific regressions in the
3844
[release notes].
3945

46+
[CVE-2022-21658]: https://www.cve.org/CVERecord?id=CVE-2022-21658
47+
[advisory]: https://blog.rust-lang.org/2022/01/20/cve-2022-21658.html
4048
[release notes]: https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1581-2022-01-20
4149

4250
### Contributors to 1.58.1

0 commit comments

Comments
 (0)