#VU64232 Use of uninitialized resource in PHP - CVE-2022-31625

 

#VU64232 Use of uninitialized resource in PHP - CVE-2022-31625

Published: June 14, 2022 / Updated: October 27, 2023


Vulnerability identifier: #VU64232
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2022-31625
CWE-ID: CWE-908
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
PHP
Software vendor:
PHP Group

Description

The vulnerability allows a remote attacker to execute arbitrary code on the system.

The vulnerability exists due to usage of uninitialized array in the pg_query_params() function. A remote attacker with ability to control query parameters can trigger memory corruption and execute arbitrary code on the system.


Remediation

Install updates from vendor's website.

External links