GHSA-4h96-mv53-2c86: Fast id map Fast_id_map Has A Soundness Issue Vulnerability
MODERATEGHSA-4h96-mv53-2c86 is a MODERATE fast_id_map has a soundness issue vulnerability (CWE-20: Improper Input Validation) affecting Fast id map libraries in the crates.io ecosystem. The issue involves fast_id_map has a soundness issue and is unmaintained. Remediation is available in the latest vendor maintenance releases.
GHSA-4h96-mv53-2c86 at a Glance
How to Fix GHSA-4h96-mv53-2c86
To remediate this vulnerability, upgrade all affected Fast id map 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 fast_id_map 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 fast_id_map
How to Check if You Are Affected
To determine whether your application is affected by GHSA-4h96-mv53-2c86, inspect your project dependencies for Fast id map:
inspect dependencies for fast_id_map
Analyze the terminal output to locate any version of Fast id map 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 CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Fast id map, 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-4h96-mv53-2c86 Affected Fast id map Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
fast_id_map
|
crates.io |
≤ 0.1.0
|
|
References
Frequently Asked Questions
What is GHSA-4h96-mv53-2c86?
Which Fast id map versions are affected?
What version fixes GHSA-4h96-mv53-2c86?
Is fast_id_map affected?
What CWE is associated with GHSA-4h96-mv53-2c86?
How can I check crates.io dependencies for GHSA-4h96-mv53-2c86?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4h96-mv53-2c86",
"modified" : "2025-05-08T14:53:46Z",
"published" : "2025-05-08T14:53:46Z",
"aliases" : [ ],
"summary" : "fast_id_map has a soundness issue and is unmaintained",
"details" : "`FastMap::get()` lacks sufficient checks to its parameter index and is used to unsafely get a `Vec` element.\n\n`fast_id_map` is unmaintained.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "fast_id_map"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.1.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/Bruce0203/fast_map"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2025-0034.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-05-08T14:53:46Z",
"nvd_published_at" : null
}
}