GHSA-58xc-hpvq-8473: Redox uefi std Redox UEFI Safe API Can Vulnerability
LOWGHSA-58xc-hpvq-8473 is a LOW redox uefi safe api can vulnerability (CWE-122: Heap-based Buffer Overflow) affecting Redox uefi std libraries in the crates.io ecosystem. The issue involves redox uefi safe api can cause heap-buffer-overflow. Remediation is available by upgrading affected packages to version 0.1.14.
GHSA-58xc-hpvq-8473 at a Glance
How to Fix GHSA-58xc-hpvq-8473
To remediate this vulnerability, upgrade all affected Redox uefi std dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade redox_uefi_std to 0.1.14
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for redox_uefi_std
How to Check if You Are Affected
To determine whether your application is affected by GHSA-58xc-hpvq-8473, inspect your project dependencies for Redox uefi std:
inspect dependencies for redox_uefi_std
Analyze the terminal output to locate any version of Redox uefi std in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.1.14), 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-122: Heap-based Buffer Overflow, where a heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). In Redox uefi std, 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
GHSA-58xc-hpvq-8473 Affected Redox uefi std Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
redox_uefi_std
|
crates.io |
≥ 0.1.8
< 0.1.14
|
0.1.14
|
References
Frequently Asked Questions
What is GHSA-58xc-hpvq-8473?
Which Redox uefi std versions are affected?
What version fixes GHSA-58xc-hpvq-8473?
Is redox_uefi_std affected?
What CWE is associated with GHSA-58xc-hpvq-8473?
How can I check crates.io dependencies for GHSA-58xc-hpvq-8473?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-58xc-hpvq-8473",
"modified" : "2025-05-06T20:00:17Z",
"published" : "2025-05-06T20:00:17Z",
"aliases" : [ ],
"summary" : "Redox UEFI Safe API can cause heap-buffer-overflow",
"details" : "ffi::nstr() should be marked unsafe, since a pointer to a buffer without a trailing 0 value will cause a heap buffer overflow.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "redox_uefi_std"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.1.8"
}, {
"fixed" : "0.1.14"
} ]
} ]
} ],
"references" : [ {
"type" : "PACKAGE",
"url" : "https://gitlab.redox-os.org/redox-os/uefi"
}, {
"type" : "WEB",
"url" : "https://gitlab.redox-os.org/redox-os/uefi/-/commit/b711d47e815665b0ec8949e39292ad8e3fdd0756"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2025-0032.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-122" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2025-05-06T20:00:17Z",
"nvd_published_at" : null
}
}