Memory Corruption Affecting adtensor package, versions *


Severity

Recommended
0.0
medium
0
10

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

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-ADTENSOR-1089464
  • published29 Mar 2021
  • disclosed11 Jan 2021
  • creditUnknown

Introduced: 11 Jan 2021

CVE NOT AVAILABLE CWE-119  (opens in a new tab)

How to fix?

There is no fixed version for adtensor.

Overview

Affected versions of this package are vulnerable to Memory Corruption. The FromIterator<T> methods for Vector and Matrix rely on the type parameter N to allocate space in the iterable. If the passed in N type parameter is larger than the number of items returned by the iterator, it can lead to uninitialized memory being left in the Vector or Matrix type which gets dropped.

CVSS Scores

version 3.1