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

9.8CRITICAL

Key Information:

Vendor

Rust-lang

Status
Vendor
CVE Published:
14 April 2021

Key facts: CVE-2021-31162 is a critical severity (CVSS 9.8) vulnerability in Rust-lang Rust. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 2.8%, the estimated probability of exploitation in the next 30 days.

What is CVE-2021-31162?

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

  • CVE-2024-24576: Rust standard library vulnerable to arbitrary shell command execution(CRITICAL)
Browse all analysed vulnerabilities ›

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

.