GHSA-xhw7-jhmp-j62j: Dnp3times `dnp3times` Was Removed From Crates.io Vulnerability

CRITICAL
Published
Advisory Summary

GHSA-xhw7-jhmp-j62j is a CRITICAL `dnp3times` was removed from crates.io vulnerability (General Security Weakness) affecting Dnp3times libraries in the crates.io ecosystem. The issue involves `dnp3times` was removed from crates.io due to malicious code. Remediation is available in the latest vendor maintenance releases.

GHSA-xhw7-jhmp-j62j at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-xhw7-jhmp-j62j
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Dnp3times
Package Ecosystem crates.io
Published Date
Last Updated

How to Fix GHSA-xhw7-jhmp-j62j

To remediate this vulnerability, upgrade all affected Dnp3times dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

dnp3times fixed: Latest secure release
Upgrade dnp3times 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 dnp3times

How to Check if You Are Affected

To determine whether your application is affected by GHSA-xhw7-jhmp-j62j, inspect your project dependencies for Dnp3times:

inspect dependencies for dnp3times

Analyze the terminal output to locate any version of Dnp3times 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 Dnp3times, 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

The `dnp3times` crate attempted to exfiltrate `.env` files to a server that was in turn impersonating the legitimate `timeapi.io` service. It was loosely trying to typosquat the `dnp3time` crate, but otherwise was the same attack as the recent `time_calibrator` and `time_calibrators` malware. The malicious crate had 1 version published on 2026-03-04 approximately 6 hours before removal and had no evidence of actual downloads. There were no crates depending on this crate on crates.io.

GHSA-xhw7-jhmp-j62j Affected Dnp3times Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
dnp3times
crates.io

References

Frequently Asked Questions

What is GHSA-xhw7-jhmp-j62j?
GHSA-xhw7-jhmp-j62j is a security vulnerability in Dnp3times involving `dnp3times` was removed from crates.io due to malicious code under General Security Weakness.
Which Dnp3times versions are affected?
Affected versions include releases prior to current release patches across affected packages: dnp3times.
What version fixes GHSA-xhw7-jhmp-j62j?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is dnp3times affected?
Yes, dnp3times is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with GHSA-xhw7-jhmp-j62j?
GHSA-xhw7-jhmp-j62j is classified under General Security Weakness.
How can I check crates.io dependencies for GHSA-xhw7-jhmp-j62j?
Run the dependency tree command: 'inspect dependencies for dnp3times'. 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-xhw7-jhmp-j62j",
  "modified" : "2026-03-05T00:43:57Z",
  "published" : "2026-03-05T00:43:57Z",
  "aliases" : [ ],
  "summary" : "`dnp3times` was removed from crates.io due to malicious code",
  "details" : "The `dnp3times` crate attempted to exfiltrate `.env` files to a server that was in turn impersonating the legitimate `timeapi.io` service. It was loosely trying to typosquat the `dnp3time` crate, but otherwise was the same attack as the recent `time_calibrator` and `time_calibrators` malware.\n\nThe malicious crate had 1 version published on 2026-03-04 approximately 6 hours before removal and had no evidence of actual downloads. There were no crates depending on this crate on crates.io.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "dnp3times"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://rustsec.org/advisories/RUSTSEC-2026-0032.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-05T00:43:57Z",
    "nvd_published_at" : null
  }
}