CVE-2014-9620
NoneCVSS
—
EPSS
4.7%
Published
Jan 21, 2015
CISA due date
—
Cloudanix analysis
A problem in a common file-analysis program can be triggered by certain specially made files, causing computers to stop responding until restarted.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The ELF parser in the file utility crashes or hangs when processing files containing an excessively large number of notes sections, resulting in denial of service with no impact to confidentiality or integrity.
Why it matters to the business
Systems that analyze untrusted files may become unresponsive, disrupting workflows that rely on file type identification and requiring manual intervention to restore service.
How an attack unfolds
An attacker creates a malformed ELF binary embedding thousands of note sections and delivers it to a target system; when the file utility parses the binary the excessive notes trigger resource exhaustion leading to a crash or hang.
How to fix it
Upgrade the affected oar package to a fixed version: 2.5.2-4.1ubuntu0.1~esm1 on Ubuntu 14.04 LTS or 2.5.7-1 on Debian 11/12/13; rebuild any dependent packages that statically link the vulnerable file library.
How to confirm the fix worked
Run the file command against a test ELF containing >1000 note sections and confirm it completes without crashing; verify package versions match the listed fixed releases and re-scan the system for the vulnerable library.
Typical attack path
- Craft ELF file containing a large number of PT_NOTE program headers
- Deliver the file to the target via network share, email attachment, or web upload
- Trigger parsing by invoking the file command or any application that calls it on the supplied file
- Observe denial of service as the parser consumes excessive memory or CPU
How to detect it
Review process execution logs and application error logs for repeated invocations of the file utility that terminate abnormally; correlate with file-system events showing creation of ELF binaries immediately preceding crashes.
What your security team should do
- Apply the listed package updates on all Debian and Ubuntu systems running the oar package
- Restrict file command execution to trusted inputs until patches are deployed
- Monitor EPSS and exploit maturity; no active exploitation reported despite long public disclosure
The record
The ELF parser in file 5.08 through 5.21 allows remote attackers to cause a denial of service via a large number of notes.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | file | 0 | 1:5.21+15-1 |
| Debian:12 | file | 0 | 1:5.21+15-1 |
| Debian:13 | file | 0 | 1:5.21+15-1 |
| Debian:7 | file | 0 | 5.11-2+deb7u7 |
| Mageia:4 | file | 0 | 5.16-1.10.mga4 |
| Mageia:4 | libgd | 0 | 2.1.0-3.2.mga4 |
| Mageia:4 | php | 0 | 5.5.21-1.mga4 |
| Mageia:4 | php-apc | 0 | 3.1.15-4.11.mga4 |
| Red Hat:enterprise_linux:6::client | file | 0 | 0:5.04-30.el6 |
| Red Hat:enterprise_linux:6::client | file-debuginfo | 0 | 0:5.04-30.el6 |
| Red Hat:enterprise_linux:6::client | file-devel | 0 | 0:5.04-30.el6 |
| Red Hat:enterprise_linux:6::client | file-libs | 0 | 0:5.04-30.el6 |
| Red Hat:enterprise_linux:6::client | file-static | 0 | 0:5.04-30.el6 |
| Red Hat:enterprise_linux:6::client | python-magic | 0 | 0:5.04-30.el6 |
| Red Hat:enterprise_linux:6::computenode | file | 0 | 0:5.04-30.el6 |
| Red Hat:enterprise_linux:6::computenode | file-debuginfo | 0 | 0:5.04-30.el6 |
| Red Hat:enterprise_linux:6::computenode | file-devel | 0 | 0:5.04-30.el6 |
| Red Hat:enterprise_linux:6::computenode | file-libs | 0 | 0:5.04-30.el6 |
| Red Hat:enterprise_linux:6::computenode | file-static | 0 | 0:5.04-30.el6 |
| Red Hat:enterprise_linux:6::computenode | python-magic | 0 | 0:5.04-30.el6 |
| Red Hat:enterprise_linux:6::server | file | 0 | 0:5.04-30.el6 |
| Red Hat:enterprise_linux:6::server | file-debuginfo | 0 | 0:5.04-30.el6 |
| Red Hat:enterprise_linux:6::server | file-devel | 0 | 0:5.04-30.el6 |
| Red Hat:enterprise_linux:6::server | file-libs | 0 | 0:5.04-30.el6 |
| Red Hat:enterprise_linux:6::server | file-static | 0 | 0:5.04-30.el6 |
| Red Hat:enterprise_linux:6::server | python-magic | 0 | 0:5.04-30.el6 |
| Red Hat:enterprise_linux:6::workstation | file | 0 | 0:5.04-30.el6 |
| Red Hat:enterprise_linux:6::workstation | file-debuginfo | 0 | 0:5.04-30.el6 |
| Red Hat:enterprise_linux:6::workstation | file-devel | 0 | 0:5.04-30.el6 |
| Red Hat:enterprise_linux:6::workstation | file-libs | 0 | 0:5.04-30.el6 |
| Red Hat:enterprise_linux:6::workstation | file-static | 0 | 0:5.04-30.el6 |
| Red Hat:enterprise_linux:6::workstation | python-magic | 0 | 0:5.04-30.el6 |
| SUSE:Linux Enterprise Desktop 12 SP2 | file | 0 | 5.22-10.3.1 |
| SUSE:Linux Enterprise Desktop 12 SP3 | file | 0 | 5.22-10.3.1 |
| SUSE:Linux Enterprise Server 12 SP2 | file | 0 | 5.22-10.3.1 |
| SUSE:Linux Enterprise Server 12 SP3 | file | 0 | 5.22-10.3.1 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | file | 0 | 5.22-10.3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | file | 0 | 5.22-10.3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | file | 0 | 5.22-10.3.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP2 | file | 0 | 5.22-10.3.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP2 | python-magic | 0 | 5.22-10.3.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP3 | file | 0 | 5.22-10.3.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP3 | python-magic | 0 | 5.22-10.3.1 |
| Ubuntu:14.04:LTS | file | 0 | 1:5.14-2ubuntu3.4 |
| Ubuntu:16.04:LTS | file | 0 | 1:5.25-2ubuntu1.1 |
| Ubuntu:18.04:LTS | file | 0 | 1:5.32-2ubuntu0.1 |
Related vulnerabilities
- CVE-2015-8865 The file_check_mem function in funcs.c in file before 5.23, as used in the Fileinfo… Also affects file
- CVE-2014-8117 softmagic.c in file before 5.21 does not properly limit recursion, which allows remote… Also affects file
- CVE-2014-3710 The donote function in readelf.c in file through 5.20, as used in the Fileinfo component… Also affects file
- CVE-2014-3587 Integer overflow in the cdf_read_property_info function in cdf.c in file through 5.19, as… Also affects file
- CVE-2014-3480 The cdf_count_chain function in cdf.c in file before 5.19, as used in the Fileinfo… Also affects file
- CVE-2014-3478 Buffer overflow in the mconvert function in softmagic.c in file before 5.19, as used in… Also affects file
- CVE-2014-3487 The cdf_read_property_info function in file before 5.19, as used in the Fileinfo… Also affects file
- CVE-2014-3479 The cdf_check_stream_offset function in cdf.c in file before 5.19, as used in the… Also affects file