GHSA-2625-rw7m-5q5x: Hubuum client library (Rust) Sensitive Data May Be Exposed Vulnerability

LOW
CWE-532
Published
Advisory Summary

GHSA-2625-rw7m-5q5x is a LOW sensitive data may be exposed vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Hubuum client library (Rust) libraries in the crates.io ecosystem. The issue involves sensitive data may be exposed through default diagnostics. Remediation is available by upgrading affected packages to version 0.6.1.

GHSA-2625-rw7m-5q5x at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-2625-rw7m-5q5x
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-532: Insertion of Sensitive Information into Log File
Affected Product Hubuum client library (Rust)
Package Ecosystem crates.io
Published Date
Last Updated

How to Fix GHSA-2625-rw7m-5q5x

To remediate this vulnerability, upgrade all affected Hubuum client library (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.

hubuum_client fixed: 0.6.1
Upgrade hubuum_client to 0.6.1
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 hubuum_client

How to Check if You Are Affected

To determine whether your application is affected by GHSA-2625-rw7m-5q5x, inspect your project dependencies for Hubuum client library (Rust):

inspect dependencies for hubuum_client

Analyze the terminal output to locate any version of Hubuum client library (Rust) in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.6.1), 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-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In Hubuum client library (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

## Summary `hubuum_client` diagnostics can expose sensitive request, response, import/export, task, delivery, or server-provided data when applications format or log errors and public models. ## Affected behavior Native `reqwest::Error` values retain the full request URL. Converting those errors into `ApiError::Http`, or exhausting retries and storing the error text in `ApiError::RetryExhausted`, preserves query parameter values. Detailed HTTP and decoding errors can retain server-provided messages, response bodies, or payload details, including through error source chains. Several public response and model types also derived or implemented diagnostics over untrusted or secret-adjacent fields. These include raw response bodies and cursors; rendered and JSON export payloads; import schemas and object data; task summaries, links, output URLs, events, and import-result details; event-delivery claims and errors; event sink configuration; subscription routing; and remote-call failure details. High-level backup and export runners additionally copied unsuccessful server task summaries into `ApiError::Api`. Applications commonly log errors and response values, so credentials, tokens, cursors, filters, echoed request content, imported object data, schema defaults, task or delivery details, and other sensitive payloads can be written to logs even though normal request logging redacts query values. ## Remediation The proposed fix redacts query values from embedded request URLs before storing native HTTP errors and applies the same sanitization to exhausted retries. Default error and model diagnostics now report safe metadata rather than server messages, payloads, cursors, links, configuration, or secret-adjacent details. JSON codec errors no longer appear in the standard source chain, and unsuccessful high-level backup/export operations use the structured `TaskUnsuccessful` variant without copying task summaries. Explicit response, error, task, import, export, event, and delivery APIs continue to expose original values for applications that deliberately inspect them. ## Validation Regression coverage exercises direct HTTP conversion, async and blocking retry exhaustion, response and decoding diagnostics, import/export/raw-response containers, unsuccessful async and blocking task runners, task/event/import-result models, and secret-bearing event and remote models. The workspace format, lint, documentation, test, feature-matrix, Rust 1.88 MSRV, OpenAPI validation, release-metadata, and combined library plus consumer integration suites pass against the immutable Hubuum 0.0.3 image.

GHSA-2625-rw7m-5q5x Affected Hubuum client library (Rust) Versions

1 component(s)
Fixed Versions:
0.6.1
Product / Package Ecosystem Affected Versions Fixed Version
hubuum_client
crates.io
< 0.6.1
0.6.1

References

Frequently Asked Questions

What is GHSA-2625-rw7m-5q5x?
GHSA-2625-rw7m-5q5x is a security vulnerability in Hubuum client library (Rust) involving Sensitive data may be exposed through default diagnostics under CWE-532: Insertion of Sensitive Information into Log File.
Which Hubuum client library (Rust) versions are affected?
Affected versions include releases prior to 0.6.1 across affected packages: hubuum_client.
What version fixes GHSA-2625-rw7m-5q5x?
Upgrading to 0.6.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is hubuum_client affected?
Yes, hubuum_client is affected in releases prior to 0.6.1. Upgrade your dependency to 0.6.1 or later.
What CWE is associated with GHSA-2625-rw7m-5q5x?
GHSA-2625-rw7m-5q5x is classified under CWE-532: Insertion of Sensitive Information into Log File (The product writes sensitive information to a log file.).
How can I check crates.io dependencies for GHSA-2625-rw7m-5q5x?
Run the dependency tree command: 'inspect dependencies for hubuum_client'. 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-2625-rw7m-5q5x",
  "modified" : "2026-07-24T21:49:18Z",
  "published" : "2026-07-24T21:49:18Z",
  "aliases" : [ ],
  "summary" : "Hubuum client library (Rust): Sensitive data may be exposed through default diagnostics",
  "details" : "## Summary\n\n`hubuum_client` diagnostics can expose sensitive request, response, import/export, task, delivery, or server-provided data when applications format or log errors and public models.\n\n## Affected behavior\n\nNative `reqwest::Error` values retain the full request URL. Converting those errors into `ApiError::Http`, or exhausting retries and storing the error text in `ApiError::RetryExhausted`, preserves query parameter values. Detailed HTTP and decoding errors can retain server-provided messages, response bodies, or payload details, including through error source chains.\n\nSeveral public response and model types also derived or implemented diagnostics over untrusted or secret-adjacent fields. These include raw response bodies and cursors; rendered and JSON export payloads; import schemas and object data; task summaries, links, output URLs, events, and import-result details; event-delivery claims and errors; event sink configuration; subscription routing; and remote-call failure details. High-level backup and export runners additionally copied unsuccessful server task summaries into `ApiError::Api`.\n\nApplications commonly log errors and response values, so credentials, tokens, cursors, filters, echoed request content, imported object data, schema defaults, task or delivery details, and other sensitive payloads can be written to logs even though normal request logging redacts query values.\n\n## Remediation\n\nThe proposed fix redacts query values from embedded request URLs before storing native HTTP errors and applies the same sanitization to exhausted retries. Default error and model diagnostics now report safe metadata rather than server messages, payloads, cursors, links, configuration, or secret-adjacent details. JSON codec errors no longer appear in the standard source chain, and unsuccessful high-level backup/export operations use the structured `TaskUnsuccessful` variant without copying task summaries.\n\nExplicit response, error, task, import, export, event, and delivery APIs continue to expose original values for applications that deliberately inspect them.\n\n## Validation\n\nRegression coverage exercises direct HTTP conversion, async and blocking retry exhaustion, response and decoding diagnostics, import/export/raw-response containers, unsuccessful async and blocking task runners, task/event/import-result models, and secret-bearing event and remote models. The workspace format, lint, documentation, test, feature-matrix, Rust 1.88 MSRV, OpenAPI validation, release-metadata, and combined library plus consumer integration suites pass against the immutable Hubuum 0.0.3 image.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "hubuum_client"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.6.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 0.6.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/hubuum/hubuum-client-rust/security/advisories/GHSA-2625-rw7m-5q5x"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/hubuum/hubuum-client-rust/commit/5a5c275ffa45f342459b7d3e977926da643bde50"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/hubuum/hubuum-client-rust"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/hubuum/hubuum-client-rust/releases/tag/v0.6.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-532" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-24T21:49:18Z",
    "nvd_published_at" : null
  }
}