Util-linux
util-linux libmount Privilege Escalation via Failed Mount Helper
util-linux versions through 2.41.5 and 2.42.2 fail to check mount helper exit status before running post-mount hooks, allowing unprivileged users to execute privileged operations on pre-existing filesystems. Attackers can exploit X-mount.idmap or X-mount.owner hooks to clone filesystems with inherited suid bits or modify target inode permissions after a helper fails, achieving privilege escalation.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.5high · scored by CNA · CWE-390
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
util-linux util-linux
- >= 2.39, < 2.41.6
- >= 2.42, < 2.42.3
Fixed in 2.41.6, 2.42.3
Mitigation
Upgrade util-linux to 2.41.6 or 2.42.3 or later.
References
- Vendor advisory github.com/util-linux/util-linux/security/advi…
- Patch github.com/util-linux/util-linux/commit/f57cea…
- Patch github.com/util-linux/util-linux/commit/1d1467…
1 more
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.