Advisory

RUSTSEC-2021-0045

Also known as: CVE-2021-29936, GHSA-rg4m-gww5-7p47

Summary

FromIterator implementation for Vector/Matrix can drop uninitialized memory

Details

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.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2021-01-11 12:00 UTC
Modified
2023-11-08 04:05 UTC

Affected packages and fixes

adtensor

crates.io · All systems

Affected

  • introduced 0.0.0-0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences