What’s Vulnerable › Vulnerabilities

CVE-2013-7345

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

How to fix

Upgrade to a fixed version: Christos Zoulas File 5.15; PHP 5.4.27, 5.5.11. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2013-7345 or the next vulnerability affects your stack