USN-2278-1: file vulnerabilities

Ubuntu Security Notice USN-2278-1

15th July, 2014

file vulnerabilities

A security issue affects these releases of Ubuntu and its derivatives:

  • Ubuntu 14.04 LTS
  • Ubuntu 13.10
  • Ubuntu 12.04 LTS
  • Ubuntu 10.04 LTS

Summary

File could be made to crash or hang if it processed specially crafted data.

Software description

  • file - Tool to determine file types

Details

Mike Frysinger discovered that the file awk script detector used multiple
wildcard with unlimited repetitions. An attacker could use this issue to
cause file to consume resources, resulting in a denial of service.
(CVE-2013-7345)

Francisco Alonso discovered that file incorrectly handled certain CDF
documents. A attacker could use this issue to cause file to hang or crash,
resulting in a denial of service. (CVE-2014-0207, CVE-2014-3478,
CVE-2014-3479, CVE-2014-3480, CVE-2014-3487)

Jan Kalu┼ża discovered that file did not properly restrict the amount of
data read during regex searches. An attacker could use this issue to
cause file to consume resources, resulting in a denial of service.
(CVE-2014-3538)

Update instructions

The problem can be corrected by updating your system to the following package version:

Ubuntu 14.04 LTS:
libmagic1 1:5.14-2ubuntu3.1
file 1:5.14-2ubuntu3.1
Ubuntu 13.10:
libmagic1 5.11-2ubuntu4.3
file 5.11-2ubuntu4.3
Ubuntu 12.04 LTS:
libmagic1 5.09-2ubuntu0.4
file 5.09-2ubuntu0.4
Ubuntu 10.04 LTS:
libmagic1 5.03-5ubuntu1.3
file 5.03-5ubuntu1.3

To update your system, please follow these instructions: https://wiki.ubuntu.com/Security/Upgrades.

In general, a standard system update will make all the necessary changes.

References

CVE-2013-7345, CVE-2014-0207, CVE-2014-3478, CVE-2014-3479, CVE-2014-3480, CVE-2014-3487, CVE-2014-3538