GHSA-9HPW-R23R-XGM5

Vulnerability from github – Published: 2022-06-17 00:25 – Updated: 2022-06-17 00:25
VLAI?
Summary
Data race in `Iter` and `IterMut`
Details

In the affected version of this crate, {Iter, IterMut}::next used a weaker memory ordering when loading values than what was required, exposing a potential data race when iterating over a ThreadLocal's values.

Crates using Iter::next, or IterMut::next are affected by this issue.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "crates.io",
        "name": "thread_local"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.1.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-362"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2022-06-17T00:25:46Z",
    "nvd_published_at": null,
    "severity": "HIGH"
  },
  "details": "In the affected version of this crate, `{Iter, IterMut}::next` used a weaker memory ordering when loading values than what was required, exposing a potential data race\nwhen iterating over a `ThreadLocal`\u0027s values.\n\nCrates using `Iter::next`, or `IterMut::next` are affected by this issue.\n",
  "id": "GHSA-9hpw-r23r-xgm5",
  "modified": "2022-06-17T00:25:46Z",
  "published": "2022-06-17T00:25:46Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/Amanieu/thread_local-rs/issues/33"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/Amanieu/thread_local-rs"
    },
    {
      "type": "WEB",
      "url": "https://rustsec.org/advisories/RUSTSEC-2022-0006.html"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [],
  "summary": "Data race in `Iter` and `IterMut`"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…