Skip to content

CVE-2013-7345 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 cau...

MediumCVSS 5.0 EPSS 3.0%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
debian/file(Debian:12) < 1:5.17-0.1 1:5.17-0.1
debian/file(Debian:13) < 1:5.17-0.1 1:5.17-0.1
debian/file(Debian:14) < 1:5.17-0.1 1:5.17-0.1
christos zoulas file < 5.15 5.15
PHP >= 5.4.0, < 5.4.27 5.4.27
PHP >= 5.5.0, < 5.5.11 5.5.11
debian linux = 6.0 No fix listed
debian linux = 7.0 No fix listed
debian linux = 8.0 No fix listed

References