GHSA-9qxh-258v-666c: Owning ref Owning_ref Vulnerable To Multiple Soundness Vulnerability
MODERATEGHSA-9qxh-258v-666c is a MODERATE owning_ref vulnerable to multiple soundness vulnerability (General Security Weakness) affecting Owning ref libraries in the crates.io ecosystem. The issue involves owning_ref vulnerable to multiple soundness issues. Remediation is available in the latest vendor maintenance releases.
GHSA-9qxh-258v-666c at a Glance
How to Fix GHSA-9qxh-258v-666c
To remediate this vulnerability, upgrade all affected Owning ref dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade owning_ref to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for owning_ref
How to Check if You Are Affected
To determine whether your application is affected by GHSA-9qxh-258v-666c, inspect your project dependencies for Owning ref:
inspect dependencies for owning_ref
Analyze the terminal output to locate any version of Owning ref in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Owning ref, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-9qxh-258v-666c Affected Owning ref Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
owning_ref
|
crates.io |
≤ 0.4.1
|
|
References
Frequently Asked Questions
What is GHSA-9qxh-258v-666c?
Which Owning ref versions are affected?
What version fixes GHSA-9qxh-258v-666c?
Is owning_ref affected?
What CWE is associated with GHSA-9qxh-258v-666c?
How can I check crates.io dependencies for GHSA-9qxh-258v-666c?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9qxh-258v-666c",
"modified" : "2022-08-10T17:26:00Z",
"published" : "2022-08-10T17:26:00Z",
"aliases" : [ ],
"summary" : "owning_ref vulnerable to multiple soundness issues",
"details" : "- `OwningRef::map_with_owner` is [unsound](https://github.com/Kimundi/owning-ref-rs/issues/77) and may result in a use-after-free.\n- `OwningRef::map` is [unsound](https://github.com/Kimundi/owning-ref-rs/issues/71) and may result in a use-after-free.\n- `OwningRefMut::as_owner` and `OwningRefMut::as_owner_mut` are [unsound](https://github.com/Kimundi/owning-ref-rs/issues/61) and may result in a use-after-free.\n- The crate [violates Rust's aliasing rules](https://github.com/Kimundi/owning-ref-rs/issues/49), which may cause miscompilations on recent compilers that emit the LLVM `noalias` attribute.\n\nNo patched versions are available at this time. While a pull request with some fixes is outstanding, the maintainer appears to be unresponsive.\n",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "owning_ref"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.4.1"
} ]
} ]
} ],
"references" : [ {
"type" : "PACKAGE",
"url" : "https://github.com/Kimundi/owning-ref-rs"
}, {
"type" : "WEB",
"url" : "https://github.com/noamtashma/owning-ref-unsoundness"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2022-0040.html"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-08-10T17:26:00Z",
"nvd_published_at" : null
}
}