GHSA-P6GJ-GPC8-F8XW

Vulnerability from github – Published: 2022-06-17 00:13 – Updated: 2022-06-17 00:13
VLAI?
Summary
Aliased mutable references from `tls_rand` & `TlsWyRand`
Details

TlsWyRand's implementation of Deref unconditionally dereferences a raw pointer, and returns multiple mutable references to the same object, which is undefined behavior.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "crates.io",
        "name": "nanorand"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0.5.0"
            },
            {
              "fixed": "0.6.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": true,
    "github_reviewed_at": "2022-06-17T00:13:24Z",
    "nvd_published_at": null,
    "severity": "MODERATE"
  },
  "details": "`TlsWyRand`\u0027s implementation of `Deref` unconditionally dereferences a raw pointer, and returns \nmultiple mutable references to the same object, which is undefined behavior.\n",
  "id": "GHSA-p6gj-gpc8-f8xw",
  "modified": "2022-06-17T00:13:24Z",
  "published": "2022-06-17T00:13:24Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/Absolucy/nanorand-rs/issues/28"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/Absolucy/nanorand-rs"
    },
    {
      "type": "WEB",
      "url": "https://rustsec.org/advisories/RUSTSEC-2021-0114.html"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [],
  "summary": "Aliased mutable references from `tls_rand` \u0026 `TlsWyRand`"
}


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…