logo

CVE-2020-36432 alg_ds

Package

Manager: cargo
Name: alg_ds
Vulnerable Version: >=0 <=0.3.1

Severity

Level: Critical

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00433 pctl0.61951

Details

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.

Metadata

Created: 2021-08-25T20:59:20Z
Modified: 2021-08-24T19:10:18Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-3vv3-frrq-6486/GHSA-3vv3-frrq-6486.json
CWE IDs: ["CWE-665", "CWE-908"]
Alternative ID: GHSA-3vv3-frrq-6486
Finding: F138
Auto approve: 1