Vulnerability identifier: #VU38300
Vulnerability risk: Low
CVSSv3.1: 4.8 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-119
Exploitation vector: Local
Exploit availability: No
Vulnerable software:
file
Universal components / Libraries /
Libraries used by multiple products
Vendor: Ian F. Darwin
Description
The vulnerability allows a local authenticated user to manipulate data.
An issue in file() was introduced in commit 9611f31313a93aa036389c5f3b15eea53510d4d1 (Oct 2016) lets an attacker overwrite a fixed 20 bytes stack buffer with a specially crafted .notes section in an ELF binary. This was fixed in commit 35c94dc6acc418f1ad7f6241a6680e5327495793 (Aug 2017).
Mitigation
Install update from vendor's website.
Vulnerable software versions
file: 5.29
External links
http://www.debian.org/security/2017/dsa-3965
http://github.com/file/file/commit/35c94dc6acc418f1ad7f6241a6680e5327495793
http://github.com/file/file/commit/9611f31313a93aa036389c5f3b15eea53510d4d
http://security.gentoo.org/glsa/201710-02
Can this vulnerability be exploited remotely?
No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.