{"id":"RLSA-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 Rocky Linux 8.6 Release Notes linked from the References section.","modified":"2026-03-11T06:06:37.945929Z","published":"2022-05-10T08:06:44Z","upstream":["CVE-2022-21658"],"references":[{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2022:1894"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1980080"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2041504"}],"affected":[{"package":{"name":"rust","ecosystem":"Rocky Linux:8","purl":"pkg:rpm/rocky-linux/rust?distro=rocky-linux-8-6-legacy&epoch=0"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.58.1-1.module+el8.6.0+826+60f85975"}],"database_specific":{"yum_repository":"AppStream"}}],"database_specific":{"source":"https://storage.googleapis.com/resf-osv-data/RLSA-2022:1894.json"}},{"package":{"name":"rust-toolset","ecosystem":"Rocky Linux:8","purl":"pkg:rpm/rocky-linux/rust-toolset?distro=rocky-linux-8-6-legacy&epoch=0"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.58.1-1.module+el8.6.0+826+60f85975"}],"database_specific":{"yum_repository":"AppStream"}}],"database_specific":{"source":"https://storage.googleapis.com/resf-osv-data/RLSA-2022:1894.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N"}],"credits":[{"name":"Rocky Enterprise Software Foundation"},{"name":"Red Hat"}]}