file: Denial of service — GLSA 201806-08

A vulnerability in file could lead to a Denial of Service condition.

Affected packages

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

Background

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

Description

File does not properly utilize the do_core_note function in readelf.c in libmagic.a.

Impact

A remote attacker could send a specially crafted ELF 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.33-r2"
 

References

Release date
June 23, 2018

Latest revision
June 23, 2018: 1

Severity
normal

Exploitable
remote

Bugzilla entries