GHSA-hxw9-jxqw-jc8j

Suggest an improvement
Source
https://github.com/advisories/GHSA-hxw9-jxqw-jc8j
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-hxw9-jxqw-jc8j/GHSA-hxw9-jxqw-jc8j.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hxw9-jxqw-jc8j
Aliases
Published
2021-08-25T20:58:05Z
Modified
2023-11-08T04:03:46Z
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 dces
Details

An issue was discovered in the dces crate through 2020-12-09 for Rust. The World type is marked as Send but lacks bounds on its EntityStore and ComponentStore. This allows non-thread safe EntityStore and ComponentStores to be sent across threads and cause data races.

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

Affected packages

crates.io / dces

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-hxw9-jxqw-jc8j/GHSA-hxw9-jxqw-jc8j.json"