Vulnerability Name: | CVE-2021-28876 (CCN-199786) | ||||||||||||||||||
Assigned: | 2021-02-04 | ||||||||||||||||||
Published: | 2021-02-04 | ||||||||||||||||||
Updated: | 2022-11-03 | ||||||||||||||||||
Summary: | In the standard library in Rust before 1.52.0, the Zip implementation has a panic safety issue. It calls __iterator_get_unchecked() more than once for the same index when the underlying iterator panics (in certain conditions). This bug could lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait. | ||||||||||||||||||
CVSS v3 Severity: | 5.3 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N) 4.6 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C)
4.8 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C)
4.6 Medium (REDHAT Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C)
| ||||||||||||||||||
CVSS v2 Severity: | 4.3 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N)
| ||||||||||||||||||
Vulnerability Type: | CWE-755 | ||||||||||||||||||
Vulnerability Consequences: | Denial of Service | ||||||||||||||||||
References: | Source: MITRE Type: CNA CVE-2021-28876 Source: XF Type: UNKNOWN rust-cve202128876-dos(199786) Source: CCN Type: Rust GIT Repository Soundness issue in Zip::next() specialization #81740 Source: MISC Type: Exploit, Issue Tracking, Third Party Advisory https://github.com/rust-lang/rust/issues/81740 Source: MISC Type: Patch, Third Party Advisory https://github.com/rust-lang/rust/pull/81741 Source: FEDORA Type: Mailing List, Third Party Advisory FEDORA-2021-d0ba1901ca Source: FEDORA Type: Mailing List, Third Party Advisory FEDORA-2021-d7f74f0250 Source: FEDORA Type: Mailing List, Third Party Advisory FEDORA-2021-b1ba54add6 Source: GENTOO Type: Third Party Advisory GLSA-202210-09 | ||||||||||||||||||
Vulnerable Configuration: | Configuration 1: Configuration 2: Configuration RedHat 1: Configuration RedHat 2: ![]() | ||||||||||||||||||
Oval Definitions | |||||||||||||||||||
| |||||||||||||||||||
BACK |