GHSA-x54v-qxxr-93qc

Suggest an improvement
Source
https://github.com/advisories/GHSA-x54v-qxxr-93qc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-x54v-qxxr-93qc/GHSA-x54v-qxxr-93qc.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-x54v-qxxr-93qc
Aliases
Published
2021-08-25T20:45:01Z
Modified
2024-03-15T00:05:17.938691Z
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
Missing release of memory in sized-chunks
Details

Chunk:

  • Array size is not checked when constructed with unit() and pair().
  • Array size is not checked when constructed with From<InlineArray<A, T>>.
  • Clone and insert_from are not panic-safe; A panicking iterator causes memory safety issues with them.

InlineArray:

  • Generates unaligned references for types with a large alignment requirement.
Database specific
{
    "nvd_published_at": "2020-09-19T21:15:00Z",
    "cwe_ids": [
        "CWE-401"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-19T21:21:52Z"
}
References

Affected packages

crates.io / sized-chunks

Package

Affected ranges

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