ArchLinux: 201504-14: php: multiple issues
Summary
- CVE-2015-1351 (denial of service)
Use-after-free vulnerability in the _zend_shared_memdup function in
zend_shared_alloc.c in the OPcache extension allows remote attackers to
cause a denial of service or possibly have unspecified other impact via
unknown vectors.
- CVE-2015-1352 (denial of service)
The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql)
extension does not validate token extraction for table names, which
allows remote attackers to cause a denial of service (NULL pointer
dereference and application crash) via a crafted name.
- CVE-2015-2783 (out-of-bounds read)
The vulnerability can be triggered when parsing a PHAR file at
phar.c:623. The "buf_len" is obtained from the phar file and passed into
php_var_unserialize() as the max argument. Under normal
php_var_unserialize() circumstances, YYCURSOR will always be <= max.
This however can be bypassed when processing a malform phar with a
buf_len that is shorter then the string to be unserialized resulting in
a memory info leak.
Resolution
Upgrade to 5.6.8-1.
# pacman -Syu "php>=5.6.8-1"
The problems have been fixed upstream in version 5.6.8.
References
https://www.php.net/ChangeLog-5.php https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-1351 https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-1352 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-2783 https://bugs.php.net/bug.php?id=68677 https://bugs.php.net/bug.php?id=68741 https://bugs.php.net/bug.php?id=69324
Workaround
None.