GHSA-6wp2-fw3v-mfmc

Suggest an improvement
Source
https://github.com/advisories/GHSA-6wp2-fw3v-mfmc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-6wp2-fw3v-mfmc/GHSA-6wp2-fw3v-mfmc.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6wp2-fw3v-mfmc
Aliases
Published
2021-08-25T20:57:19Z
Modified
2023-11-08T04:03:45.705412Z
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
Memory corruption in array-tools
Details

An issue was discovered in the array-tools crate before 0.3.2 for Rust. Affected versions of this crate don't guard against panics, so that partially uninitialized buffer is dropped when user-provided T::clone() panics in FixedCapacityDequeLike<T, A>::clone(). This causes memory corruption.

Database specific
{
    "nvd_published_at": "2021-08-08T06:15:00Z",
    "github_reviewed_at": "2021-08-18T20:24:55Z",
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-908",
        "CWE-909"
    ]
}
References

Affected packages

crates.io / array-tools

Package

Affected ranges

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