GHSA-fhvj-7f9p-w788

Suggest an improvement
Source
https://github.com/advisories/GHSA-fhvj-7f9p-w788
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-fhvj-7f9p-w788/GHSA-fhvj-7f9p-w788.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-fhvj-7f9p-w788
Aliases
Published
2021-08-25T20:48:54Z
Modified
2024-03-15T00:05:27.030752Z
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
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-120"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-19T20:56:25Z"
}
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