Double Free Affecting algorithmica package, versions *


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (44th 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 Double Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-ALGORITHMICA-1251512
  • published19 Apr 2021
  • disclosed7 Mar 2021
  • creditsslab-gatech

Introduced: 7 Mar 2021

CVE-2021-31996  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

There is no fixed version for algorithmica.

Overview

Affected versions of this package are vulnerable to Double Free. In the affected versions of this crate, merge_sort::merge() wildly duplicates and drops ownership of T without guarding against double-free. Due to such implementation, simply invoking merge_sort::merge() on Vec<T: Drop> can cause double free bugs.

CVSS Scores

version 3.1