GHSA-9pqx-g3jh-qpqq

Suggest an improvement
Source
https://github.com/advisories/GHSA-9pqx-g3jh-qpqq
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-9pqx-g3jh-qpqq/GHSA-9pqx-g3jh-qpqq.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9pqx-g3jh-qpqq
Aliases
Published
2022-05-24T17:37:21Z
Modified
2023-11-08T04:03:35.548248Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2020-12-25T23:15:00Z",
    "cwe_ids": [],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-06-16T23:22:40Z"
}
References

Affected packages

crates.io / arc-swap

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.4.2
Fixed
0.4.8

crates.io / arc-swap

Package

Affected ranges

Type
SEMVER
Events
Introduced
1.0.0
Fixed
1.1.0