{"id":"RLSA-2021:3063","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.52.1). (BZ#1953002)\n\nSecurity Fix(es):\n\n* rust: optimization for joining strings can cause uninitialized bytes to be exposed (CVE-2020-36323)\n\n* rust: heap-based buffer overflow in read_to_end() because it does not validate the return value from Read in an unsafe context (CVE-2021-28875)\n\n* rust: panic safety issue in Zip implementation (CVE-2021-28876)\n\n* rust: memory safety violation in Zip implementation for nested iter::Zips (CVE-2021-28877)\n\n* rust: memory safety violation in Zip implementation when next_back() and next() are used together (CVE-2021-28878)\n\n* rust: integer overflow in the Zip implementation can lead to a buffer overflow (CVE-2021-28879)\n\n* rust: double free in Vec::from_iter function if freeing the element panics (CVE-2021-31162)\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\nFor information on usage, see Using Rust Toolset linked in the References section.","modified":"2026-03-11T05:57:41.415951Z","published":"2021-08-10T11:59:11Z","upstream":["CVE-2020-36323","CVE-2021-28875","CVE-2021-28876","CVE-2021-28877","CVE-2021-28878","CVE-2021-28879","CVE-2021-31162"],"references":[{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2021:3063"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1949194"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1949198"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1949204"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1949207"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1949211"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1950396"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1950398"}],"affected":[{"package":{"name":"rust","ecosystem":"Rocky Linux:8","purl":"pkg:rpm/rocky-linux/rust?distro=rocky-linux-8-4-legacy&epoch=0"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.52.1-1.module+el8.4.0+641+ca238f88"}],"database_specific":{"yum_repository":"AppStream"}}],"database_specific":{"source":"https://storage.googleapis.com/resf-osv-data/RLSA-2021:3063.json"}},{"package":{"name":"rust-toolset","ecosystem":"Rocky Linux:8","purl":"pkg:rpm/rocky-linux/rust-toolset?distro=rocky-linux-8-4-legacy&epoch=0"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.52.1-1.module+el8.4.0+641+ca238f88"}],"database_specific":{"yum_repository":"AppStream"}}],"database_specific":{"source":"https://storage.googleapis.com/resf-osv-data/RLSA-2021:3063.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}],"credits":[{"name":"Rocky Enterprise Software Foundation"},{"name":"Red Hat"}]}