Joined: 12 May 2004
|Posted: Tue Dec 06, 2016 4:26 am Post subject: [ GLSA 201612-14 ] util-linux
|Gentoo Linux Security Advisory
Title: util-linux: Arbitrary code execution (GLSA 201612-14)
Date: December 06, 2016
A vulnerability was discovered in util-linux, which could
potentially lead to the execution of arbitrary code.
util-linux is a suite of Linux programs including mount and umount,
programs used to mount and unmount filesystems.
Vulnerable: < 2.26
Unaffected: >= 2.26
Architectures: All supported architectures
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.
All util-linux users should upgrade to the latest version:
|# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-apps/util-linux-2.26"