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
| Product | Affected versions | Fixed 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
- Debian Security Tracker CVE-2013-7345 vendor-advisory
- bugs.gw.com broken-link exploit issue-tracking patch third-party-advisory
- RHSA-2014:1765 third-party-advisory vendor-advisory
- support.apple.com third-party-advisory
- DSA-2873 third-party-advisory vendor-advisory
- bugs.debian.org issue-tracking third-party-advisory
- github.com exploit patch third-party-advisory
- bugs.debian.org issue-tracking