GHSA-5wg8-7c9q-794v

Suggest an improvement
Source
https://github.com/advisories/GHSA-5wg8-7c9q-794v
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-5wg8-7c9q-794v/GHSA-5wg8-7c9q-794v.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5wg8-7c9q-794v
Aliases
Published
2021-08-25T20:50:00Z
Modified
2024-03-15T00:05:20.102470Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Data races in lock_api
Details

An issue was discovered in the lock_api crate before 0.4.2 for Rust. A data race can occur because of MappedRwLockWriteGuard unsoundness.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-362"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-19T18:59:40Z"
}
References

Affected packages

crates.io / lock_api

Package

Affected ranges

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

Ecosystem specific

{
    "affected_functions": [
        "lock_api::MappedRwLockWriteGuard"
    ]
}