file: Denial of service

2018-06-23T00:00:00
ID GLSA-201806-08
Type gentoo
Reporter Gentoo Foundation
Modified 2018-06-23T00:00:00

Description

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"