Vulnerability · Published Nov 2, 2023 · Assigned by redhat

CVE-2022-4900Potential buffer overflow in php_cli_server_startup_workers

Medium 6.2

In plain English

A medium-severity memory corruption in Fedora from Fedora. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.2Medium
Exploit odds (30 days)0.4%top 69.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

A vulnerability was found in PHP where setting the environment variable PHP_CLI_SERVER_WORKERS to a large value leads to a heap buffer overflow.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8apcu-panel5.1.20-1.module_el8.6.0+2739+efabdb8fALSA-2023:0848
AlmaLinux:8libzip1.7.3-1.module_el8.6.0+2739+efabdb8fALSA-2023:0848
AlmaLinux:8libzip1.7.3-1.module_el8.6.0+3061+6878dd1bALSA-2023:0848
AlmaLinux:8libzip-devel1.7.3-1.module_el8.6.0+2739+efabdb8fALSA-2023:0848
AlmaLinux:8libzip-devel1.7.3-1.module_el8.6.0+3061+6878dd1bALSA-2023:0848
AlmaLinux:8libzip-tools1.7.3-1.module_el8.6.0+2739+efabdb8fALSA-2023:0848
AlmaLinux:8libzip-tools1.7.3-1.module_el8.6.0+3061+6878dd1bALSA-2023:0848
AlmaLinux:8php8.0.27-1.module_el8.7.0+3401+dfb61c00ALSA-2023:0848
AlmaLinux:8php-bcmath8.0.27-1.module_el8.7.0+3401+dfb61c00ALSA-2023:0848
AlmaLinux:8php-cli8.0.27-1.module_el8.7.0+3401+dfb61c00ALSA-2023:0848
AlmaLinux:8php-common8.0.27-1.module_el8.7.0+3401+dfb61c00ALSA-2023:0848
AlmaLinux:8php-dba8.0.27-1.module_el8.7.0+3401+dfb61c00ALSA-2023:0848
AlmaLinux:8php-dbg8.0.27-1.module_el8.7.0+3401+dfb61c00ALSA-2023:0848
AlmaLinux:8php-devel8.0.27-1.module_el8.7.0+3401+dfb61c00ALSA-2023:0848
AlmaLinux:8php-embedded8.0.27-1.module_el8.7.0+3401+dfb61c00ALSA-2023:0848
AlmaLinux:8php-enchant8.0.27-1.module_el8.7.0+3401+dfb61c00ALSA-2023:0848
AlmaLinux:8php-ffi8.0.27-1.module_el8.7.0+3401+dfb61c00ALSA-2023:0848
AlmaLinux:8php-fpm8.0.27-1.module_el8.7.0+3401+dfb61c00ALSA-2023:0848
AlmaLinux:8php-gd8.0.27-1.module_el8.7.0+3401+dfb61c00ALSA-2023:0848
AlmaLinux:8php-gmp8.0.27-1.module_el8.7.0+3401+dfb61c00ALSA-2023:0848
AlmaLinux:8php-intl8.0.27-1.module_el8.7.0+3401+dfb61c00ALSA-2023:0848
AlmaLinux:8php-ldap8.0.27-1.module_el8.7.0+3401+dfb61c00ALSA-2023:0848
AlmaLinux:8php-mbstring8.0.27-1.module_el8.7.0+3401+dfb61c00ALSA-2023:0848
AlmaLinux:8php-mysqlnd8.0.27-1.module_el8.7.0+3401+dfb61c00ALSA-2023:0848
AlmaLinux:8php-odbc8.0.27-1.module_el8.7.0+3401+dfb61c00ALSA-2023:0848
AlmaLinux:8php-opcache8.0.27-1.module_el8.7.0+3401+dfb61c00ALSA-2023:0848
AlmaLinux:8php-pdo8.0.27-1.module_el8.7.0+3401+dfb61c00ALSA-2023:0848
AlmaLinux:8php-pear1:1.10.13-1.module_el8.6.0+2739+efabdb8fALSA-2023:0848
AlmaLinux:8php-pecl-apcu5.1.20-1.module_el8.6.0+2739+efabdb8fALSA-2023:0848
AlmaLinux:8php-pecl-apcu5.1.20-1.module_el8.6.0+3061+6878dd1bALSA-2023:0848
AlmaLinux:8php-pecl-apcu-devel5.1.20-1.module_el8.6.0+2739+efabdb8fALSA-2023:0848
AlmaLinux:8php-pecl-apcu-devel5.1.20-1.module_el8.6.0+3061+6878dd1bALSA-2023:0848
AlmaLinux:8php-pecl-rrd2.0.3-1.module_el8.6.0+2739+efabdb8fALSA-2023:0848
AlmaLinux:8php-pecl-rrd2.0.3-1.module_el8.6.0+3061+6878dd1bALSA-2023:0848
AlmaLinux:8php-pecl-xdebug33.1.2-1.module_el8.6.0+2739+efabdb8fALSA-2023:0848
AlmaLinux:8php-pecl-xdebug33.1.2-1.module_el8.6.0+3061+6878dd1bALSA-2023:0848
AlmaLinux:8php-pecl-zip1.19.2-1.module_el8.6.0+2739+efabdb8fALSA-2023:0848
AlmaLinux:8php-pecl-zip1.19.2-1.module_el8.6.0+3061+6878dd1bALSA-2023:0848
AlmaLinux:8php-pgsql8.0.27-1.module_el8.7.0+3401+dfb61c00ALSA-2023:0848
AlmaLinux:8php-process8.0.27-1.module_el8.7.0+3401+dfb61c00ALSA-2023:0848
AlmaLinux:8php-snmp8.0.27-1.module_el8.7.0+3401+dfb61c00ALSA-2023:0848
AlmaLinux:8php-soap8.0.27-1.module_el8.7.0+3401+dfb61c00ALSA-2023:0848
AlmaLinux:8php-xml8.0.27-1.module_el8.7.0+3401+dfb61c00ALSA-2023:0848
Ubuntu:22.04:LTSphp8.18.1.2-1ubuntu2.16USN-6757-1
Ubuntu:22.04:LTSphp8.18.1.2-1ubuntu2.17USN-6757-2
Ubuntu:22.04:LTSphp8.18.1.2-1ubuntu2.17UBUNTU-CVE-2022-4900

Affected products (as reported)

VendorProductVersions
n/a php see references
Red Hat Red Hat Enterprise Linux 6 see references
Red Hat Red Hat Enterprise Linux 7 see references
Red Hat Red Hat Enterprise Linux 8 see references
Red Hat Red Hat Enterprise Linux 8 see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat Software Collections see references
Fedora Fedora see references

Weakness: CWE-119 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References