CVE-2017-11362
php: Stack-based buffer over-read in msgfmt_parse_message function
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium), Ubuntu (low).
Description
In PHP 7.x before 7.0.21 and 7.1.x before 7.1.7, ext/intl/msgformat/msgformat_parse.c does not restrict the locale length, which allows remote attackers to cause a denial of service (stack-based buffer overflow and application crash) or possibly have unspecified other impact within International Components for Unicode (ICU) for C/C++ via a long first argument to the msgfmt_parse_message function.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| Red Hat | php, php-bcmath, php-cli and 25 more | no fix listed |
| ubuntu 14.04 | php5 | 5.5.9+dfsg-1ubuntu4.22 |
| ubuntu 14.04-ESM | php5 | 5.5.9+dfsg-1ubuntu4.22 |
| ubuntu 16.04 | php7.0 | 7.0.22-0ubuntu0.16.04.1 |
| ubuntu 16.04-ESM | php7.0 | 7.0.22-0ubuntu0.16.04.1 |
| ubuntu 17.04 | php7.0 | 7.0.22-0ubuntu0.17.04.1 |
| ubuntu 17.10 | php7.1 | 7.1.8-1ubuntu1 |
Show all 34 entries from 7 sources
| Source | Package | Fixed in |
|---|---|---|
| Red Hat | php | no fix listed |
| Red Hat | php-bcmath | no fix listed |
| Red Hat | php-cli | no fix listed |
| Red Hat | php-common | no fix listed |
| Red Hat | php-dba | no fix listed |
| Red Hat | php-devel | no fix listed |
| Red Hat | php-embedded | no fix listed |
| Red Hat | php-enchant | no fix listed |
| Red Hat | php-fpm | no fix listed |
| Red Hat | php-gd | no fix listed |
| Red Hat | php-imap | no fix listed |
| Red Hat | php-intl | no fix listed |
| Red Hat | php-ldap | no fix listed |
| Red Hat | php-mbstring | no fix listed |
| Red Hat | php-mysql | no fix listed |
| Red Hat | php-mysqlnd | no fix listed |
| Red Hat | php-odbc | no fix listed |
| Red Hat | php-pdo | no fix listed |
| Red Hat | php-pgsql | no fix listed |
| Red Hat | php-process | no fix listed |
| Red Hat | php-pspell | no fix listed |
| Red Hat | php-recode | no fix listed |
| Red Hat | php-snmp | no fix listed |
| Red Hat | php-soap | no fix listed |
| Red Hat | php-tidy | no fix listed |
| Red Hat | php-xml | no fix listed |
| Red Hat | php-xmlrpc | no fix listed |
| Red Hat | php-zts | no fix listed |
| ubuntu 14.04 | php5 | 5.5.9+dfsg-1ubuntu4.22 |
| ubuntu 14.04-ESM | php5 | 5.5.9+dfsg-1ubuntu4.22 |
| ubuntu 16.04 | php7.0 | 7.0.22-0ubuntu0.16.04.1 |
| ubuntu 16.04-ESM | php7.0 | 7.0.22-0ubuntu0.16.04.1 |
| ubuntu 17.04 | php7.0 | 7.0.22-0ubuntu0.17.04.1 |
| ubuntu 17.10 | php7.1 | 7.1.8-1ubuntu1 |
References
- https://access.redhat.com/errata/RHSA-2018:1296
- https://access.redhat.com/security/cve/CVE-2017-11362
- https://bugs.php.net/bug.php?id=73473
- https://nvd.nist.gov/vuln/detail/CVE-2017-11362
- https://security.gentoo.org/glsa/201709-21
- https://security.netapp.com/advisory/ntap-20180112-0001/
- https://ubuntu.com/security/notices/USN-3382-1
- https://ubuntu.com/security/notices/USN-3566-2