Vulnerability Name: | CVE-2021-28878 (CCN-199784) | ||||||||||||||||||
Assigned: | 2021-02-19 | ||||||||||||||||||
Published: | 2021-02-19 | ||||||||||||||||||
Updated: | 2022-11-03 | ||||||||||||||||||
Summary: | In the standard library in Rust before 1.52.0, the Zip implementation calls __iterator_get_unchecked() more than once for the same index (under certain conditions) when next_back() and next() are used together. This bug could lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait. | ||||||||||||||||||
CVSS v3 Severity: | 7.5 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) 6.5 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C)
6.8 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
6.5 Medium (REDHAT Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C)
| ||||||||||||||||||
CVSS v2 Severity: | 4.3 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:N/I:N/A:P)
| ||||||||||||||||||
Vulnerability Type: | CWE-119 | ||||||||||||||||||
Vulnerability Consequences: | Gain Access | ||||||||||||||||||
References: | Source: MITRE Type: CNA CVE-2021-28878 Source: XF Type: UNKNOWN rust-cve202128878-code-exec(199784) Source: CCN Type: Rust GIT Repository Zip may call __iterator_get_unchecked twice with the same index #82291 Source: MISC Type: Exploit, Issue Tracking, Third Party Advisory https://github.com/rust-lang/rust/issues/82291 Source: MISC Type: Patch, Third Party Advisory https://github.com/rust-lang/rust/pull/82292 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 |