CVE-2024-42029 Command injection in n/a
An attacker can execute arbitrary OS commands via unsanitized app IDs and titles in the Hyprland XDG portal backend.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-42029?
CVE-2024-42029 is a medium-severity command injection vulnerability in n/a, published on 27 Jul 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
xdg-desktop-portal-hyprland (aka an XDG Desktop Portal backend for Hyprland) before 1.3.3 allows OS command execution, e.g., because single quotes are not used when sending a list of app IDs and titles via the environment.
Weakness: CWE-78
Which versions are affected by CVE-2024-42029?
How do I fix CVE-2024-42029?
No fix has been published for CVE-2024-42029 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2024-42029 being exploited?
There is no known exploitation of CVE-2024-42029 in the wild and no public exploit code.
Sources
Also known as GHSA-7p5j-4xc4-hcj7.