Resource exhaustion in file - CVE-2014-8117
Published: April 1, 2016 / Updated: November 27, 2018
Vulnerability identifier: #VU3894
CSH Severity: Low
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2014-8117
CWE-ID: CWE-400
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to cause DoS condition.
The weakness exists due to resource exhaustion when softmagic.c in file before 5.21 does not properly limit recursion. A remote attacker can trigger CPU consumption and cause the service to crash.
The weakness exists due to resource exhaustion when softmagic.c in file before 5.21 does not properly limit recursion. A remote attacker can trigger CPU consumption and cause the service to crash.
Affected software
file
Gentoo Linux
Debian Linux
Ubuntu
file (Alpine package)
file (Ubuntu package)
php5 (Ubuntu package)
php5 (Debian package)
file (Debian package)
Gentoo Linux
Debian Linux
Ubuntu
file (Alpine package)
file (Ubuntu package)
php5 (Ubuntu package)
php5 (Debian package)
file (Debian package)
How to mitigate CVE-2014-8117
Install update from vendor's website.
file - update to 5.21
file (Alpine package) - update to 5.22-r0
file (Ubuntu package) - addressed in versions 5.03-5ubuntu1.5, 5.09-2ubuntu0.6, 1:5.14-2ubuntu3.3, 1:5.19-1ubuntu1.2
php5 (Ubuntu package) - addressed in versions 5.3.2-1ubuntu4.29, 5.3.10-1ubuntu3.17, 5.5.9+dfsg-1ubuntu4.7, 5.5.12+dfsg-2ubuntu4.3
php5 (Debian package) - addressed in versions 5.3.3-7+squeeze19, 5.3.3-7+squeeze24, 5.4.4-14+deb7u8
file (Debian package) - addressed in versions 5.04-5+squeeze9, 5.11-2+deb7u7
file (Alpine package) - update to 5.22-r0
file (Ubuntu package) - addressed in versions 5.03-5ubuntu1.5, 5.09-2ubuntu0.6, 1:5.14-2ubuntu3.3, 1:5.19-1ubuntu1.2
php5 (Ubuntu package) - addressed in versions 5.3.2-1ubuntu4.29, 5.3.10-1ubuntu3.17, 5.5.9+dfsg-1ubuntu4.7, 5.5.12+dfsg-2ubuntu4.3
php5 (Debian package) - addressed in versions 5.3.3-7+squeeze19, 5.3.3-7+squeeze24, 5.4.4-14+deb7u8
file (Debian package) - addressed in versions 5.04-5+squeeze9, 5.11-2+deb7u7