Access Restriction Bypass Affecting file-libs package, versions <0:5.11-13.16.amzn1
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-AMZN201803-FILELIBS-1673359
- published 27 Sep 2021
- disclosed 24 Mar 2014
Introduced: 24 Mar 2014
CVE-2013-7345 Open this link in a new tabHow to fix?
Upgrade Amazon-Linux:2018.03
file-libs
to version 0:5.11-13.16.amzn1 or higher.
This issue was patched in ALAS-2014-323
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream file-libs
package and not the file-libs
package as distributed by Amazon-Linux
.
See How to fix?
for Amazon-Linux:2018.03
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
- http://bugs.gw.com/view.php?id=164
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703993
- https://github.com/file/file/commit/ef2329cf71acb59204dd981e2c6cce6c81fe467c
- http://support.apple.com/kb/HT6443
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-7345
- http://www.debian.org/security/2014/dsa-2873
- http://rhn.redhat.com/errata/RHSA-2014-1765.html