openEuler update for php



| Updated: 2024-07-26
Risk High
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2022-31626
CVE-2022-31625
CWE-ID CWE-119
CWE-908
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
openEuler
Operating systems & Components / Operating system

php-devel
Operating systems & Components / Operating system package or component

php-mysqlnd
Operating systems & Components / Operating system package or component

php-gmp
Operating systems & Components / Operating system package or component

php-embedded
Operating systems & Components / Operating system package or component

php-debuginfo
Operating systems & Components / Operating system package or component

php-dba
Operating systems & Components / Operating system package or component

php-intl
Operating systems & Components / Operating system package or component

php-dbg
Operating systems & Components / Operating system package or component

php-mbstring
Operating systems & Components / Operating system package or component

php-xmlrpc
Operating systems & Components / Operating system package or component

php-bcmath
Operating systems & Components / Operating system package or component

php-pdo
Operating systems & Components / Operating system package or component

php-tidy
Operating systems & Components / Operating system package or component

php-enchant
Operating systems & Components / Operating system package or component

php-odbc
Operating systems & Components / Operating system package or component

php-fpm
Operating systems & Components / Operating system package or component

php-snmp
Operating systems & Components / Operating system package or component

php-soap
Operating systems & Components / Operating system package or component

php-pgsql
Operating systems & Components / Operating system package or component

php-xml
Operating systems & Components / Operating system package or component

php-cli
Operating systems & Components / Operating system package or component

php-help
Operating systems & Components / Operating system package or component

php-opcache
Operating systems & Components / Operating system package or component

php-process
Operating systems & Components / Operating system package or component

php-recode
Operating systems & Components / Operating system package or component

php-ldap
Operating systems & Components / Operating system package or component

php-common
Operating systems & Components / Operating system package or component

php-json
Operating systems & Components / Operating system package or component

php-debugsource
Operating systems & Components / Operating system package or component

php-gd
Operating systems & Components / Operating system package or component

php
Operating systems & Components / Operating system package or component

Vendor openEuler

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Buffer overflow

EUVDB-ID: #VU64231

Risk: High

CVSSv4.0: 8.2 [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:P/U:Amber]

CVE-ID: CVE-2022-31626

CWE-ID: CWE-119 - Memory corruption

Exploit availability: Yes

Description

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

The vulnerability exists due to a boundary error when processing password in mysqlnd/pdo in mysqlnd_wireprotocol.c. A remote attacker with ability to control password that is passed via PDO to MySQL server can trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

openEuler: 20.03 LTS SP1 - 22.03 LTS

php-devel: before 7.2.10-20

php-mysqlnd: before 7.2.10-20

php-gmp: before 7.2.10-20

php-embedded: before 7.2.10-20

php-debuginfo: before 7.2.10-20

php-dba: before 7.2.10-20

php-intl: before 7.2.10-20

php-dbg: before 7.2.10-20

php-mbstring: before 7.2.10-20

php-xmlrpc: before 7.2.10-20

php-bcmath: before 7.2.10-20

php-pdo: before 7.2.10-20

php-tidy: before 7.2.10-20

php-enchant: before 7.2.10-20

php-odbc: before 7.2.10-20

php-fpm: before 7.2.10-20

php-snmp: before 7.2.10-20

php-soap: before 7.2.10-20

php-pgsql: before 7.2.10-20

php-xml: before 7.2.10-20

php-cli: before 7.2.10-20

php-help: before 7.2.10-20

php-opcache: before 7.2.10-20

php-process: before 7.2.10-20

php-recode: before 7.2.10-20

php-ldap: before 7.2.10-20

php-common: before 7.2.10-20

php-json: before 7.2.10-20

php-debugsource: before 7.2.10-20

php-gd: before 7.2.10-20

php: before 7.2.10-20

CPE2.3 External links

https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2022-1721


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.

2) Use of uninitialized resource

EUVDB-ID: #VU64232

Risk: High

CVSSv4.0: 7.2 [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 - Use of Uninitialized Resource

Exploit availability: No

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.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

openEuler: 20.03 LTS SP1 - 22.03 LTS

php-devel: before 7.2.10-20

php-mysqlnd: before 7.2.10-20

php-gmp: before 7.2.10-20

php-embedded: before 7.2.10-20

php-debuginfo: before 7.2.10-20

php-dba: before 7.2.10-20

php-intl: before 7.2.10-20

php-dbg: before 7.2.10-20

php-mbstring: before 7.2.10-20

php-xmlrpc: before 7.2.10-20

php-bcmath: before 7.2.10-20

php-pdo: before 7.2.10-20

php-tidy: before 7.2.10-20

php-enchant: before 7.2.10-20

php-odbc: before 7.2.10-20

php-fpm: before 7.2.10-20

php-snmp: before 7.2.10-20

php-soap: before 7.2.10-20

php-pgsql: before 7.2.10-20

php-xml: before 7.2.10-20

php-cli: before 7.2.10-20

php-help: before 7.2.10-20

php-opcache: before 7.2.10-20

php-process: before 7.2.10-20

php-recode: before 7.2.10-20

php-ldap: before 7.2.10-20

php-common: before 7.2.10-20

php-json: before 7.2.10-20

php-debugsource: before 7.2.10-20

php-gd: before 7.2.10-20

php: before 7.2.10-20

CPE2.3 External links

https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2022-1721


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###