Race Condition Affecting rustc package, versions <1.19.0+dfsg3-2


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.07% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIANUNSTABLE-RUSTC-1246111
  • published14 Apr 2021
  • disclosed14 Apr 2021

Introduced: 14 Apr 2021

CVE-2017-20004  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade Debian:unstable rustc to version 1.19.0+dfsg3-2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rustc package and not the rustc package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

In the standard library in Rust before 1.19.0, there is a synchronization problem in the MutexGuard object. MutexGuards can be used across threads with any types, allowing for memory safety issues through race conditions.

CVSS Scores

version 3.1