Synchronization Issue in Rust Standard Library Leading to Memory Safety Risks
CVE-2017-20004

5.9MEDIUM

Key Information:

Vendor

Rust-lang

Status
Vendor
CVE Published:
14 April 2021

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

What is CVE-2017-20004?

In the Rust standard library, versions before 1.19.0 contain a synchronization flaw within the MutexGuard object. This issue permits MutexGuards to be shared across threads with various types, potentially leading to memory safety vulnerabilities due to race conditions. This vulnerability can compromise the integrity of applications that rely on multi-threading, necessitating careful handling and robust defenses.

References

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

CVSS V3.1

Score:
5.9
Severity:
MEDIUM
Confidentiality:
None
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.