CVE-2024-29864
NixOS vulnerability analysis and mitigation

Overview

Distrobox before version 1.7.0.1 contains a command injection vulnerability that allows attackers to execute arbitrary code through exported executables. The vulnerability was discovered in March 2024 and affects the core functionality of Distrobox's executable export feature (NVD, MITRE).

Technical details

The vulnerability stems from improper handling of command arguments in exported binaries, where the arguments are interpreted by the shell, leading to potential command injection. The issue has been assigned a CVSS v3.1 base score of 9.8 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, indicating a severe security risk. The vulnerability is classified as CWE-77 (Improper Neutralization of Special Elements used in a Command) (NVD).

Impact

The vulnerability allows attackers to execute arbitrary code via command injection into exported executables, potentially leading to complete system compromise. The high CVSS score indicates that successful exploitation could result in a total loss of confidentiality, integrity, and availability of the affected system (NVD).

Mitigation and workarounds

The vulnerability has been fixed in Distrobox version 1.7.0.1. The fix involves modifying how command arguments are handled in the distrobox-enter functionality to prevent shell interpretation of arguments (Distrobox Commit).

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