Advisory

RUSTSEC-2022-0002

Also known as: GHSA-mpg5-fvwp-42m2

Summary

Unsoundness in dashmap references

Details

Reference returned by some methods of Ref (and similar types) may outlive the Ref and escape the lock.
This causes undefined behavior and may result in a segfault.

More information in `dashmap#167` issue.

Severity

Not rated by the source.

Dates

Published
2022-01-10 12:00 UTC
Modified
2023-11-08 04:21 UTC

Affected packages and fixes

dashmap

crates.io · All systems

Affected

  • introduced 5.0.0, fixed 5.1.0 (semver)

Fixed versions

5.1.0

Fix

  • Fixed version 5.1.0
    cargo update -p dashmap --precise 5.1.0

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: RustSec Advisory Database · CC0-1.0

Sources & licences