cargo: Rust Toolset provides the Rust programming language compiler rustc, the cargo build tool and dependency manager, and...
CVE-2022-21658 is fixed in 20 products on 1 platform, first by DEBIAN-CVE-2022-21658, released January 20, 2022. It is not reported as exploited. Patch Radar priority: Routine.
Rust Toolset provides the Rust programming language compiler rustc, the cargo build tool and dependency manager, and required libraries. The following packages have been upgraded to a later upstream version: rust (1.58.0). (BZ#2002883) Security Fix(es): * rust: Race condition in remove_dir_all leading to removal of files outside of the directory being removed (CVE-2022-21658) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section. Additional Changes: For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.6 Release Notes linked from the References section.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| cargo · RHEL 8 | 0:1.58.1-1.module+el8.6.0+14021+586eff1a | RHSA-2022:1894 | May 10, 2022 |
| cargo · almalinux 8 | 1.58.1-1.module_el8.6.0+2748+176088b3 | ALSA-2022:1894 | May 10, 2022 |
| cargo · ol 8 | 0:1.58.1-1.module+el8.6.0+20563+1eb4e043 | ELSA-2022-1894 | May 17, 2022 |
| cargo-doc · RHEL 8 | 0:1.58.1-1.module+el8.6.0+14021+586eff1a | RHSA-2022:1894 | May 10, 2022 |
| cargo-doc · almalinux 8 | 1.58.1-1.module_el8.6.0+2748+176088b3 | ALSA-2022:1894 | May 10, 2022 |
| cargo-doc · ol 8 | 0:1.58.1-1.module+el8.6.0+20563+1eb4e043 | ELSA-2022-1894 | May 17, 2022 |
| clippy · RHEL 8 | 0:1.58.1-1.module+el8.6.0+14021+586eff1a | RHSA-2022:1894 | May 10, 2022 |
| clippy · almalinux 8 | 1.58.1-1.module_el8.6.0+2748+176088b3 | ALSA-2022:1894 | May 10, 2022 |
| clippy · ol 8 | 0:1.58.1-1.module+el8.6.0+20563+1eb4e043 | ELSA-2022-1894 | May 17, 2022 |
| libstd-rust-1.59 · Ubuntu 20.04 LTS (focal) | 1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~20.04.2 | libstd-rust-1.59 1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~20.04.2 | Feb 15, 2022 |
| rls · RHEL 8 | 0:1.58.1-1.module+el8.6.0+14021+586eff1a | RHSA-2022:1894 | May 10, 2022 |
| rls · almalinux 8 | 1.58.1-1.module_el8.6.0+2748+176088b3 | ALSA-2022:1894 | May 10, 2022 |
| rls · ol 8 | 0:1.58.1-1.module+el8.6.0+20563+1eb4e043 | ELSA-2022-1894 | May 17, 2022 |
| rust · RHEL 8 | 0:1.58.1-1.module+el8.6.0+14021+586eff1a | RHSA-2022:1894 | May 10, 2022 |
| rust · almalinux 8 | 1.58.1-1.module_el8.6.0+2748+176088b3 | ALSA-2022:1894 | May 10, 2022 |
| rust · ol 8 | 0:1.58.1-1.module+el8.6.0+20563+1eb4e043 | ELSA-2022-1894 | May 17, 2022 |
| rust · rocky 8 | 0:1.58.1-1.module+el8.6.0+826+60f85975 | RLSA-2022:1894 | May 10, 2022 |
| rust-all · Ubuntu 20.04 LTS (focal) | 1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~20.04.2 | rust-all 1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~20.04.2 | Feb 15, 2022 |
| rust-analysis · RHEL 8 | 0:1.58.1-1.module+el8.6.0+14021+586eff1a | RHSA-2022:1894 | May 10, 2022 |
| rust-analysis · almalinux 8 | 1.58.1-1.module_el8.6.0+2748+176088b3 | ALSA-2022:1894 | May 10, 2022 |
| rust-analysis · ol 8 | 0:1.58.1-1.module+el8.6.0+20563+1eb4e043 | ELSA-2022-1894 | May 17, 2022 |
| rust-clippy · Ubuntu 20.04 LTS (focal) | 1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~20.04.2 | rust-clippy 1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~20.04.2 | Feb 15, 2022 |
| rust-debugger-common · RHEL 8 | 0:1.58.1-1.module+el8.6.0+14021+586eff1a | RHSA-2022:1894 | May 10, 2022 |
| rust-debugger-common · almalinux 8 | 1.58.1-1.module_el8.6.0+2748+176088b3 | ALSA-2022:1894 | May 10, 2022 |
| rust-debugger-common · ol 8 | 0:1.58.1-1.module+el8.6.0+20563+1eb4e043 | ELSA-2022-1894 | May 17, 2022 |
| rust-doc · RHEL 8 | 0:1.58.1-1.module+el8.6.0+14021+586eff1a | RHSA-2022:1894 | May 10, 2022 |
| rust-doc · almalinux 8 | 1.58.1-1.module_el8.6.0+2748+176088b3 | ALSA-2022:1894 | May 10, 2022 |
| rust-doc · ol 8 | 0:1.58.1-1.module+el8.6.0+20563+1eb4e043 | ELSA-2022-1894 | May 17, 2022 |
| rust-gdb · RHEL 8 | 0:1.58.1-1.module+el8.6.0+14021+586eff1a | RHSA-2022:1894 | May 10, 2022 |
| rust-gdb · Ubuntu 20.04 LTS (focal) | 1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~20.04.2 | rust-gdb 1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~20.04.2 | Feb 15, 2022 |
| rust-gdb · almalinux 8 | 1.58.1-1.module_el8.6.0+2748+176088b3 | ALSA-2022:1894 | May 10, 2022 |
| rust-gdb · ol 8 | 0:1.58.1-1.module+el8.6.0+20563+1eb4e043 | ELSA-2022-1894 | May 17, 2022 |
| rust-lldb · RHEL 8 | 0:1.58.1-1.module+el8.6.0+14021+586eff1a | RHSA-2022:1894 | May 10, 2022 |
| rust-lldb · Ubuntu 20.04 LTS (focal) | 1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~20.04.2 | rust-lldb 1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~20.04.2 | Feb 15, 2022 |
| rust-lldb · almalinux 8 | 1.58.1-1.module_el8.6.0+2748+176088b3 | ALSA-2022:1894 | May 10, 2022 |
| rust-lldb · ol 8 | 0:1.58.1-1.module+el8.6.0+20563+1eb4e043 | ELSA-2022-1894 | May 17, 2022 |
| rust-src · RHEL 8 | 0:1.58.1-1.module+el8.6.0+14021+586eff1a | RHSA-2022:1894 | May 10, 2022 |
| rust-src · Ubuntu 20.04 LTS (focal) | 1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~20.04.2 | rust-src 1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~20.04.2 | Feb 15, 2022 |
| rust-src · almalinux 8 | 1.58.1-1.module_el8.6.0+2748+176088b3 | ALSA-2022:1894 | May 10, 2022 |
| rust-src · ol 8 | 0:1.58.1-1.module+el8.6.0+20563+1eb4e043 | ELSA-2022-1894 | May 17, 2022 |
| rust-std-static · RHEL 8 | 0:1.58.1-1.module+el8.6.0+14021+586eff1a | RHSA-2022:1894 | May 10, 2022 |
| rust-std-static · almalinux 8 | 1.58.1-1.module_el8.6.0+2748+176088b3 | ALSA-2022:1894 | May 10, 2022 |
| rust-std-static · ol 8 | 0:1.58.1-1.module+el8.6.0+20563+1eb4e043 | ELSA-2022-1894 | May 17, 2022 |
| rust-std-static-wasm32-unknown-unknown · RHEL 8 | 0:1.58.1-1.module+el8.6.0+14021+586eff1a | RHSA-2022:1894 | May 10, 2022 |
| rust-std-static-wasm32-unknown-unknown · almalinux 8 | 1.58.1-1.module_el8.6.0+2748+176088b3 | ALSA-2022:1894 | May 10, 2022 |
| rust-std-static-wasm32-unknown-unknown · ol 8 | 0:1.58.1-1.module+el8.6.0+20563+1eb4e043 | ELSA-2022-1894 | May 17, 2022 |
| rust-std-static-wasm32-wasi · RHEL 8 | 0:1.58.1-1.module+el8.6.0+14021+586eff1a | RHSA-2022:1894 | May 10, 2022 |
| rust-std-static-wasm32-wasi · almalinux 8 | 1.58.1-1.module_el8.6.0+2748+176088b3 | ALSA-2022:1894 | May 10, 2022 |
| rust-std-static-wasm32-wasi · ol 8 | 0:1.58.1-1.module+el8.6.0+20563+1eb4e043 | ELSA-2022-1894 | May 17, 2022 |
| rust-toolset · RHEL 8 | 0:1.58.1-1.module+el8.6.0+14021+586eff1a | RHSA-2022:1894 | May 10, 2022 |
| rust-toolset · almalinux 8 | 1.58.1-1.module_el8.6.0+2748+176088b3 | ALSA-2022:1894 | May 10, 2022 |
| rust-toolset · ol 8 | 0:1.58.1-1.module+el8.6.0+20563+1eb4e043 | ELSA-2022-1894 | May 17, 2022 |
| rust-toolset · rocky 8 | 0:1.58.1-1.module+el8.6.0+826+60f85975 | RLSA-2022:1894 | May 10, 2022 |
| rustc · Debian 12.15 (bookworm) | 1.57.0+dfsg1-1 | DEBIAN-CVE-2022-21658 | Jan 20, 2022 |
| rustc · Debian 13.5 (trixie) | 1.57.0+dfsg1-1 | DEBIAN-CVE-2022-21658 | Jan 20, 2022 |
| rustc · Debian 14 | 1.57.0+dfsg1-1 | DEBIAN-CVE-2022-21658 | Jan 20, 2022 |
| rustc · Ubuntu 20.04 LTS (focal) | 1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~20.04.2 | rustc 1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~20.04.2 | Feb 15, 2022 |
| rustfmt · RHEL 8 | 0:1.58.1-1.module+el8.6.0+14021+586eff1a | RHSA-2022:1894 | May 10, 2022 |
| rustfmt · Ubuntu 20.04 LTS (focal) | 1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~20.04.2 | rustfmt 1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~20.04.2 | Feb 15, 2022 |
| rustfmt · almalinux 8 | 1.58.1-1.module_el8.6.0+2748+176088b3 | ALSA-2022:1894 | May 10, 2022 |
| rustfmt · ol 8 | 0:1.58.1-1.module+el8.6.0+20563+1eb4e043 | ELSA-2022-1894 | May 17, 2022 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.