CVE-2014-8116: Medium severity File Project File vulnerability
The ELF parser (readelf.c) in file before 5.21 allows remote attackers to cause a denial of service (CPU consumption or crash) via a large number of (1) program or (2) section headers or (3) invalid capabilities.
Other sources
Thomas Jarosch of Intra2net AG reported a number of denial of service issues (resource consumption) in the ELF parser used by file(1). Using file(1) on a specially-crafted ELF binary could lead to a denial of service (resource consumption).
Upstream fixes:
https://github.com/file/file/commit/b4c01141e5367f247b84dcaf6aefbb4e741842b8 https://github.com/file/file/commit/d7cdad007c507e6c79f51f058dd77fab70ceb9f6
Due to some regressions found when testing, the following commits are also required:
https://github.com/file/file/commit/8a905717660395b38ec4966493f6f1cf2f33946c https://github.com/file/file/commit/90018fe22ff8b74a22fcd142225b0a00f3f12677 https://github.com/file/file/commit/6bf45271eb8e0e6577b92042ce2003ba998d1686
Refer also to bug 1174606 (CVE-2014-8117)
Acknowledgements:
Name: Thomas Jarosch (Intra2net AG)
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/fileto a version that resolves this vulnerability.Fixed in 5.21 - Upgrade
Upgrade
fileto a version that resolves this vulnerability.Fixed in 5.21
Event History
Frequently Asked Questions
What is the severity of CVE-2014-8116?
CVE-2014-8116 is classified as a denial of service vulnerability due to excessive CPU consumption or potential crashes.
How do I fix CVE-2014-8116?
To fix CVE-2014-8116, upgrade to a version of the 'file' utility that is 5.21 or later.
Which software versions are affected by CVE-2014-8116?
CVE-2014-8116 affects versions of the 'file' utility prior to 5.21, along with specific distributions like FreeBSD and certain Ubuntu and Mageia versions.
What types of input trigger CVE-2014-8116?
CVE-2014-8116 can be triggered by supplying a large number of program headers, section headers, or invalid capabilities to the ELF parser.
Can CVE-2014-8116 be exploited remotely?
Yes, CVE-2014-8116 can be exploited by remote attackers, leading to potential denial of service situations.