GHSA-36XM-35QQ-795W
Vulnerability from github – Published: 2023-09-11 20:43 – Updated: 2023-09-11 20:43
VLAI?
Summary
Inventory exposes reference to non-Sync data to an arbitrary thread
Details
Affected versions do not enforce a Sync bound on the type of caller-provided value held in the plugin registry. References to these values are made accessible to arbitrary threads other than the one that constructed them.
A caller could use this flaw to submit thread-unsafe data into inventory, then access it as a reference simultaneously from multiple threads.
The flaw was corrected by enforcing that data submitted by the caller into inventory is Sync.
{
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "inventory"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.2.0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [],
"database_specific": {
"cwe_ids": [],
"github_reviewed": true,
"github_reviewed_at": "2023-09-11T20:43:41Z",
"nvd_published_at": null,
"severity": "MODERATE"
},
"details": "Affected versions do not enforce a `Sync` bound on the type of caller-provided value held in the plugin registry. References to these values are made accessible to arbitrary threads other than the one that constructed them.\n\nA caller could use this flaw to submit thread-unsafe data into inventory, then access it as a reference simultaneously from multiple threads.\n\nThe flaw was corrected by enforcing that data submitted by the caller into inventory is `Sync`.",
"id": "GHSA-36xm-35qq-795w",
"modified": "2023-09-11T20:43:41Z",
"published": "2023-09-11T20:43:41Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/dtolnay/inventory/pull/42"
},
{
"type": "WEB",
"url": "https://github.com/dtolnay/inventory/commit/e1e347d2725b9c9dd4a70b63eb08532ca9687652"
},
{
"type": "PACKAGE",
"url": "https://github.com/dtolnay/inventory"
},
{
"type": "WEB",
"url": "https://rustsec.org/advisories/RUSTSEC-2023-0058.html"
}
],
"schema_version": "1.4.0",
"severity": [],
"summary": "Inventory exposes reference to non-Sync data to an arbitrary thread"
}
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…
Loading…