CWE
119 787
Advisory Published
CVE Published
Updated

CVE-2022-4900: Potential buffer overflow in php_cli_server_startup_workers

First published: Mon Mar 20 2023(Updated: )

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.

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
All of
PHP PHP
Redhat Software Collections
All of
PHP PHP=8.1.0
Redhat Linux=9.0
All of
PHP PHP=8.0.0
Redhat Linux=8.0
All of
PHP PHP=7.4.0
Redhat Linux=8.0
All of
PHP PHP
Redhat Linux=6.0
All of
PHP PHP
Redhat Linux=7.0
All of
PHP PHP
Redhat Linux=9.0
redhat/php<8.0.22
8.0.22
ubuntu/php7.4<7.4.3-4ubuntu2.21
7.4.3-4ubuntu2.21
ubuntu/php8.1<8.1.2-1ubuntu2.16
8.1.2-1ubuntu2.16
debian/php7.3
7.3.31-1~deb10u1
7.3.31-1~deb10u5
debian/php7.4<=7.4.33-1+deb11u4<=7.4.33-1+deb11u5
debian/php8.2
8.2.7-1~deb12u1
8.2.18-1~deb12u1
8.2.12-1
8.2.18-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the vulnerability ID for this vulnerability?

    The vulnerability ID for this vulnerability is CVE-2022-4900.

  • What is the severity of CVE-2022-4900?

    The severity of CVE-2022-4900 is medium with a CVSS score of 6.2.

  • How does the vulnerability in PHP occur?

    The vulnerability in PHP occurs when the environment variable PHP_CLI_SERVER_WORKERS is set to a large value, leading to a heap buffer overflow.

  • Which versions of PHP are affected by CVE-2022-4900?

    PHP versions up to and excluding 8.0.22 are affected by CVE-2022-4900.

  • Where can I find more information about CVE-2022-4900?

    You can find more information about CVE-2022-4900 at the following references: [https://access.redhat.com/security/cve/CVE-2022-4900](https://access.redhat.com/security/cve/CVE-2022-4900), [https://bugzilla.redhat.com/show_bug.cgi?id=2179880](https://bugzilla.redhat.com/show_bug.cgi?id=2179880), [https://github.com/php/php-src/issues/8989](https://github.com/php/php-src/issues/8989).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203