openSUSE Security Update : php7 (openSUSE-2017-1061)

critical Nessus Plugin ID 103286

Language:

New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote openSUSE host is missing a security update.

Description

This update for php7 fixes several issues.

These security issues were fixed :

- CVE-2017-12932: Prevent heap use after free while unserializing untrusted data, related to improper use of the hash API for key deletion in a situation with an invalid array size. Exploitation of this issue could have had an unspecified impact on the integrity of PHP (bsc#1054432).

- CVE-2017-12934: Prevent heap use after free while unserializing untrusted data, related to the zval_get_type function in Zend/zend_types.h.
Exploitation of this issue could have had an unspecified impact on the integrity of PHP (bsc#1054408).

- CVE-2017-12933: The finish_nested_data function in ext/standard/var_unserializer.re was prone to a buffer over-read while unserializing untrusted data.
Exploitation of this issue could have had an unspecified impact on the integrity of PHP (bsc#1054430)

These non-security issues were fixed :

- bsc#1057104: php7-devel now requires php7-pear

- bsc#1057845: Fixed namespace encapsulation of imported classes/functions/constants

This update was imported from the SUSE:SLE-12:Update update project.

Solution

Update the affected php7 packages.

See Also

https://bugzilla.opensuse.org/show_bug.cgi?id=1054430

https://bugzilla.opensuse.org/show_bug.cgi?id=1054408

https://bugzilla.opensuse.org/show_bug.cgi?id=1054432

https://bugzilla.opensuse.org/show_bug.cgi?id=1057104

https://bugzilla.opensuse.org/show_bug.cgi?id=1057845

Plugin Details

Severity: Critical

ID: 103286

File Name: openSUSE-2017-1061.nasl

Version: 3.4

Type: local

Agent: unix

Published: 9/18/2017

Updated: 1/19/2021

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Vulnerability Information

CPE: cpe:2.3:o:novell:opensuse:42.2:*:*:*:*:*:*:*, cpe:2.3:o:novell:opensuse:42.3:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:apache2-mod_php7:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:apache2-mod_php7-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-bcmath:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-bcmath-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-bz2:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-bz2-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-calendar:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-calendar-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-ctype:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-ctype-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-curl:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-curl-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-dba:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-dba-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-debugsource:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-devel:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-dom:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-dom-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-enchant:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-enchant-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-exif:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-exif-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-fastcgi:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-fastcgi-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-fileinfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-fileinfo-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-firebird:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-firebird-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-fpm:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-fpm-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-ftp:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-ftp-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-gd:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-gd-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-gettext:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-gettext-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-gmp:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-gmp-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-iconv:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-iconv-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-imap:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-imap-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-intl:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-intl-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-json:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-json-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-ldap:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-ldap-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-mbstring:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-mbstring-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-mcrypt:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-mcrypt-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-mysql:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-mysql-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-odbc:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-odbc-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-opcache:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-opcache-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-openssl:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-openssl-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-pcntl:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-pcntl-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-pdo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-pdo-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-pear:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-pear-archive_tar:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-pgsql:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-pgsql-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-phar:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-phar-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-posix:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-posix-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-pspell:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-pspell-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-readline:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-readline-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-shmop:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-shmop-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-snmp:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-snmp-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-soap:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-soap-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-sockets:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-sockets-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-sqlite:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-sqlite-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-sysvmsg:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-sysvmsg-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-sysvsem:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-sysvsem-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-sysvshm:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-sysvshm-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-tidy:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-tidy-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-tokenizer:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-tokenizer-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-wddx:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-wddx-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-xmlreader:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-xmlreader-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-xmlrpc:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-xmlrpc-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-xmlwriter:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-xmlwriter-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-xsl:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-xsl-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-zip:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-zip-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-zlib:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:php7-zlib-debuginfo:*:*:*:*:*:*:*

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/SuSE/release, Host/SuSE/rpm-list

Patch Publication Date: 9/15/2017

Reference Information

CVE: CVE-2017-12933, CVE-2017-12932, CVE-2017-12934