RUSTSEC-2020-0028

Source
https://rustsec.org/advisories/RUSTSEC-2020-0028
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2020-0028.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2020-0028
Aliases
Published
2020-05-27T12:00:00Z
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
`LocalRequest::clone` creates multiple mutable references to the same object
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
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / rocket

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.4.0
Fixed
0.4.5

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "functions": [
            "rocket::local::LocalRequest::clone"
        ],
        "arch": []
    }
}

Database specific

{
    "cvss": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
    "informational": "unsound",
    "categories": []
}