{
  "schema_version": "1.4.0",
  "id": "GHSA-8gf5-q9p9-wvmc",
  "modified": "2021-08-19T18:48:32Z",
  "published": "2021-08-25T20:51:42Z",
  "aliases": [
    "CVE-2020-36219"
  ],
  "summary": "Data race in atomic-option",
  "details": "An issue was discovered in the atomic-option crate through 2020-10-31 for Rust. Because AtomicOption<T> implements Sync unconditionally, a data race can occur.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "crates.io",
        "name": "atomic-option"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "0.1.2"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-36219"
    },
    {
      "type": "WEB",
      "url": "https://github.com/reem/rust-atomic-option/issues/4"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/reem/rust-atomic-option"
    },
    {
      "type": "WEB",
      "url": "https://rustsec.org/advisories/RUSTSEC-2020-0113.html"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-662"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-19T18:48:32Z",
    "nvd_published_at": "2021-01-26T18:15:00Z"
  }
}