CentOS 8 : php:8.0 (CESA-2022:7624)

critical Nessus Plugin ID 167147

Synopsis

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

Description

The remote CentOS Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the CESA-2022:7624 advisory.

- php: Use after free due to php_filter_float() failing for ints (CVE-2021-21708)

- php: Uninitialized array in pg_query_params() leading to RCE (CVE-2022-31625)

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://access.redhat.com/errata/RHSA-2022:7624

Plugin Details

Severity: Critical

ID: 167147

File Name: centos8_RHSA-2022-7624.nasl

Version: 1.4

Type: local

Agent: unix

Published: 11/9/2022

Updated: 10/5/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.6

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

CVSS Score Source: CVE-2022-31625

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.1

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

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

CVSS Score Source: CVE-2021-21708

Vulnerability Information

CPE: p-cpe:/a:centos:centos:php-pecl-rrd, p-cpe:/a:centos:centos:php-ldap, p-cpe:/a:centos:centos:php-opcache, p-cpe:/a:centos:centos:php-bcmath, p-cpe:/a:centos:centos:php-pear, p-cpe:/a:centos:centos:php-soap, p-cpe:/a:centos:centos:php-pecl-xdebug3, p-cpe:/a:centos:centos:php-pecl-apcu, cpe:/o:centos:centos:8-stream, p-cpe:/a:centos:centos:php-dba, p-cpe:/a:centos:centos:php-gd, p-cpe:/a:centos:centos:libzip, p-cpe:/a:centos:centos:php-embedded, p-cpe:/a:centos:centos:php-xml, p-cpe:/a:centos:centos:php-dbg, p-cpe:/a:centos:centos:php-devel, p-cpe:/a:centos:centos:php-pgsql, p-cpe:/a:centos:centos:php-pecl-apcu-devel, p-cpe:/a:centos:centos:libzip-devel, p-cpe:/a:centos:centos:php-snmp, p-cpe:/a:centos:centos:php-pecl-zip, p-cpe:/a:centos:centos:libzip-tools, p-cpe:/a:centos:centos:php-mbstring, p-cpe:/a:centos:centos:php, p-cpe:/a:centos:centos:php-odbc, p-cpe:/a:centos:centos:php-pdo, p-cpe:/a:centos:centos:php-ffi, p-cpe:/a:centos:centos:php-cli, p-cpe:/a:centos:centos:php-process, p-cpe:/a:centos:centos:php-intl, p-cpe:/a:centos:centos:php-gmp, p-cpe:/a:centos:centos:php-mysqlnd, p-cpe:/a:centos:centos:php-fpm, p-cpe:/a:centos:centos:php-common, p-cpe:/a:centos:centos:php-enchant, p-cpe:/a:centos:centos:apcu-panel

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/8/2022

Vulnerability Publication Date: 2/27/2022

Reference Information

CVE: CVE-2021-21708, CVE-2022-31625

RHSA: 2022:7624