{"id":"ALSA-2022:1894","summary":"Moderate: rust-toolset:rhel8 security, bug fix, and enhancement update","details":"Rust Toolset provides the Rust programming language compiler rustc, the cargo build tool and dependency manager, and required libraries. \n\nThe following packages have been upgraded to a later upstream version: rust (1.58.0). (BZ#2002883)\n\nSecurity Fix(es):\n\n* rust: Race condition in remove_dir_all leading to removal of files outside of the directory being removed (CVE-2022-21658)\n\nFor 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.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.","modified":"2026-01-30T02:14:12.266333Z","published":"2022-05-10T08:06:44Z","related":["CVE-2022-21658"],"references":[{"type":"ADVISORY","url":"https://errata.almalinux.org/8/ALSA-2022-1894.html"},{"type":"REPORT","url":"https://vulners.com/cve/CVE-2022-21658"}],"affected":[{"package":{"name":"cargo","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/cargo"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.58.1-1.module_el8.6.0+2748+176088b3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:1894.json"}},{"package":{"name":"cargo-doc","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/cargo-doc"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.58.1-1.module_el8.6.0+2748+176088b3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:1894.json"}},{"package":{"name":"clippy","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/clippy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.58.1-1.module_el8.6.0+2748+176088b3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:1894.json"}},{"package":{"name":"rls","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rls"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.58.1-1.module_el8.6.0+2748+176088b3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:1894.json"}},{"package":{"name":"rust","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rust"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.58.1-1.module_el8.6.0+2748+176088b3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:1894.json"}},{"package":{"name":"rust-analysis","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rust-analysis"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.58.1-1.module_el8.6.0+2748+176088b3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:1894.json"}},{"package":{"name":"rust-debugger-common","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rust-debugger-common"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.58.1-1.module_el8.6.0+2748+176088b3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:1894.json"}},{"package":{"name":"rust-doc","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rust-doc"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.58.1-1.module_el8.6.0+2748+176088b3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:1894.json"}},{"package":{"name":"rust-gdb","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rust-gdb"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.58.1-1.module_el8.6.0+2748+176088b3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:1894.json"}},{"package":{"name":"rust-lldb","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rust-lldb"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.58.1-1.module_el8.6.0+2748+176088b3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:1894.json"}},{"package":{"name":"rust-src","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rust-src"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.58.1-1.module_el8.6.0+2748+176088b3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:1894.json"}},{"package":{"name":"rust-std-static","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rust-std-static"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.58.1-1.module_el8.6.0+2748+176088b3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:1894.json"}},{"package":{"name":"rust-std-static-wasm32-unknown-unknown","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rust-std-static-wasm32-unknown-unknown"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.58.1-1.module_el8.6.0+2748+176088b3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:1894.json"}},{"package":{"name":"rust-std-static-wasm32-wasi","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rust-std-static-wasm32-wasi"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.58.1-1.module_el8.6.0+2748+176088b3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:1894.json"}},{"package":{"name":"rust-toolset","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rust-toolset"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.58.1-1.module_el8.6.0+2748+176088b3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:1894.json"}},{"package":{"name":"rustfmt","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/rustfmt"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.58.1-1.module_el8.6.0+2748+176088b3"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:1894.json"}}],"schema_version":"1.7.3"}