GHSA-3mmg-7c2q-8938: Sha rust `sha-rust` Was Removed From Crates.io Vulnerability
CRITICALGHSA-3mmg-7c2q-8938 is a CRITICAL `sha-rust` was removed from crates.io vulnerability (General Security Weakness) affecting Sha rust libraries in the crates.io ecosystem. The issue involves `sha-rust` was removed from crates.io for malicious code. Remediation is available in the latest vendor maintenance releases.
GHSA-3mmg-7c2q-8938 at a Glance
How to Fix GHSA-3mmg-7c2q-8938
To remediate this vulnerability, upgrade all affected Sha rust 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 sha-rust 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 sha-rust
How to Check if You Are Affected
To determine whether your application is affected by GHSA-3mmg-7c2q-8938, inspect your project dependencies for Sha rust:
inspect dependencies for sha-rust
Analyze the terminal output to locate any version of Sha rust 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 Sha rust, 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-3mmg-7c2q-8938 Affected Sha rust Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
sha-rust
|
crates.io |
|
|
References
Frequently Asked Questions
What is GHSA-3mmg-7c2q-8938?
Which Sha rust versions are affected?
What version fixes GHSA-3mmg-7c2q-8938?
Is sha-rust affected?
What CWE is associated with GHSA-3mmg-7c2q-8938?
How can I check crates.io dependencies for GHSA-3mmg-7c2q-8938?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3mmg-7c2q-8938",
"modified" : "2026-02-06T20:58:58Z",
"published" : "2026-02-06T20:58:58Z",
"aliases" : [ ],
"summary" : "`sha-rust` was removed from crates.io for malicious code",
"details" : "It appeared to be attempting to steal credentials from local files.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "sha-rust"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://blog.rust-lang.org/2025/12/05/crates.io-malicious-crates-finch-rust-and-sha-rust"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2025-0146.html"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-06T20:58:58Z",
"nvd_published_at" : null
}
}