Memory Issues Affecting alg_ds package, versions *


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.24% (62nd 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-ALGDS-608682
  • published26 Aug 2020
  • disclosed25 Aug 2020
  • creditYechan Bae

Introduced: 25 Aug 2020

CVE-2020-36432  (opens in a new tab)
CWE-1202  (opens in a new tab)

How to fix?

There is no fixed version for alg_ds.

Overview

alg_ds is a crate providing search/sort algorithms.

Affected versions of this package are vulnerable to Memory Issues. Matrix::new() internally calls Matrix::fill_with() which uses *ptr = value pattern to initialize the buffer. This pattern assumes that there is an initialized struct at the address and drops it, which results in dropping of uninitialized struct.

References

CVSS Scores

version 3.1