PT-2021-19197 · Rust+6 · Rust+6
Cuviper
·
Published
2021-04-14
·
Updated
2022-11-03
·
CVE-2021-31162
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Rust versions prior to 1.52.0
Description
A double free can occur in the
Vec::from iter function if freeing the element panics. This issue is related to the standard library in Rust.Recommendations
For versions prior to 1.52.0, update to version 1.52.0 or later to resolve the issue. As a temporary workaround, consider avoiding the use of the
Vec::from iter function in scenarios where freeing elements might panic, until a patch is applied.Exploit
Fix
Double Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Centos
Debian
Red Hat
Rocky Linux
Rust