Fedora 37 : php (2023-5732365005)

medium Nessus Plugin ID 194718

Language:

Synopsis

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

Description

The remote Fedora 37 host has a package installed that is affected by multiple vulnerabilities as referenced in the FEDORA-2023-5732365005 advisory.

**PHP version 8.1.14** (05 Jan 2023)

**Core:**

* Fixed bug [GH-9905](https://github.com/php/php-src/issues/9905) (constant() behaves inconsistent when class is undefined). (cmb)
* Fixed bug [GH-9918](https://github.com/php/php-src/issues/9918) (License information for xxHash is not included in README.REDIST.BINS file). (Akama Hitoshi)
* Fixed bug [GH-9650](https://github.com/php/php-src/issues/9650) (Can't initialize heap: [0x000001e7]).
(Michael Voek)
* Fixed potentially undefined behavior in Windows ftok(3) emulation. (cmb)

**Date:**

* Fixed bug [GH-9699](https://github.com/php/php-src/issues/9699) (DateTimeImmutable::diff differences in 8.1.10 onwards - timezone related). (Derick)
* Fixed bug [GH-9700](https://github.com/php/php-src/issues/9700) (DateTime::createFromFormat: Parsing TZID string is too greedy). (Derick)
* Fixed bug [GH-9866](https://github.com/php/php-src/issues/9866) (Time zone bug with \DateTimeInterface::diff()). (Derick)
* Fixed bug [GH-9880](https://github.com/php/php-src/issues/9880) (DateTime diff returns wrong sign on day count when using a timezone). (Derick)

**FPM:**

* Fixed bug [GH-9959](https://github.com/php/php-src/issues/9959) (Solaris port event mechanism is still broken after bug php#66694). (Petr Sumbera)
* Fixed bug php#68207 (Setting fastcgi.error_header can result in a WARNING). (Jakub Zelenka)
* Fixed bug [GH-8517](https://github.com/php/php-src/issues/8517) (Random crash of FPM master process in fpm_stdio_child_said). (Jakub Zelenka)

**MBString:**

* Fixed bug [GH-9535](https://github.com/php/php-src/issues/9535) (The behavior of mb_strcut in mbstring has been changed in PHP8.1). (Nathan Freeman)

**Opcache:**

* Fixed bug [GH-9968](https://github.com/php/php-src/issues/9968) (Segmentation Fault during OPCache Preload). (Arnaud, michdingpayc)

**OpenSSL:**

* Fixed bug [GH-9064](https://github.com/php/php-src/issues/9064) (PHP fails to build if openssl was built with --no-ec). (Jakub Zelenka)
* Fixed bug [GH-10000](https://github.com/php/php-src/issues/10000) (OpenSSL test failures when OpenSSL compiled with no-dsa). (Jakub Zelenka)

**Pcntl:**

* Fixed bug [GH-9298](https://github.com/php/php-src/issues/9298) (Signal handler called after rshutdown leads to crash). (Erki Aring)

**PDO_Firebird:**

* Fixed bug [GH-9971](https://github.com/php/php-src/issues/9971) (Incorrect NUMERIC value returned from PDO_Firebird). (cmb)

**PDO/SQLite:**

* Fixed bug php#81740 (PDO::quote() may return unquoted string). (**CVE-2022-31631**) (cmb)

**Session:**

* Fixed [GH-9932](https://github.com/php/php-src/issues/9932) (session name silently fails with . and [).
(David Carlier)

**SPL:**

* Fixed [GH-9883](https://github.com/php/php-src/issues/9883) (SplFileObject::__toString() reads next line). (Girgias)
* Fixed [GH-10011](https://github.com/php/php-src/issues/10011) (Trampoline autoloader will get reregistered and cannot be unregistered). (Girgias)

**SQLite3:**

* Fixed bug php#81742 (open_basedir bypass in SQLite3 by using file URI). (cmb)


Tenable has extracted the preceding description block directly from the Fedora security advisory.

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 php package.

See Also

https://bodhi.fedoraproject.org/updates/FEDORA-2023-5732365005

Plugin Details

Severity: Medium

ID: 194718

File Name: fedora_2023-5732365005.nasl

Version: 1.1

Type: local

Agent: unix

Published: 4/29/2024

Updated: 11/14/2024

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

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5.9

Temporal Score: 4.4

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

CVSS Score Source: CVE-2022-31631

CVSS v3

Risk Factor: Medium

Base Score: 5.9

Temporal Score: 5.2

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

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

Vulnerability Information

CPE: p-cpe:/a:fedoraproject:fedora:php, cpe:/o:fedoraproject:fedora:37

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

Exploit Ease: No known exploits are available

Patch Publication Date: 1/4/2023

Vulnerability Publication Date: 1/4/2023

Reference Information

CVE: CVE-2022-31631

FEDORA: 2023-5732365005

IAVA: 2023-A-0016-S