GHSA-8q2v-67v7-6vc6

Suggest an improvement
Source
https://github.com/advisories/GHSA-8q2v-67v7-6vc6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-8q2v-67v7-6vc6/GHSA-8q2v-67v7-6vc6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8q2v-67v7-6vc6
Aliases
Published
2021-08-25T20:48:07Z
Modified
2023-11-08T04:03:37.315505Z
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 rocket
Details

The affected version of rocket contains a Clone trait implementation of LocalRequest that reuses the pointer to inner Request object. This causes data race in rare combinations of APIs if the original and the cloned objects are modified at the same time.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-362"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-19T21:07:49Z"
}
References

Affected packages

crates.io / rocket

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.4.0
Fixed
0.4.5

Ecosystem specific

{
    "affected_functions": [
        "rocket::local::LocalRequest::clone"
    ]
}