CVE-2024-27763 Details
Description
XPixelGroup BasicSR through 1.4.2 might locally allow code execution in contrived situations where "scontrol show hostname" is executed in the presence of a crafted SLURM_NODELIST environment variable.
A vulnerability allowing arbitrary code execution has been identified in XPixelGroup BasicSR versions through 1.4.2. This issue arises in the 'init_dist_slurm' function, where the 'scontrol show hostname' command is executed using a crafted 'SLURM_NODELIST' environment variable. The vulnerability is rooted in inadequate input validation of environment variables utilized for setting up CUDA devices, potentially allowing local attackers to execute malicious code within the application's context.
Users are advised to update to the latest version of BasicSR, where this vulnerability has been patched. Additionally, implement strict input validation and sanitization for environment variables, particularly those sourced from external commands or user inputs.
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 Mar 12, 2025CISA-ADP
Assessed Mar 12, 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://gist.github.com/aydinnyunus/40e1d8a3b529261ae654ff4891f1e192 | [email protected] | AdvisoryRemedy |
| https://github.com/XPixelGroup/BasicSR/blob/master/basicsr/utils/dist_util.py#L44 | [email protected] | Source CodeVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| XPixelGroup BasicSR | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 12, 2025 | CVE Modified | CISA-ADP |
| Mar 12, 2025 | New CVE Received | [email protected] |
Volerion