CVE-2025-48756
Rust vulnerability analysis and mitigation

Overview

CVE-2025-48756 affects the scsir crate version 0.2.0 for Rust, specifically related to the groupnumber functionality. The vulnerability was discovered and disclosed on May 23, 2025. The issue involves a potential overflow condition where the groupnumber parameter doesn't properly validate input values against hardware device limitations (NVD, Wiz).

Technical details

The vulnerability exists in the group_number function within the WriteSameCommand implementation. The issue occurs because the code doesn't properly validate input values against hardware device limitations, where some devices may only support a small number of bits (e.g., 5 bits) for the group number. The CVSS 3.1 score is 2.9 (Low) with a vector string of CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L, indicating local access is required and the impact is primarily on availability (NVD, Wiz).

Impact

The vulnerability can lead to an overflow condition when interacting with hardware devices that expect a limited number of bits for the group number parameter. This could potentially result in undefined behavior of the device status (GitHub Issue, Wiz).

Mitigation and workarounds

The recommended mitigation is to mark the affected functions as unsafe since they can lead to undefined behaviors. Additionally, proper input validation should be implemented to ensure the group_number value doesn't exceed the hardware device's specifications (GitHub Issue).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management