GHSA-4h96-mv53-2c86: Fast id map Fast_id_map Has A Soundness Issue Vulnerability

MODERATE
CWE-20
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-4h96-mv53-2c86
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-20: Improper Input Validation
Affected Product Fast id map
Package Ecosystem crates.io
Published Date
Last Updated

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.

fast_id_map fixed: Latest secure release
Upgrade fast_id_map to Latest secure release
Verify Direct and Transitive Dependencies

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

`FastMap::get()` lacks sufficient checks to its parameter index and is used to unsafely get a `Vec` element. `fast_id_map` is unmaintained.

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?
GHSA-4h96-mv53-2c86 is a security vulnerability in Fast id map involving fast_id_map has a soundness issue and is unmaintained under CWE-20: Improper Input Validation.
Which Fast id map versions are affected?
Affected versions include releases prior to current release patches across affected packages: fast_id_map.
What version fixes GHSA-4h96-mv53-2c86?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is fast_id_map affected?
Yes, fast_id_map is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with GHSA-4h96-mv53-2c86?
GHSA-4h96-mv53-2c86 is classified under CWE-20: Improper Input Validation (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.).
How can I check crates.io dependencies for GHSA-4h96-mv53-2c86?
Run the dependency tree command: 'inspect dependencies for fast_id_map'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}