{
  "schema_version": "1.4.0",
  "id": "GHSA-6wp2-fw3v-mfmc",
  "modified": "2021-08-24T18:54:26Z",
  "published": "2021-08-25T20:57:19Z",
  "aliases": [
    "CVE-2020-36452"
  ],
  "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.\n",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "crates.io",
        "name": "array-tools"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.3.2"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-36452"
    },
    {
      "type": "WEB",
      "url": "https://github.com/L117/array-tools/issues/2"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/L117/array-tools"
    },
    {
      "type": "WEB",
      "url": "https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/array-tools/RUSTSEC-2020-0132.md"
    },
    {
      "type": "WEB",
      "url": "https://rustsec.org/advisories/RUSTSEC-2020-0132.html"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-908",
      "CWE-909"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-18T20:24:55Z",
    "nvd_published_at": "2021-08-08T06:15:00Z"
  }
}