The Rust group has introduced the discharge of Rust 1.58.1, which incorporates some essential fixes for options launched in Rust 1.58.0.
It fixes a race situation within the library “std::fs::remove_dir_all,” in any other case often known as the vulnerability CVE-2022-21658. In response to the Rust group, an attacker may exploit the vulnerability to trick a privileged program into deleting recordsdata or directories.
The group recommends customers replace to this newest model after which rebuild their packages with the up to date compiler.
Different new updates regarding options from the 1.58.0 launch embody:
- The “non_send_fields_in_send_ty” Clippy lint had too many false positives so it was moved to the nursery, which is an experimental lints group
- The “useless_format” Clippy lint can now deal with captured identifiers in format strings
- A repair for a regression in Rustfmt that prevented generated recordsdata from being formatted when handed via the usual enter
- A repair for an incorrect error message that rustc displayed
Extra details about this newest level launch is accessible right here.