GHSA-g38r-8gmr-ghrf: Mysten metrics `mysten-metrics` Was Removed From Crates.io Vulnerability
CRITICALGHSA-g38r-8gmr-ghrf is a CRITICAL `mysten-metrics` was removed from crates.io vulnerability (CWE-506: Embedded Malicious Code) affecting Mysten metrics libraries in the crates.io ecosystem. The issue involves `mysten-metrics` was removed from crates.io for malicious code. Remediation is available in the latest vendor maintenance releases.
GHSA-g38r-8gmr-ghrf at a Glance
How to Fix GHSA-g38r-8gmr-ghrf
To remediate this vulnerability, upgrade all affected Mysten metrics 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 mysten-metrics 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 mysten-metrics
How to Check if You Are Affected
To determine whether your application is affected by GHSA-g38r-8gmr-ghrf, inspect your project dependencies for Mysten metrics:
inspect dependencies for mysten-metrics
Analyze the terminal output to locate any version of Mysten metrics 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 Mysten metrics, 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-g38r-8gmr-ghrf Affected Mysten metrics Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
mysten-metrics
|
crates.io |
|
|
References
Frequently Asked Questions
What is GHSA-g38r-8gmr-ghrf?
Which Mysten metrics versions are affected?
What version fixes GHSA-g38r-8gmr-ghrf?
Is mysten-metrics affected?
What CWE is associated with GHSA-g38r-8gmr-ghrf?
How can I check crates.io dependencies for GHSA-g38r-8gmr-ghrf?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g38r-8gmr-ghrf",
"modified" : "2026-05-04T21:43:56Z",
"published" : "2026-05-04T21:43:56Z",
"aliases" : [ ],
"summary" : "`mysten-metrics` was removed from crates.io for malicious code",
"details" : "`mysten-metrics` included a build script that attempted to exfiltrate data from the build machine.\n\nThe malicious crate had 1 version published on 2026-04-20 and had no evidence of actual usage. This crate had no dependencies on crates.io.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "mysten-metrics"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
} ]
} ]
} ],
"references" : [ {
"type" : "PACKAGE",
"url" : "https://github.com/MystenLabs/sui"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2026-0107.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-506" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-04T21:43:56Z",
"nvd_published_at" : null
}
}