CVE-2013-7345
CVE-2013-7345
This page contains facts from public vulnerability sources. Check the original advisory before updating.
The BEGIN regular expression in the awk script detector in magic/Magdir/commands in file before 5.15 uses multiple wildcards with unlimited repetitions, which allows context-dependent attackers to cause a denial of service (CPU consumption) via a crafted ASCII file that triggers a large amount of backtracking, as demonstrated via a file with many newline characters.
EPSS 3.0% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
file Debian:12
- Affected ranges
- ECOSYSTEM: < 1:5.17-0.1
Update to 1:5.17-0.1
file Debian:13
- Affected ranges
- ECOSYSTEM: < 1:5.17-0.1
Update to 1:5.17-0.1
file Debian:14
- Affected ranges
- ECOSYSTEM: < 1:5.17-0.1
Update to 1:5.17-0.1
file Ubuntu:14.04:LTS
- Versions
- 5.11-2ubuntu4
- 1:5.14-2ubuntu1
- 1:5.14-2ubuntu2
- 1:5.14-2ubuntu3
- Affected ranges
- ECOSYSTEM: < 1:5.14-2ubuntu3.1
Update to 1:5.14-2ubuntu3.1
Original sources
- https://github.com/file/file/commit/ef2329cf71acb59204dd981e2c6cce6c81fe467c
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703993
- http://bugs.gw.com/view.php?id=164
- http://support.apple.com/kb/HT6443
- http://rhn.redhat.com/errata/RHSA-2014-1765.html
- http://www.debian.org/security/2014/dsa-2873
- https://nvd.nist.gov/vuln/detail/CVE-2013-7345