logo

CVE-2021-45680 vec-const

Package

Manager: cargo
Name: vec-const
Vulnerable Version: >=0 <2.0.0

Severity

Level: High

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

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

EPSS: 0.00334 pctl0.5564

Details

Out-of-bounds Write in vec-const An issue was discovered in the vec-const crate before 2.0.0 for Rust. It tries to construct a Vec from a pointer to a const slice, leading to memory corruption.

Metadata

Created: 2022-01-06T22:15:56Z
Modified: 2022-01-07T16:19:25Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-x76r-966h-5qv9/GHSA-x76r-966h-5qv9.json
CWE IDs: ["CWE-787"]
Alternative ID: GHSA-x76r-966h-5qv9
Finding: F111
Auto approve: 1