file: Denial of service — GLSA 201209-14

A vulnerability in file could result in Denial of Service.

Affected packages

sys-apps/file on all architectures
Affected versions < 5.11
Unaffected versions >= 5.11

Background

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

Description

Multiple out-of-bounds read errors and invalid pointer dereference errors have been found in cdf.c.

Impact

A remote attacker could entice a user to open a specially crafted Composite Document File (CDF) using 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.11"
 

References

Release date
September 26, 2012

Latest revision
September 26, 2012: 1

Severity
normal

Exploitable
remote

Bugzilla entries