Vulnerability Monitor

The vendors, products, and vulnerabilities you care about

CVE-2021-31162


In the standard library in Rust before 1.52.0, a double free can occur in the Vec::from_iter function if freeing the element panics.


Published

2021-04-14T07:15:12.227

Last Modified

2024-11-21T06:05:12.647

Status

Modified

Source

[email protected]

Severity

CVSSv3.1: 9.8 (CRITICAL)

CVSSv2 Vector

AV:N/AC:L/Au:N/C:P/I:P/A:P

  • Access Vector: NETWORK
  • Access Complexity: LOW
  • Authentication: NONE
  • Confidentiality Impact: PARTIAL
  • Integrity Impact: PARTIAL
  • Availability Impact: PARTIAL
Exploitability Score

10.0

Impact Score

6.4

Weaknesses
  • Type: Primary
    CWE-415

Affected Vendors & Products
Type Vendor Product Version/Range Vulnerable?
Application rust-lang rust < 1.52.0 Yes
Operating System fedoraproject fedora 32 Yes
Operating System fedoraproject fedora 33 Yes
Operating System fedoraproject fedora 34 Yes

References