GHSA-x76r-966h-5qv9

Suggest an improvement
Source
https://github.com/advisories/GHSA-x76r-966h-5qv9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-x76r-966h-5qv9/GHSA-x76r-966h-5qv9.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-x76r-966h-5qv9
Aliases
Published
2022-01-06T22:15:56Z
Modified
2023-11-08T04:07:21.429742Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Out-of-bounds Write in vec-const
Details

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.

Database specific
{
    "nvd_published_at": "2021-12-27T00:15:00Z",
    "cwe_ids": [
        "CWE-787"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-01-06T18:17:26Z"
}
References

Affected packages

crates.io / vec-const

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.0