Access Restriction Bypass Affecting file package, versions <1:5.17-0.1
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIAN9-FILE-300914
- published 24 Mar 2014
- disclosed 24 Mar 2014
Introduced: 24 Mar 2014
CVE-2013-7345 Open this link in a new tabHow to fix?
Upgrade Debian:9
file
to version 1:5.17-0.1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream file
package and not the file
package as distributed by Debian
.
See How to fix?
for Debian:9
relevant fixed versions and status.
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.
References
- https://security-tracker.debian.org/tracker/CVE-2013-7345
- http://support.apple.com/kb/HT6443
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703993
- http://www.debian.org/security/2014/dsa-2873
- https://github.com/file/file/commit/ef2329cf71acb59204dd981e2c6cce6c81fe467c
- http://bugs.gw.com/view.php?id=164
- http://rhn.redhat.com/errata/RHSA-2014-1765.html
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2013-7345