CVE-2013-7345

file: extensive backtracking in awk rule regular expression

Published Mar 23, 2014 CVSS 2.0 · 5.0 Medium EPSS 3.0% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-67-1 php5 security update
Debian DSA Debian DSA DSA-3008-1 php5 security update
Debian DSA Debian DSA DSA-3008-2 php5 regression update
EUVD EUVD EUVD-2013-7117 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.
Ubuntu USN Ubuntu USN USN-2278-1 file vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 6, 2024, 6:01 PM
Reserved
Mar 23, 2014, 12:00 AM
Status
Modified
Published
Mar 24, 2014, 4:31 PM
Modified
Jun 17, 2026, 12:01 AM
Severity
Moderate
Public date
Dec 31, 2011, 12:00 AM