GHSA-vgr2-r5hm-f6gf: Sha rst `sha-rst` Was Removed From Crates.io Vulnerability
CRITICALGHSA-vgr2-r5hm-f6gf is a CRITICAL `sha-rst` was removed from crates.io vulnerability (CWE-506: Embedded Malicious Code) affecting Sha rst libraries in the crates.io ecosystem. The issue involves `sha-rst` was removed from crates.io for malicious code. Remediation is available in the latest vendor maintenance releases.
GHSA-vgr2-r5hm-f6gf at a Glance
How to Fix GHSA-vgr2-r5hm-f6gf
To remediate this vulnerability, upgrade all affected Sha rst 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-rst 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-rst
How to Check if You Are Affected
To determine whether your application is affected by GHSA-vgr2-r5hm-f6gf, inspect your project dependencies for Sha rst:
inspect dependencies for sha-rst
Analyze the terminal output to locate any version of Sha rst 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-506: Embedded Malicious Code, where the product contains code that appears to be malicious in nature. In Sha rst, 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-vgr2-r5hm-f6gf Affected Sha rst Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
sha-rst
|
crates.io |
|
|
References
Frequently Asked Questions
What is GHSA-vgr2-r5hm-f6gf?
Which Sha rst versions are affected?
What version fixes GHSA-vgr2-r5hm-f6gf?
Is sha-rst affected?
What CWE is associated with GHSA-vgr2-r5hm-f6gf?
How can I check crates.io dependencies for GHSA-vgr2-r5hm-f6gf?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vgr2-r5hm-f6gf",
"modified" : "2026-02-12T22:11:08Z",
"published" : "2026-02-12T22:11:08Z",
"aliases" : [ ],
"summary" : "`sha-rst` was removed from crates.io for malicious code",
"details" : "This crate was used as a dependency by `finch_cli_rust` and `finch-rst` and contained a malware payload to exfiltrate credentials.\n\nThe malicious crate had 1 version published on 2025-12-08 and had been downloaded 22 times. Other than the other crates above that were part of the attack, no other crates depedended on this crate.\n\nThanks to Matthias Zepper of [NGI Sweden](https://ngisweden.scilifelab.se/) for reporting this to the crates.io team!",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "sha-rst"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2025-0151.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-506" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-12T22:11:08Z",
"nvd_published_at" : null
}
}