Files
advisory-db/packages/adtensor.json
T
2025-10-27 16:49:06 +00:00

72 lines
1.9 KiB
JSON

[
{
"id": "RUSTSEC-2021-0045",
"modified": "2023-06-13T13:10:24Z",
"published": "2021-01-11T12:00:00Z",
"aliases": [
"CVE-2021-29936",
"GHSA-rg4m-gww5-7p47"
],
"related": [],
"summary": "FromIterator implementation for Vector/Matrix can drop uninitialized memory",
"details": "The `FromIterator<T>` methods for `Vector` and `Matrix` rely on the type\nparameter `N` to allocate space in the iterable.\n\nIf the passed in `N` type parameter is larger than the number of items returned\nby the iterator, it can lead to uninitialized memory being left in the\n`Vector` or `Matrix` type which gets dropped.",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "adtensor",
"purl": "pkg:cargo/adtensor"
},
"ecosystem_specific": {
"affects": {
"arch": [],
"os": [],
"functions": []
},
"affected_functions": null
},
"database_specific": {
"categories": [
"memory-corruption"
],
"cvss": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"informational": null
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.0.0-0"
}
]
}
],
"versions": []
}
],
"references": [
{
"type": "PACKAGE",
"url": "https://crates.io/crates/adtensor"
},
{
"type": "ADVISORY",
"url": "https://rustsec.org/advisories/RUSTSEC-2021-0045.html"
},
{
"type": "REPORT",
"url": "https://github.com/charles-r-earp/adtensor/issues/4"
}
],
"database_specific": {
"license": "CC0-1.0"
}
}
]