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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 1:5.17-0.1 |
| debian | bullseye | fixed | 1:5.17-0.1 |
| debian | forky | fixed | 1:5.17-0.1 |
| debian | sid | fixed | 1:5.17-0.1 |
| debian | trixie | fixed | 1:5.17-0.1 |
| debian | 6.0 | affected | |
| debian | 7.0 | affected | |
| debian | 8.0 | affected | |
References
- http://bugs.gw.com/view.php?id=164
- http://rhn.redhat.com/errata/RHSA-2014-1765.html
- http://support.apple.com/kb/HT6443
- http://www.debian.org/security/2014/dsa-2873
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703993
- https://github.com/file/file/commit/ef2329cf71acb59204dd981e2c6cce6c81fe467c
- https://security-tracker.debian.org/tracker/CVE-2013-7345
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.