GHSA-XWXC-J97J-84GF
Vulnerability from github – Published: 2021-08-25 21:00 – Updated: 2023-06-13 20:35
VLAI?
Summary
Race condition in Parc
Details
In the affected versions of this crate, LockWeak<T> unconditionally implemented Send with no trait bounds on T. LockWeak<T> doesn't own T and only provides &T. This allows concurrent access to a non-Sync T, which can cause undefined behavior like data races.
Severity ?
8.1 (High)
{
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "parc"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "1.0.1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [],
"database_specific": {
"cwe_ids": [
"CWE-362"
],
"github_reviewed": true,
"github_reviewed_at": "2021-08-09T17:05:10Z",
"nvd_published_at": null,
"severity": "HIGH"
},
"details": "In the affected versions of this crate, `LockWeak\u003cT\u003e` unconditionally implemented `Send` with no trait bounds on `T`. `LockWeak\u003cT\u003e` doesn\u0027t own `T` and only provides `\u0026T`. This allows concurrent access to a non-Sync `T`, which can cause undefined behavior like data races.\n",
"id": "GHSA-xwxc-j97j-84gf",
"modified": "2023-06-13T20:35:51Z",
"published": "2021-08-25T21:00:03Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/hyyking/rustracts/pull/6"
},
{
"type": "PACKAGE",
"url": "https://github.com/hyyking/rustracts/tree/master/parc"
},
{
"type": "WEB",
"url": "https://rustsec.org/advisories/RUSTSEC-2020-0134.html"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "Race condition in Parc"
}
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…