CVE-2024-27629 Command injection in n/a
A local attacker can execute arbitrary code in dc2niix due to improper escaping of generated file names in system calls during compression.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-27629?
CVE-2024-27629 is a high-severity command injection vulnerability in n/a, published on 28 Jun 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
An issue in dc2niix before v.1.0.20240202 allows a local attacker to execute arbitrary code via the generated file name is not properly escaped and injected into a system call when certain types of compression are used.
Weakness: CWE-116
Which versions are affected by CVE-2024-27629?
How do I fix CVE-2024-27629?
Upgrade to a fixed version.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2024-27629 being exploited?
There is no known exploitation of CVE-2024-27629 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2024-27629, GHSA-25g3-v2pj-968v, UBUNTU-CVE-2024-27629.