{
  "schema_version": "1.4.0",
  "id": "GHSA-c3cw-c387-pj65",
  "modified": "2023-06-13T17:11:24Z",
  "published": "2021-08-25T20:43:21Z",
  "aliases": [
    "CVE-2018-20996"
  ],
  "summary": "Double free in crossbeam",
  "details": "Even if an element is popped from a queue, crossbeam would run its destructor inside the epoch-based garbage collector. This is a source of double frees.\n\nThe flaw was corrected by wrapping elements inside queues in a ManuallyDrop.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "crates.io",
        "name": "crossbeam"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0.4.0"
            },
            {
              "fixed": "0.4.1"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-20996"
    },
    {
      "type": "WEB",
      "url": "https://github.com/crossbeam-rs/crossbeam-epoch/issues/82"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/crossbeam-rs/crossbeam-epoch"
    },
    {
      "type": "WEB",
      "url": "https://rustsec.org/advisories/RUSTSEC-2018-0009.html"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-415"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-19T21:24:34Z",
    "nvd_published_at": "2019-08-26T18:15:11Z"
  }
}