GHSA-c7fw-cr3w-wvfc

Suggest an improvement
Source
https://github.com/advisories/GHSA-c7fw-cr3w-wvfc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-c7fw-cr3w-wvfc/GHSA-c7fw-cr3w-wvfc.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-c7fw-cr3w-wvfc
Aliases
Published
2021-08-25T20:49:04Z
Modified
2024-03-15T00:05:27.030752Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Multiple security issues including data race, buffer overflow, and uninitialized memory drop in arr
Details

arr crate contains multiple security issues. Specifically,

  1. It incorrectly implements Sync/Send bounds, which allows to smuggle non-Sync/Send types across the thread boundary.
  2. Index and IndexMut implementation does not check the array bound.
  3. Array::newfromtemplate() drops uninitialized memory.
Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-362"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-19T20:56:00Z"
}
References

Affected packages

crates.io / arr

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.6.1