CVE-2014-8117: Medium severity File Project File vulnerability
softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.
Other sources
Thomas Jarosch of Intra2net AG reported a denial of service issue (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 fix:
https://github.com/file/file/commit/6f737ddfadb596d7d4a993f7ed2141ffd664a81c
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 1171580 (CVE-2014-8116).
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-8117?
CVE-2014-8117 has a severity rating that indicates it can lead to denial of service due to uncontrolled recursion.
How do I fix CVE-2014-8117?
To fix CVE-2014-8117, upgrade to a version of the file command that is higher than 5.20.
What systems are affected by CVE-2014-8117?
CVE-2014-8117 affects file versions before 5.21 and various versions of FreeBSD and Ubuntu Linux.
What type of attack does CVE-2014-8117 involve?
CVE-2014-8117 involves a denial of service attack that can cause high CPU consumption or system crashes.
Is CVE-2014-8117 exploitable by remote attackers?
Yes, CVE-2014-8117 can be exploited by remote attackers through unspecified vectors to impact system resources.