CVE-2013-7345
Summary
| CVE | CVE-2013-7345 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2014-03-24 16:31:08 UTC |
| Updated | 2026-05-06 22:30:45 UTC |
| 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. |
Risk And Classification
Primary CVSS: v2.0 5 from [email protected]
AV:N/AC:L/Au:N/C:N/I:N/A:P
Problem Types: NVD-CWE-noinfo | n/a
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
LowAuthentication
NoneConfidentiality
NoneIntegrity
NoneAvailability
PartialAV:N/AC:L/Au:N/C:N/I:N/A:P
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Christos Zoulas | File | All | All | All | All |
| Application | Php | Php | All | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Red Hat Customer Portal | af854a3a-2127-422b-91ae-364da2661108 | rhn.redhat.com | Third Party Advisory |
| limit to 100 repetitions to avoid excessive backtracking Carsten Wolff · file/file@ef2329c · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Exploit, Patch, Third Party Advisory |
| 0000164: awk BEGIN rule slows down parsing of ascii files significantly - bugs.gw.com | af854a3a-2127-422b-91ae-364da2661108 | bugs.gw.com | Broken Link, Exploit, Issue Tracking, Patch, Third Party Advisory |
| About the security content of OS X Mavericks v10.9.5 and Security Update 2014-004 - Apple Support | af854a3a-2127-422b-91ae-364da2661108 | support.apple.com | Third Party Advisory |
| Debian -- Security Information -- DSA-2873-1 file | af854a3a-2127-422b-91ae-364da2661108 | www.debian.org | Third Party Advisory |
| #703993 - file: possible DoS in awk magic - Debian Bug report logs | af854a3a-2127-422b-91ae-364da2661108 | bugs.debian.org | Issue Tracking, Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.