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 package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| alg_ds (crates.io) | up to 0.3.1, from 0.0.0-0 | GitHub Advisory Database, RustSec Advisory Database |
| alg_ds_project alg_ds | up to 2020-08-25 | NVD |
All scores
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| RustSec Advisory Database | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV: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
| https://rustsec.org/advisories/RUSTSEC-2020-0033.html | advisory, third-party-advisory, web | |
| https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/alg_ds/RUSTSEC-2020-0033.md | third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-36432 | advisory | |
| https://gitlab.com/dvshapkin/alg-ds | package | |
| https://gitlab.com/dvshapkin/alg-ds/-/issues/1 | report, web | |
| https://crates.io/crates/alg_ds | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-36432 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-3vv3-frrq-6486 changed 2023-11-08 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2020-0033 changed 2023-11-08 | CC0-1.0 |
| NVD | CVE-2020-36432 changed 2026-06-17 | Public domain |