GHSA-29v7-3v4c-gf38

Suggest an improvement
Source
https://github.com/advisories/GHSA-29v7-3v4c-gf38
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-29v7-3v4c-gf38/GHSA-29v7-3v4c-gf38.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-29v7-3v4c-gf38
Aliases
Published
2021-08-25T20:57:24Z
Modified
2023-11-08T04:03:45.827550Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Data races 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.

Database specific
{
    "nvd_published_at": "2021-08-08T06:15:00Z",
    "cwe_ids": [
        "CWE-119",
        "CWE-362"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-18T20:23:35Z"
}
References

Affected packages

crates.io / parc

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
1.0.1