GHSA-h45v-vgvp-3h5v

Suggest an improvement
Source
https://github.com/advisories/GHSA-h45v-vgvp-3h5v
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-h45v-vgvp-3h5v/GHSA-h45v-vgvp-3h5v.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-h45v-vgvp-3h5v
Aliases
Published
2021-08-25T20:49:13Z
Modified
2023-11-08T04:03:37.990860Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Out-of-bounds write in stack
Details

ArrayVec::insert allows insertion of an element into the array object into the specified index. Due to a missing check on the upperbound of this index, it is possible to write out of bounds.

Database specific
{
    "nvd_published_at": "2020-12-31T10:15:00Z",
    "cwe_ids": [
        "CWE-787"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-19T20:53:42Z"
}
References

Affected packages

crates.io / stack

Package

Affected ranges

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