CVE-2018-14722 Command injection in n/a
Attackers can execute arbitrary code as root via crafted filesystem labels if auto-maintenance is enabled in btrfsmaintenance.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-14722?
CVE-2018-14722 is a high-severity command injection vulnerability in n/a, published on 15 Aug 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in evaluate_auto_mountpoint in btrfsmaintenance-functions in btrfsmaintenance through 0.4.1. Code execution as root can occur via a specially crafted filesystem label if btrfs-{scrub,balance,trim} are set to auto in /etc/sysconfig/btrfsmaintenance (this is not the default, though).
Which versions are affected by CVE-2018-14722?
It affects 1 product.
Linux distribution packages (1)
btrfsmaintenance openSUSE:Tumbleweed | All versions | 0.5-2.5 |
Products include Btrfsmaintenance Project Btrfsmaintenance.
How do I fix CVE-2018-14722?
Apply the vendor's patch.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2018-14722 being exploited?
There is no known exploitation of CVE-2018-14722 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2018-14722, GHSA-gvph-5529-3vhw, UBUNTU-CVE-2018-14722, openSUSE-SU-2024:10662-1.