CVE-2014-8117: Medium severity File Project File vulnerability

Published Dec 16, 2014
·
Updated

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

8 affected componentsFixes available
File Project File<=5.20
FreeBSD FreeBSD
Mageia Mageia=4.0
Canonical Ubuntu Linux=10.04
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=14.10
redhat/file<5.21
5.21

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/file to a version that resolves this vulnerability.

    Fixed in 5.21
  2. Upgrade

    Upgrade file to a version that resolves this vulnerability.

    Fixed in 5.21

Event History

Dec 16, 2014
Data Sourced
via Red Hat·04:41 AM
DescriptionSeverityAffected Software
Dec 17, 2014
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
Data Sourced
07:59 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203