Advisory

GHSA-9pqx-g3jh-qpqq

Also known as: CVE-2020-35711, RUSTSEC-2020-0091

Summary

Dangling reference in access::Map with Constant

Details

An issue has been discovered in the arc-swap crate before 0.4.8 (and 1.x before 1.1.0) for Rust. Use of arc_swap::access::Map with the Constant test helper (or with a user-supplied implementation of the Access trait) could sometimes lead to dangling references being returned by the map.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-24 17:37 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

arc-swap

crates.io · All systems

Affected

  • introduced 0.4.2, fixed 0.4.8 (semver)

Fixed versions

0.4.8

Fix

  • Fixed version 0.4.8
    cargo update -p arc-swap --precise 0.4.8

arc-swap

crates.io · All systems

Affected

  • introduced 1.0.0, fixed 1.1.0 (semver)

Fixed versions

1.1.0

Fix

  • Fixed version 1.1.0
    cargo update -p arc-swap --precise 1.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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences