GHSA-g753-ghr7-q33w: Cyfs base :new` Vulnerability
MODERATEGHSA-g753-ghr7-q33w is a MODERATE :new` vulnerability (General Security Weakness) affecting Cyfs base libraries in the crates.io ecosystem. The issue involves :new`. Remediation is available in the latest vendor maintenance releases.
GHSA-g753-ghr7-q33w at a Glance
How to Fix GHSA-g753-ghr7-q33w
To remediate this vulnerability, upgrade all affected Cyfs base 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 cyfs-base 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 cyfs-base
How to Check if You Are Affected
To determine whether your application is affected by GHSA-g753-ghr7-q33w, inspect your project dependencies for Cyfs base:
inspect dependencies for cyfs-base
Analyze the terminal output to locate any version of Cyfs base 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 Cyfs base, 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-g753-ghr7-q33w Affected Cyfs base Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
cyfs-base
|
crates.io |
≤ 0.6.12
|
|
References
Frequently Asked Questions
What is GHSA-g753-ghr7-q33w?
Which Cyfs base versions are affected?
What version fixes GHSA-g753-ghr7-q33w?
Is cyfs-base affected?
What CWE is associated with GHSA-g753-ghr7-q33w?
How can I check crates.io dependencies for GHSA-g753-ghr7-q33w?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g753-ghr7-q33w",
"modified" : "2023-06-22T20:01:55Z",
"published" : "2023-06-22T20:01:55Z",
"aliases" : [ ],
"summary" : "cyfs-base vulnerable to misaligned pointer dereference in `ChunkId::new`",
"details" : "The function `ChunkId::new` creates a misaligned pointer by casting mutable pointer of `u8` slice which has alignment 1 to the mutable pointer of `u32` which has alignment 4, and dereference the misaligned pointer leading UB, which should not be allowed in safe function.\n",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "cyfs-base"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.6.12"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/buckyos/CYFS/issues/275"
}, {
"type" : "WEB",
"url" : "https://github.com/buckyos/CYFS/commit/e030188895096fd8d91d48753877729f4d37dd24"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/buckyos/CYFS"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2023-0046.html"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-06-22T20:01:55Z",
"nvd_published_at" : null
}
}