SUSE SLES12 Security Update : php74 (SUSE-SU-2022:2161-1)

high Nessus Plugin ID 162524

Language:

Synopsis

The remote SUSE host is missing one or more security updates.

Description

The remote SUSE Linux SLES12 / SLES_SAP12 host has packages installed that are affected by multiple vulnerabilities as referenced in the SUSE-SU-2022:2161-1 advisory.

- In PHP versions 7.4.x below 7.4.30, 8.0.x below 8.0.20, and 8.1.x below 8.1.7, when using Postgres database extension, supplying invalid parameters to the parametrized query may lead to PHP attempting to free memory using uninitialized data as pointers. This could lead to RCE vulnerability or denial of service. (CVE-2022-31625)

- In PHP versions 7.4.x below 7.4.30, 8.0.x below 8.0.20, and 8.1.x below 8.1.7, when pdo_mysql extension with mysqlnd driver, if the third party is allowed to supply host to connect to and the password for the connection, password of excessive length can trigger a buffer overflow in PHP, which can lead to a remote code execution vulnerability. (CVE-2022-31626)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://bugzilla.suse.com/1200628

https://bugzilla.suse.com/1200645

https://www.suse.com/security/cve/CVE-2022-31625

https://www.suse.com/security/cve/CVE-2022-31626

http://www.nessus.org/u?99a57fb0

Plugin Details

Severity: High

ID: 162524

File Name: suse_SU-2022-2161-1.nasl

Version: 1.7

Type: local

Agent: unix

Published: 6/24/2022

Updated: 7/13/2023

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

CVSS Score Source: CVE-2022-31625

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS Score Source: CVE-2022-31626

Vulnerability Information

CPE: p-cpe:/a:novell:suse_linux:php74-sysvshm, p-cpe:/a:novell:suse_linux:php74-xmlrpc, p-cpe:/a:novell:suse_linux:php74-zip, p-cpe:/a:novell:suse_linux:php74-devel, p-cpe:/a:novell:suse_linux:php74-fileinfo, p-cpe:/a:novell:suse_linux:php74-opcache, p-cpe:/a:novell:suse_linux:php74-dom, p-cpe:/a:novell:suse_linux:php74-ctype, p-cpe:/a:novell:suse_linux:php74-json, p-cpe:/a:novell:suse_linux:php74-gmp, p-cpe:/a:novell:suse_linux:php74-intl, p-cpe:/a:novell:suse_linux:php74-gettext, p-cpe:/a:novell:suse_linux:php74-sysvmsg, p-cpe:/a:novell:suse_linux:php74-calendar, p-cpe:/a:novell:suse_linux:php74-fastcgi, p-cpe:/a:novell:suse_linux:php74-bcmath, p-cpe:/a:novell:suse_linux:php74-snmp, p-cpe:/a:novell:suse_linux:php74-ldap, p-cpe:/a:novell:suse_linux:php74-readline, p-cpe:/a:novell:suse_linux:php74-tidy, p-cpe:/a:novell:suse_linux:php74-enchant, p-cpe:/a:novell:suse_linux:php74-sockets, p-cpe:/a:novell:suse_linux:php74-zlib, p-cpe:/a:novell:suse_linux:php74-mysql, p-cpe:/a:novell:suse_linux:php74-iconv, p-cpe:/a:novell:suse_linux:php74-pgsql, p-cpe:/a:novell:suse_linux:php74-odbc, p-cpe:/a:novell:suse_linux:php74-curl, p-cpe:/a:novell:suse_linux:php74-pcntl, p-cpe:/a:novell:suse_linux:php74-tokenizer, p-cpe:/a:novell:suse_linux:php74-sysvsem, p-cpe:/a:novell:suse_linux:php74-phar, p-cpe:/a:novell:suse_linux:php74-sodium, p-cpe:/a:novell:suse_linux:php74-gd, p-cpe:/a:novell:suse_linux:php74-openssl, p-cpe:/a:novell:suse_linux:php74-shmop, p-cpe:/a:novell:suse_linux:php74-sqlite, cpe:/o:novell:suse_linux:12, p-cpe:/a:novell:suse_linux:apache2-mod_php74, p-cpe:/a:novell:suse_linux:php74-exif, p-cpe:/a:novell:suse_linux:php74-xmlreader, p-cpe:/a:novell:suse_linux:php74-posix, p-cpe:/a:novell:suse_linux:php74-xsl, p-cpe:/a:novell:suse_linux:php74-pdo, p-cpe:/a:novell:suse_linux:php74-fpm, p-cpe:/a:novell:suse_linux:php74-xmlwriter, p-cpe:/a:novell:suse_linux:php74-mbstring, p-cpe:/a:novell:suse_linux:php74-bz2, p-cpe:/a:novell:suse_linux:php74, p-cpe:/a:novell:suse_linux:php74-soap, p-cpe:/a:novell:suse_linux:php74-ftp, p-cpe:/a:novell:suse_linux:php74-dba

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/23/2022

Vulnerability Publication Date: 6/16/2022

Reference Information

CVE: CVE-2022-31625, CVE-2022-31626

SuSE: SUSE-SU-2022:2161-1