Alerts This Week
Warning Icon 1 666
Alerts This Week
Warning Icon 1 666

Gentoo: GLSA-201612-14 Critical: Util-linux Command Injection Exploit

gentoo
Calendar Grey December 6, 2016
Dist Gentoo Esm H88
The Gentoo Linux advisory GLSA 202101-25 uncovers a vulnerability in the util-linux package, allowing attackers to run arbitrary code via crafted partition identifiers
A vulnerability was discovered in util-linux, which could potentially lead to the execution of arbitrary code.

Summary

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.

Resolution

All util-linux users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose ">=sys-apps/util-linux-2.26"

References

[ 1 ] CVE-2014-9114 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-9114

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: https://security.gentoo.org/glsa/201612-14
style>.gentoo_availability{display:block;}

Concerns

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users' machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

Severity
critical
Lowest
Low
Medium
High
Critical

Severity: Normal
Title: util-linux: Arbitrary code execution
Date: December 06, 2016
Bugs: #530844
ID: 201612-14

Synopsis

A vulnerability was discovered in util-linux, which could potentially lead to the execution of arbitrary code.

Background

util-linux is a suite of Linux programs including mount and umount, programs used to mount and unmount filesystems.

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Affected Packages

------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 sys-apps/util-linux < 2.26 >= 2.26

Impact

===== A local attacker could create a specially crafted partition label containing arbitrary code which would get executed when the "blkid" utility processes that value.

Workaround

There is no known workaround at this time.

Related News

Your message here