file: Denial of Service

2014-08-26T00:00:00
ID GLSA-201408-08
Type gentoo
Reporter Gentoo Foundation
Modified 2014-08-29T00:00:00

Description

Background

file is a utility that guesses a file format by scanning binary data for patterns.

Description

BEGIN regular expression in the awk script detector in magic/Magdir/commands uses multiple wildcards with unlimited repetitions.

Impact

A context-dependent attacker could entice a user to open a specially crafted file, possibly resulting in a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All file users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=sys-apps/file-5.15"