CVE-2020-36432
JSON

9.8critical

Use of Uninitialized Resource in alg_ds

Severity
9.8critical CVSS:3.1 by NVD
Exploit likelihood
1.23% (higher than 69% of CVEs)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-3vv3-frrq-6486RUSTSEC-2020-0033

Description

An issue was discovered in the alg_ds crate through 2020-08-25 for Rust. There is a drop of uninitialized memory in Matrix::new().

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
alg_ds (crates.io)up to 0.3.1, from 0.0.0-0GitHub Advisory Database, RustSec Advisory Database
alg_ds_project alg_dsup to 2020-08-25NVD

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 alg_ds crate through 2020-08-25 for Rust. There is a drop of uninitialized memory in Matrix::new().

GitHub Advisory Database

An issue was discovered in the alg_ds crate through 2020-08-25 for Rust. 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.

RustSec Advisory Database

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.

NVD (es)

Se ha detectado un problema en la crate alg_ds versiones hasta 25-08-2020 para Rust. Se presenta una caída de memoria no inicializada en la función Matrix::new()

References

Sources

SourceRecordLicence
CVE ListCVE-2020-36432 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-3vv3-frrq-6486 changed 2023-11-08CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2020-0033 changed 2023-11-08CC0-1.0
NVDCVE-2020-36432 changed 2026-06-17Public domain