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.
References
Link Resource
http://bugs.gw.com/view.php?id=164 Broken Link Exploit Issue Tracking Patch Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2014-1765.html Third Party Advisory
http://support.apple.com/kb/HT6443 Third Party Advisory
http://www.debian.org/security/2014/dsa-2873 Third Party Advisory
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703993 Issue Tracking Third Party Advisory
https://github.com/file/file/commit/ef2329cf71acb59204dd981e2c6cce6c81fe467c Exploit Patch Third Party Advisory
History

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: mitre

Published: 2014-03-23T15:00:00

Updated: 2014-11-13T13:57:01

Reserved: 2014-03-23T00:00:00


Link: CVE-2013-7345

JSON object: View

cve-icon NVD Information

Status : Analyzed

Published: 2014-03-24T16:31:08.167

Modified: 2022-10-31T14:56:14.563


Link: CVE-2013-7345

JSON object: View

cve-icon Redhat Information

No data.