CVE-2013-7345
Fixed in a distro release EPSS 3%
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.
Products: christos_zoulas file, php, debian_linux
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 12 | file | 1:5.17-0.1 |
| Debian 13 | file | 1:5.17-0.1 |
| Debian 14 | file | 1:5.17-0.1 |
| Debian 6.0 | file | 5.04-5+squeeze4 |
| Debian 7 | file | 5.11-2+deb7u2 |
| Debian 7 | php5 | 5.4.34-0+deb7u1 |
| Red Hat Enterprise Linux 7 | php | 0:5.4.16-23.el7_0 |
| Red Hat Enterprise Linux 7 | php-bcmath | 0:5.4.16-23.el7_0 |
| Red Hat Enterprise Linux 7 | php-cli | 0:5.4.16-23.el7_0 |
| Red Hat Enterprise Linux 7 | php-common | 0:5.4.16-23.el7_0 |
| Red Hat Enterprise Linux 7 | php-dba | 0:5.4.16-23.el7_0 |
| Red Hat Enterprise Linux 7 | php-debuginfo | 0:5.4.16-23.el7_0 |
| Red Hat Enterprise Linux 7 | php-devel | 0:5.4.16-23.el7_0 |
| Red Hat Enterprise Linux 7 | php-embedded | 0:5.4.16-23.el7_0 |
| Red Hat Enterprise Linux 7 | php-enchant | 0:5.4.16-23.el7_0 |
| Red Hat Enterprise Linux 7 | php-fpm | 0:5.4.16-23.el7_0 |
| Red Hat Enterprise Linux 7 | php-gd | 0:5.4.16-23.el7_0 |
| Red Hat Enterprise Linux 7 | php-intl | 0:5.4.16-23.el7_0 |
| Red Hat Enterprise Linux 7 | php-ldap | 0:5.4.16-23.el7_0 |
| Red Hat Enterprise Linux 7 | php-mbstring | 0:5.4.16-23.el7_0 |
| Red Hat Enterprise Linux 7 | php-mysql | 0:5.4.16-23.el7_0 |
| Red Hat Enterprise Linux 7 | php-mysqlnd | 0:5.4.16-23.el7_0 |
| Red Hat Enterprise Linux 7 | php-odbc | 0:5.4.16-23.el7_0 |
| Red Hat Enterprise Linux 7 | php-pdo | 0:5.4.16-23.el7_0 |
| Red Hat Enterprise Linux 7 | php-pgsql | 0:5.4.16-23.el7_0 |
| Red Hat Enterprise Linux 7 | php-process | 0:5.4.16-23.el7_0 |
| Red Hat Enterprise Linux 7 | php-pspell | 0:5.4.16-23.el7_0 |
| Red Hat Enterprise Linux 7 | php-recode | 0:5.4.16-23.el7_0 |
| Red Hat Enterprise Linux 7 | php-snmp | 0:5.4.16-23.el7_0 |
| Red Hat Enterprise Linux 7 | php-soap | 0:5.4.16-23.el7_0 |
| Red Hat Enterprise Linux 7 | php-xml | 0:5.4.16-23.el7_0 |
| Red Hat Enterprise Linux 7 | php-xmlrpc | 0:5.4.16-23.el7_0 |
| Red Hat rhel software collections 1 | php54-php | 0:5.4.16-22.el7 |
| Red Hat rhel software collections 1 | php54-php | 0:5.4.16-22.el6 |
| Red Hat rhel software collections 1 | php54-php-bcmath | 0:5.4.16-22.el6 |
| Red Hat rhel software collections 1 | php54-php-bcmath | 0:5.4.16-22.el7 |
| Red Hat rhel software collections 1 | php54-php-cli | 0:5.4.16-22.el7 |
| Red Hat rhel software collections 1 | php54-php-cli | 0:5.4.16-22.el6 |
| Red Hat rhel software collections 1 | php54-php-common | 0:5.4.16-22.el6 |
| Red Hat rhel software collections 1 | php54-php-common | 0:5.4.16-22.el7 |
| Red Hat rhel software collections 1 | php54-php-dba | 0:5.4.16-22.el7 |
| Red Hat rhel software collections 1 | php54-php-dba | 0:5.4.16-22.el6 |
| Red Hat rhel software collections 1 | php54-php-debuginfo | 0:5.4.16-22.el6 |
| Red Hat rhel software collections 1 | php54-php-debuginfo | 0:5.4.16-22.el7 |
| Red Hat rhel software collections 1 | php54-php-devel | 0:5.4.16-22.el6 |
| Red Hat rhel software collections 1 | php54-php-devel | 0:5.4.16-22.el7 |
| Red Hat rhel software collections 1 | php54-php-enchant | 0:5.4.16-22.el6 |
| Red Hat rhel software collections 1 | php54-php-enchant | 0:5.4.16-22.el7 |
| Red Hat rhel software collections 1 | php54-php-fpm | 0:5.4.16-22.el6 |
| Red Hat rhel software collections 1 | php54-php-fpm | 0:5.4.16-22.el7 |
| Red Hat rhel software collections 1 | php54-php-gd | 0:5.4.16-22.el6 |
| Red Hat rhel software collections 1 | php54-php-gd | 0:5.4.16-22.el7 |
| Red Hat rhel software collections 1 | php54-php-imap | 0:5.4.16-22.el6 |
| Red Hat rhel software collections 1 | php54-php-intl | 0:5.4.16-22.el7 |
| Red Hat rhel software collections 1 | php54-php-intl | 0:5.4.16-22.el6 |
| Red Hat rhel software collections 1 | php54-php-ldap | 0:5.4.16-22.el7 |
| Red Hat rhel software collections 1 | php54-php-ldap | 0:5.4.16-22.el6 |
| Red Hat rhel software collections 1 | php54-php-mbstring | 0:5.4.16-22.el7 |
| Red Hat rhel software collections 1 | php54-php-mbstring | 0:5.4.16-22.el6 |
| Red Hat rhel software collections 1 | php54-php-mysqlnd | 0:5.4.16-22.el6 |
| Red Hat rhel software collections 1 | php54-php-mysqlnd | 0:5.4.16-22.el7 |
| Red Hat rhel software collections 1 | php54-php-odbc | 0:5.4.16-22.el7 |
| Red Hat rhel software collections 1 | php54-php-odbc | 0:5.4.16-22.el6 |
| Red Hat rhel software collections 1 | php54-php-pdo | 0:5.4.16-22.el7 |
| Red Hat rhel software collections 1 | php54-php-pdo | 0:5.4.16-22.el6 |
| Red Hat rhel software collections 1 | php54-php-pgsql | 0:5.4.16-22.el6 |
| Red Hat rhel software collections 1 | php54-php-pgsql | 0:5.4.16-22.el7 |
| Red Hat rhel software collections 1 | php54-php-process | 0:5.4.16-22.el7 |
| Red Hat rhel software collections 1 | php54-php-process | 0:5.4.16-22.el6 |
| Red Hat rhel software collections 1 | php54-php-pspell | 0:5.4.16-22.el7 |
| Red Hat rhel software collections 1 | php54-php-pspell | 0:5.4.16-22.el6 |
| Red Hat rhel software collections 1 | php54-php-recode | 0:5.4.16-22.el6 |
| Red Hat rhel software collections 1 | php54-php-recode | 0:5.4.16-22.el7 |
| Red Hat rhel software collections 1 | php54-php-snmp | 0:5.4.16-22.el6 |
| Red Hat rhel software collections 1 | php54-php-snmp | 0:5.4.16-22.el7 |
| Red Hat rhel software collections 1 | php54-php-soap | 0:5.4.16-22.el6 |
| Red Hat rhel software collections 1 | php54-php-soap | 0:5.4.16-22.el7 |
| Red Hat rhel software collections 1 | php54-php-tidy | 0:5.4.16-22.el6 |
| Red Hat rhel software collections 1 | php54-php-xml | 0:5.4.16-22.el6 |
| Red Hat rhel software collections 1 | php54-php-xml | 0:5.4.16-22.el7 |
| Red Hat rhel software collections 1 | php54-php-xmlrpc | 0:5.4.16-22.el6 |
| Red Hat rhel software collections 1 | php54-php-xmlrpc | 0:5.4.16-22.el7 |
| Ubuntu 14.04 LTS | file | 1:5.14-2ubuntu3.1 |
| openSUSE Tumbleweed | php5 | 5.6.28-1.1 |
| openSUSE Tumbleweed | php7 | 7.0.14-1.4 |
| openSUSE Tumbleweed | php8 | 8.0.11-1.1 |