{
  "schema_version": "1.4.0",
  "id": "GHSA-83r8-p8v6-6gfm",
  "modified": "2022-06-14T20:53:20Z",
  "published": "2021-08-25T21:00:20Z",
  "aliases": [],
  "summary": "Slock<T> allows sending non-Send types across thread boundaries",
  "details": "`Slock<T>` unconditionally implements `Send`/`Sync`.\n\nAffected versions of this crate allows sending non-Send types to other threads,\nwhich can lead to data races and memory corruption due to the data race.\n",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "crates.io",
        "name": "slock"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.2.0"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/BrokenLamp/slock-rs/issues/2"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/BrokenLamp/slock-rs"
    },
    {
      "type": "WEB",
      "url": "https://rustsec.org/advisories/RUSTSEC-2020-0135.html"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-362"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-06T17:28:42Z",
    "nvd_published_at": null
  }
}