CVE-2013-7345
Last modified
CVE-2013-7345 is a vulnerability of currently unknown severity. 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 estimates a 2.98% chance of exploitation in the next 30 days.
Description
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.
Metrics
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Christos Zoulas | File | < 5.15 |
| Php | Php | >= 5.4.0, < 5.4.27 |
| Php | Php | >= 5.5.0, < 5.5.11 |
| Debian | Debian Linux | 6.0 |
| Debian | Debian Linux | 7.0 |
| Debian | Debian Linux | 8.0 |
References
- http://bugs.gw.com/view.php?id=164Broken Link, Exploit, Issue Tracking, Patch, Third Party Advisory
- http://rhn.redhat.com/errata/RHSA-2014-1765.htmlThird Party Advisory
- http://support.apple.com/kb/HT6443Third Party Advisory
- http://www.debian.org/security/2014/dsa-2873Third Party Advisory
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703993Issue Tracking, Third Party Advisory
- https://github.com/file/file/commit/ef2329cf71acb59204dd981e2c6cce6c81fe467cExploit, Patch, Third Party Advisory
- http://bugs.gw.com/view.php?id=164Broken Link, Exploit, Issue Tracking, Patch, Third Party Advisory
- http://rhn.redhat.com/errata/RHSA-2014-1765.htmlThird Party Advisory
- http://support.apple.com/kb/HT6443Third Party Advisory
- http://www.debian.org/security/2014/dsa-2873Third Party Advisory
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703993Issue Tracking, Third Party Advisory
- https://github.com/file/file/commit/ef2329cf71acb59204dd981e2c6cce6c81fe467cExploit, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2013-7345?
How severe is CVE-2013-7345?
How do I fix CVE-2013-7345?
Are you affected by CVE-2013-7345?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
