PHP 8.1.x < 8.1.8 Heap Overflow

critical Web App Scanning Plugin ID 113308

Synopsis

PHP 8.1.x < 8.1.8 Heap Overflow

Description

According to its self-reported version number, the version of PHP installed on the remote host is 8.1.x prior to 8.1.8. It is, therefore, affected by a heap buffer overflow vulnerability in finfo_buffer.

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

Solution

Upgrade to PHP version 8.1.8 or later.

See Also

https://www.php.net/ChangeLog-8.php#8.1.8

Plugin Details

Severity: Critical

ID: 113308

Type: remote

Published: 7/11/2022

Updated: 3/14/2023

Scan Template: api, basic, full, pci, scan

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

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

CVSS Score Source: CVE-2022-31627

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

CVSS Score Source: CVE-2022-31627

Vulnerability Information

CPE: cpe:2.3:a:php:php:*:*:*:*:*:*:*:*

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/7/2022

Vulnerability Publication Date: 7/7/2022

Reference Information

CVE: CVE-2022-31627