GHSA-2c6h-4899-wjxr: scaly Multiple Soundness Issues Vulnerability

HIGH
CWE-125 CWE-787
Published
Advisory Summary

GHSA-2c6h-4899-wjxr is a HIGH multiple soundness issues vulnerability (CWE-125: Out-of-bounds Read) affecting scaly libraries in the crates.io ecosystem. The issue involves multiple soundness issues in rust safe apis. Remediation is available in the latest vendor maintenance releases.

GHSA-2c6h-4899-wjxr at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-2c6h-4899-wjxr
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-125: Out-of-bounds Read
Affected Product scaly
Package Ecosystem crates.io
Published Date
Last Updated

How to Fix GHSA-2c6h-4899-wjxr

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

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

How to Check if You Are Affected

To determine whether your application is affected by GHSA-2c6h-4899-wjxr, inspect your project dependencies for scaly:

inspect dependencies for scaly

Analyze the terminal output to locate any version of scaly 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-125: Out-of-bounds Read, where the product reads data past the end, or before the beginning, of the intended buffer. In scaly, 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

Affected versions contain multiple safe APIs that can trigger undefined behavior: - `Array<T>::index` can perform an out-of-bounds read. - `String::get_length` can perform an out-of-bounds read. - `String::append_character` can perform an invalid write. - `String::to_c_string` can perform an out-of-bounds write. These issues were reproduced against `scaly` 0.0.37 under Miri. The crate is unmaintained.

GHSA-2c6h-4899-wjxr Affected scaly Versions

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

References

Frequently Asked Questions

What is GHSA-2c6h-4899-wjxr?
GHSA-2c6h-4899-wjxr is a security vulnerability in scaly involving Multiple soundness issues in Rust safe APIs under CWE-125: Out-of-bounds Read.
Which scaly versions are affected?
Affected versions include releases prior to current release patches across affected packages: scaly.
What version fixes GHSA-2c6h-4899-wjxr?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is scaly affected?
Yes, scaly is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with GHSA-2c6h-4899-wjxr?
GHSA-2c6h-4899-wjxr is classified under CWE-125: Out-of-bounds Read (The product reads data past the end, or before the beginning, of the intended buffer.).
How can I check crates.io dependencies for GHSA-2c6h-4899-wjxr?
Run the dependency tree command: 'inspect dependencies for scaly'. 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-2c6h-4899-wjxr",
  "modified" : "2026-04-04T05:45:50Z",
  "published" : "2026-04-04T05:45:17Z",
  "aliases" : [ ],
  "summary" : "scaly: Multiple soundness issues in Rust safe APIs",
  "details" : "Affected versions contain multiple safe APIs that can trigger undefined behavior:\n\n- `Array<T>::index` can perform an out-of-bounds read.\n- `String::get_length` can perform an out-of-bounds read.\n- `String::append_character` can perform an invalid write.\n- `String::to_c_string` can perform an out-of-bounds write.\n\nThese issues were reproduced against `scaly` 0.0.37 under Miri. The crate is unmaintained.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "scaly"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.0.37"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/rustsec/advisory-db/issues/2594"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rschleitzer/Scaly"
  }, {
    "type" : "WEB",
    "url" : "https://rustsec.org/advisories/RUSTSEC-2026-0080.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-125", "CWE-787" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-04-04T05:45:17Z",
    "nvd_published_at" : null
  }
}