Advisory

GHSA-8q2v-67v7-6vc6

Also known as: CVE-2020-35882, RUSTSEC-2020-0028

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-08-25 20:48 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

rocket

crates.io · All systems

Affected

  • introduced 0.4.0, fixed 0.4.5 (semver)

Fixed versions

0.4.5

Fix

  • Fixed version 0.4.5
    cargo update -p rocket --precise 0.4.5

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences