{"schema_version": "1.3.1", "id": "RLSA-2021:3063", "modified": "2023-02-02T14:10:53.734042Z", "published": "2021-08-10T11:59:11Z", "related": ["CVE-2020-36323", "CVE-2021-28875", "CVE-2021-28876", "CVE-2021-28877", "CVE-2021-28878", "CVE-2021-28879", "CVE-2021-31162"], "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.", "severity": [{"type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}], "affected": [{"package": {"ecosystem": "Rocky Linux:8", "name": "rust", "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"}}]}, {"package": {"ecosystem": "Rocky Linux:8", "name": "rust-toolset", "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"}}]}], "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"}], "credits": [{"name": "Rocky Enterprise Software Foundation"}, {"name": "Red Hat"}]}