Risk | Low |
Patch available | YES |
Number of vulnerabilities | 1 |
CVE-ID | CVE-2021-21703 |
CWE-ID | CWE-787 |
Exploitation vector | Local |
Public exploit | Public exploit code for vulnerability #1 is available. |
Vulnerable software |
openEuler Operating systems & Components / Operating system php-xml Operating systems & Components / Operating system package or component php-mbstring Operating systems & Components / Operating system package or component php-devel Operating systems & Components / Operating system package or component php-json Operating systems & Components / Operating system package or component php-debuginfo Operating systems & Components / Operating system package or component php-enchant Operating systems & Components / Operating system package or component php-opcache Operating systems & Components / Operating system package or component php-fpm Operating systems & Components / Operating system package or component php-mysqlnd Operating systems & Components / Operating system package or component php-debugsource Operating systems & Components / Operating system package or component php-tidy Operating systems & Components / Operating system package or component php-pgsql Operating systems & Components / Operating system package or component php-dbg Operating systems & Components / Operating system package or component php-gd Operating systems & Components / Operating system package or component php-cli Operating systems & Components / Operating system package or component php-process Operating systems & Components / Operating system package or component php-intl Operating systems & Components / Operating system package or component php-recode Operating systems & Components / Operating system package or component php-soap Operating systems & Components / Operating system package or component php-odbc Operating systems & Components / Operating system package or component php-embedded Operating systems & Components / Operating system package or component php-ldap Operating systems & Components / Operating system package or component php-help Operating systems & Components / Operating system package or component php-snmp Operating systems & Components / Operating system package or component php-common Operating systems & Components / Operating system package or component php-bcmath Operating systems & Components / Operating system package or component php-gmp Operating systems & Components / Operating system package or component php-pdo Operating systems & Components / Operating system package or component php-dba Operating systems & Components / Operating system package or component php-xmlrpc 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 one low risk vulnerability.
EUVDB-ID: #VU57656
Risk: Low
CVSSv4.0: 7.1 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Clear]
CVE-ID: CVE-2021-21703
CWE-ID:
CWE-787 - Out-of-bounds write
Exploit availability: No
DescriptionThe vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists in the way PHP handles shared memory access, when using PHP FPM SAPI with main FPM daemon process running as root and child worker processes running as lower-privileged users. A child process can access shared memory with the main process and write to it. As a result, it is possible to cause the root process to conduct invalid memory reads and writes with root privileges. A local user can trigger an out-of-bounds write error and execute arbitrary code on the system with root privileges.
Install updates from vendor's repository.
Vulnerable software versionsopenEuler: 20.03 LTS SP1 - 20.03 LTS SP2
php-xml: before 7.2.10-16
php-mbstring: before 7.2.10-16
php-devel: before 7.2.10-16
php-json: before 7.2.10-16
php-debuginfo: before 7.2.10-16
php-enchant: before 7.2.10-16
php-opcache: before 7.2.10-16
php-fpm: before 7.2.10-16
php-mysqlnd: before 7.2.10-16
php-debugsource: before 7.2.10-16
php-tidy: before 7.2.10-16
php-pgsql: before 7.2.10-16
php-dbg: before 7.2.10-16
php-gd: before 7.2.10-16
php-cli: before 7.2.10-16
php-process: before 7.2.10-16
php-intl: before 7.2.10-16
php-recode: before 7.2.10-16
php-soap: before 7.2.10-16
php-odbc: before 7.2.10-16
php-embedded: before 7.2.10-16
php-ldap: before 7.2.10-16
php-help: before 7.2.10-16
php-snmp: before 7.2.10-16
php-common: before 7.2.10-16
php-bcmath: before 7.2.10-16
php-gmp: before 7.2.10-16
php-pdo: before 7.2.10-16
php-dba: before 7.2.10-16
php-xmlrpc: before 7.2.10-16
php: before 7.2.10-16
CPE2.3https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2021-1430
Q & A
Can this vulnerability be exploited remotely?
No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.
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.