Ecosyste.ms: Advisories

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

Security Advisories: GSA_kwCzR0hTQS14NzZyLTk2NmgtNXF2Oc0fog

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.

Permalink: https://github.com/advisories/GHSA-x76r-966h-5qv9
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS14NzZyLTk2NmgtNXF2Oc0fog
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 2 years ago
Updated: 11 months ago


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

Identifiers: GHSA-x76r-966h-5qv9, CVE-2021-45680
References: Repository: https://github.com/Eolu/vec-const
Blast Radius: 1.0

Affected Packages

cargo:vec-const
Dependent packages: 0
Dependent repositories: 0
Downloads: 2,468 total
Affected Version Ranges: < 2.0.0
Fixed in: 2.0.0
All affected versions: 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.2.0, 1.2.1
All unaffected versions: 2.0.0, 2.0.1, 3.0.0, 3.0.1