GLSA-201612-14 : util-linux: Arbitrary code execution
High Nessus Plugin ID 95547
SynopsisThe remote Gentoo host is missing one or more security-related patches.
DescriptionThe remote host is affected by the vulnerability described in GLSA-201612-14 (util-linux: Arbitrary code execution)
A command injection flaw was discovered in util-linux’s “blkid”
utility. It uses caching files (/dev/.blkid.tab or /run/blkid/blkid.tab) to store info about the UUID, LABEL etc. it finds on certain devices.
However, it does not strip ‘”’ character, so it can be confused to build variable names containing shell metacharacters, which it would usually encode inside the value.
A local attacker could create a specially crafted partition label containing arbitrary code which would get executed when the “blkid”
utility processes that value.
There is no known workaround at this time.
SolutionAll util-linux users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=sys-apps/util-linux-2.26'