CVE-2024-58253 Details
Description
In the obfstr crate before 0.4.4 for Rust, the obfstr! argument type is not restricted to string slices, leading to invalid UTF-8 conversion that produces an invalid value.
A vulnerability exists in the obfstr crate for Rust, specifically in versions prior to 0.4.4. The issue arises because the obfstr! macro argument type is not limited to string slices. This oversight allows for invalid UTF-8 conversions, resulting in the creation of invalid string values. The vulnerability can lead to undefined behavior in Rust, as it introduces the possibility of invalid UTF-8 data, which is not allowed in the language.
Users can upgrade to obfstr version 0.4.4 or later, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 2, 2025CISA-ADP
Assessed May 2, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/CasualX/obfstr/compare/v0.4.3...v0.4.4 | [email protected] | Release NotesVendor |
| https://github.com/CasualX/obfstr/issues/60 | [email protected] | Issue TrackingTechnical DescriptionVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-843 | Access of Resource Using Incompatible Type ('Type Confusion') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| CasualX obfstr | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 2, 2025 | New CVE Received | [email protected] |
Volerion