Double Free Vulnerability in Rust Standard Library
CVE-2021-31162

9.8CRITICAL

Key Information:

Vendor
Rust-lang
Status
Vendor
CVE Published:
14 April 2021

Summary

A double free vulnerability exists in the Rust standard library versions prior to 1.52.0, specifically in the Vec::from_iter function. This issue can occur if an attempt to free an element results in a panic, leading to potential memory corruption and unpredictable behavior. Developers using affected versions should upgrade to mitigate this risk.

References

CVSS V3.1

Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.