rustsec-2025-0045
Vulnerability from osv_rustsec
Published
2025-07-17 12:00
Modified
2025-07-17 14:38
Summary
ConstStaticCell could have been used to pass non-Send values to another thread
Details

ConstStaticCell<T> could have been used to pass non-Send values to another thread, because T was not required to be Send while ConstStaticCell is Send.

This was corrected by introducing a T: Send bound.


{
  "affected": [
    {
      "database_specific": {
        "categories": [
          "memory-exposure",
          "memory-corruption"
        ],
        "cvss": null,
        "informational": "unsound"
      },
      "ecosystem_specific": {
        "affected_functions": null,
        "affects": {
          "arch": [],
          "functions": [
            "static_cell::ConstStaticCell::new"
          ],
          "os": []
        }
      },
      "package": {
        "ecosystem": "crates.io",
        "name": "static_cell",
        "purl": "pkg:cargo/static_cell"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.0.1-0"
            },
            {
              "fixed": "2.1.1"
            }
          ],
          "type": "SEMVER"
        }
      ],
      "versions": []
    }
  ],
  "aliases": [],
  "database_specific": {
    "license": "CC0-1.0"
  },
  "details": "`ConstStaticCell\u003cT\u003e` could have been used to pass non-`Send` values to another thread, because `T` was not required to be `Send` while `ConstStaticCell` is `Send`.\n\nThis was corrected by introducing a `T: Send` bound.",
  "id": "RUSTSEC-2025-0045",
  "modified": "2025-07-17T14:38:11Z",
  "published": "2025-07-17T12:00:00Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://crates.io/crates/static_cell"
    },
    {
      "type": "ADVISORY",
      "url": "https://rustsec.org/advisories/RUSTSEC-2025-0045.html"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/embassy-rs/static-cell/issues/19"
    }
  ],
  "related": [],
  "severity": [],
  "summary": "ConstStaticCell could have been used to pass non-Send values to another thread"
}


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…