CVE-2021-28878
Published: 11 April 2021
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.
Priority
Status
Package | Release | Status |
---|---|---|
rustc Launchpad, Ubuntu, Debian |
bionic |
Not vulnerable
(1.53.0+dfsg1+llvm-4ubuntu1~18.04.1)
|
focal |
Released
(1.53.0+dfsg1+llvm-4ubuntu1~20.04.1)
|
|
groovy |
Ignored
(end of life)
|
|
hirsute |
Ignored
(end of life)
|
|
impish |
Ignored
(end of life)
|
|
jammy |
Released
(1.53.0+dfsg1+llvm-4ubuntu1)
|
|
kinetic |
Ignored
(end of life, was needed)
|
|
lunar |
Not vulnerable
(1.61.0+dfsg1-1~exp1ubuntu1)
|
|
mantic |
Not vulnerable
(1.67.1+dfsg0ubuntu1-0ubuntu2)
|
|
trusty |
Needed
|
|
upstream |
Released
(1.52.0)
|
|
xenial |
Needed
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 7.5 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | None |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |