Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTN2djMtZnJycS02NDg2

Use of Uninitialized Resource in alg_ds

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.

Permalink: https://github.com/advisories/GHSA-3vv3-frrq-6486
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTN2djMtZnJycS02NDg2
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: about 3 years ago
Updated: almost 2 years ago


CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Identifiers: GHSA-3vv3-frrq-6486, CVE-2020-36432
References: Repository: https://gitlab.com/dvshapkin/alg-ds
Blast Radius: 1.0

Affected Packages

cargo:alg_ds
Dependent packages: 1
Dependent repositories: 0
Downloads: 8,519 total
Affected Version Ranges: <= 0.3.1
No known fixed version
All affected versions: 0.0.1, 0.0.2, 0.0.3, 0.2.7, 0.3.0, 0.3.1