CVE-2021-28875
Published: 11 April 2021
In the standard library in Rust before 1.50.0, read_to_end() does not validate the return value from Read in an unsafe context. This bug could lead to a buffer overflow.
Priority
Status
Package | Release | Status |
---|---|---|
rustc Launchpad, Ubuntu, Debian |
kinetic |
Ignored
(end of life, was needs-triage)
|
jammy |
Not vulnerable
(1.51.0+dfsg1+llvm-1~exp3ubuntu1)
|
|
groovy |
Ignored
(end of life)
|
|
hirsute |
Ignored
(end of life)
|
|
bionic |
Not vulnerable
(1.51.0+dfsg1+llvm-1~exp3ubuntu1~18.04.1)
|
|
focal |
Released
(1.51.0+dfsg1+llvm-1~exp3ubuntu1~20.04.2)
|
|
trusty |
Needed
|
|
upstream |
Released
(1.50.0)
|
|
xenial |
Needed
|
|
impish |
Ignored
(end of life)
|
|
lunar |
Not vulnerable
(1.61.0+dfsg1-1~exp1ubuntu1)
|
|
mantic |
Not vulnerable
(1.67.1+dfsg0ubuntu1-0ubuntu2)
|
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 |