GHSA-3hj2-hh36-hv9v

Suggest an improvement
Source
https://github.com/advisories/GHSA-3hj2-hh36-hv9v
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-3hj2-hh36-hv9v/GHSA-3hj2-hh36-hv9v.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-3hj2-hh36-hv9v
Aliases
Published
2021-08-25T20:51:56Z
Modified
2023-11-08T04:03:42.275700Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Data race in va-ts
Details

In the affected versions of this crate, Demuxer<T> unconditionally implemented Send with no trait bounds on T. This allows sending a non-Send type T across thread boundaries, which can cause undefined behavior like unlocking a mutex from a thread that didn't lock the mutex, or memory corruption from data race. The flaw was corrected in commit 0562cbf by adding a T: Send bound to the Send impl for Demuxer<T>.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-662",
        "CWE-667",
        "CWE-787"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-19T18:47:06Z"
}
References

Affected packages

crates.io / va-ts

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.4