| Package | Affected versions | Patched versions |
|---|---|---|
| file | < 5.15 | 5.15 |
| php | ≥ 5.4.0, < 5.4.27≥ 5.5.0, < 5.5.11 | 5.4.275.5.11 |
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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free