Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. dashmap
  4. ›
  5. GHSA-mpg5-fvwp-42m2

GHSA-mpg5-fvwp-42m2: Unsoundness in `dashmap` references

June 16, 2022

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.

References

  • github.com/advisories/GHSA-mpg5-fvwp-42m2
  • github.com/xacrimon/dashmap
  • github.com/xacrimon/dashmap/issues/167
  • rustsec.org/advisories/RUSTSEC-2022-0002.html

Code Behaviors & Features

Detect and mitigate GHSA-mpg5-fvwp-42m2 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 5.0.0 before 5.1.0, version 5.0.0

Fixed versions

  • 5.1.0

Solution

Upgrade to version 5.1.0 or above.

Source file

cargo/dashmap/GHSA-mpg5-fvwp-42m2.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:24 +0000.