CVE-2021-29936
JSON

9.8critical

Free of uninitialized memory in adtensor

Severity
9.8critical CVSS:3.1 by NVD
Exploit likelihood
1.37% (higher than 72% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-rg4m-gww5-7p47RUSTSEC-2021-0045

Description

An issue was discovered in the adtensor crate through 2021-01-11 for Rust. There is a drop of uninitialized memory via the FromIterator implementation for Vector and Matrix.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
adtensor (crates.io)up to 0.0.3, from 0.0.0-0GitHub Advisory Database, RustSec Advisory Database
adtensor_project adtensorup to 2021-01-11NVD

All scores

GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
RustSec Advisory Database9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

An issue was discovered in the adtensor crate through 2021-01-11 for Rust. There is a drop of uninitialized memory via the FromIterator implementation for Vector and Matrix.

GitHub Advisory Database

An issue was discovered in the adtensor crate through 0.0.3 for Rust. There is a drop of uninitialized memory via the FromIterator implementation for Vector and Matrix.

RustSec Advisory Database

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.

NVD (es)

Se detectó un problema en la crate adtensor hasta el 11-01-2021 para Rust.&#xa0;Se presenta una perdida de la memoria no inicializada por medio de la implementación de FromIterator para Vector y Matrix.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-29936 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-rg4m-gww5-7p47 changed 2023-11-08CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2021-0045 changed 2023-11-08CC0-1.0
NVDCVE-2021-29936 changed 2026-06-17Public domain