CVE-2025-48756: Scsir SCSIR Has A Potential Unsound Vulnerability

LOW
Advisory Identifier: GHSA-cm3g-qm4h-xm6m
CVSS 2.9
CWE-843
Published
Advisory Summary

CVE-2025-48756 is a LOW (CVSS 2.9) scsir has a potential unsound vulnerability (CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')) affecting Scsir libraries in the crates.io ecosystem. The issue involves scsir has a potential unsound issue in writesamecommand. Remediation is available in the latest vendor maintenance releases.

CVE-2025-48756 at a Glance

CVE Identifier CVE-2025-48756
GHSA Identifier GHSA-cm3g-qm4h-xm6m
Severity LOW
CVSS v3.1 Base Score 2.9
CWE Classification CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')
Affected Product Scsir
Package Ecosystem crates.io
Published Date
Last Updated

Security Impact

CVSS: 2.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L).

Attack Vector Local (AV:L)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability Low (A:L)

How to Fix CVE-2025-48756

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

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

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-48756, inspect your project dependencies for Scsir:

inspect dependencies for scsir

Analyze the terminal output to locate any version of Scsir 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-843: Access of Resource Using Incompatible Type ('Type Confusion'), where the product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type. In Scsir, 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

In group_number in the scsir crate 0.2.0 for Rust, there can be an overflow because a hardware device may expect a small number of bits (e.g., 5 bits) for group number.

CVE-2025-48756 Affected Scsir Versions

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

References

Frequently Asked Questions

What is CVE-2025-48756?
CVE-2025-48756 is a security vulnerability in Scsir involving SCSIR has a Potential Unsound Issue in WriteSameCommand under CWE-843: Access of Resource Using Incompatible Type ('Type Confusion').
Which Scsir versions are affected?
Affected versions include releases prior to current release patches across affected packages: scsir.
What version fixes CVE-2025-48756?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is scsir affected?
Yes, scsir is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2025-48756?
CVE-2025-48756 has a CVSS v3.1 base score of 2.9 (LOW) with vector string CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L.
What CWE is associated with CVE-2025-48756?
CVE-2025-48756 is classified under CWE-843: Access of Resource Using Incompatible Type ('Type Confusion') (The product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.).
How can I check crates.io dependencies for CVE-2025-48756?
Run the dependency tree command: 'inspect dependencies for scsir'. 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-cm3g-qm4h-xm6m",
  "modified" : "2025-05-27T18:52:08Z",
  "published" : "2025-05-24T03:30:19Z",
  "aliases" : [ "CVE-2025-48756" ],
  "summary" : "SCSIR has a Potential Unsound Issue in WriteSameCommand",
  "details" : "In group_number in the scsir crate 0.2.0 for Rust, there can be an overflow because a hardware device may expect a small number of bits (e.g., 5 bits) for group number.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "scsir"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.2.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-48756"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/maboroshinokiseki/scsir/issues/4"
  }, {
    "type" : "WEB",
    "url" : "https://crates.io/crates/scsir"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/maboroshinokiseki/scsir"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-843" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-05-27T18:52:08Z",
    "nvd_published_at" : "2025-05-24T03:15:24Z"
  }
}