CVE-2013-7345 — Inefficient Algorithmic Complexity in Zoulas File
Severity
5.0MEDIUMNVD
EPSS
3.2%
top 13.03%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedMar 24
Latest updateMay 17
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.
CVSS vector
AV:N/AC:L/C:N/I:N/A:PExploitability: 10.0 | Impact: 2.9
Affected Packages4 packages
Also affects: Debian Linux 6.0, 7.0, 8.0
Patches
🔴Vulnerability Details
6📋Vendor Advisories
5Debian▶
CVE-2013-7345: file - The BEGIN regular expression in the awk script detector in magic/Magdir/commands...↗2013
💬Community
6Bugzilla▶
CVE-2014-0235 file: extensive backtracking in awk rule regular expression (incomplete fix for CVE-2013-7345) [fedora-all]↗2014-06-30
Bugzilla▶
CVE-2014-0235 php: file: extensive backtracking in awk rule regular expression (incomplete fix for CVE-2013-7345) [fedora-all]↗2014-06-30
Bugzilla▶
CVE-2013-7345 file: denial of service (CPU consumption) when processing certain files [fedora-all]↗2014-03-24