Race Condition Affecting lazy-init package, versions <0.5.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.33% (71st 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 IDSNYK-RUST-LAZYINIT-1304921
  • published15 Jun 2021
  • disclosed17 Jan 2021
  • creditniklasf

Introduced: 17 Jan 2021

CVE-2021-25901  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade lazy-init to version 0.5.0 or higher.

Overview

Affected versions of this package are vulnerable to Race Condition due to a missing Send bound in unsafe impl<T, U> Sync for LazyTransform<T, U>

CVSS Base Scores

version 3.1