Rapid7 Vulnerability & Exploit Database

Red Hat: CVE-2022-31626: CVE-2022-31626 php: password of excessive length triggers buffer overflow leading to RCE (Multiple Advisories)

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Red Hat: CVE-2022-31626: CVE-2022-31626 php: password of excessive length triggers buffer overflow leading to RCE (Multiple Advisories)

Severity
6
CVSS
(AV:N/AC:M/Au:S/C:P/I:P/A:P)
Published
06/16/2022
Created
07/16/2022
Added
07/05/2022
Modified
12/15/2023

Description

In PHP versions 7.4.x below 7.4.30, 8.0.x below 8.0.20, and 8.1.x below 8.1.7, when pdo_mysql extension with mysqlnd driver, if the third party is allowed to supply host to connect to and the password for the connection, password of excessive length can trigger a buffer overflow in PHP, which can lead to a remote code execution vulnerability.

Solution(s)

  • redhat-upgrade-apcu-panel
  • redhat-upgrade-libzip
  • redhat-upgrade-libzip-debuginfo
  • redhat-upgrade-libzip-debugsource
  • redhat-upgrade-libzip-devel
  • redhat-upgrade-libzip-tools
  • redhat-upgrade-libzip-tools-debuginfo
  • redhat-upgrade-php
  • redhat-upgrade-php-bcmath
  • redhat-upgrade-php-bcmath-debuginfo
  • redhat-upgrade-php-cli
  • redhat-upgrade-php-cli-debuginfo
  • redhat-upgrade-php-common
  • redhat-upgrade-php-common-debuginfo
  • redhat-upgrade-php-dba
  • redhat-upgrade-php-dba-debuginfo
  • redhat-upgrade-php-dbg
  • redhat-upgrade-php-dbg-debuginfo
  • redhat-upgrade-php-debuginfo
  • redhat-upgrade-php-debugsource
  • redhat-upgrade-php-devel
  • redhat-upgrade-php-embedded
  • redhat-upgrade-php-embedded-debuginfo
  • redhat-upgrade-php-enchant
  • redhat-upgrade-php-enchant-debuginfo
  • redhat-upgrade-php-ffi
  • redhat-upgrade-php-ffi-debuginfo
  • redhat-upgrade-php-fpm
  • redhat-upgrade-php-fpm-debuginfo
  • redhat-upgrade-php-gd
  • redhat-upgrade-php-gd-debuginfo
  • redhat-upgrade-php-gmp
  • redhat-upgrade-php-gmp-debuginfo
  • redhat-upgrade-php-intl
  • redhat-upgrade-php-intl-debuginfo
  • redhat-upgrade-php-json
  • redhat-upgrade-php-json-debuginfo
  • redhat-upgrade-php-ldap
  • redhat-upgrade-php-ldap-debuginfo
  • redhat-upgrade-php-mbstring
  • redhat-upgrade-php-mbstring-debuginfo
  • redhat-upgrade-php-mysqlnd
  • redhat-upgrade-php-mysqlnd-debuginfo
  • redhat-upgrade-php-odbc
  • redhat-upgrade-php-odbc-debuginfo
  • redhat-upgrade-php-opcache
  • redhat-upgrade-php-opcache-debuginfo
  • redhat-upgrade-php-pdo
  • redhat-upgrade-php-pdo-debuginfo
  • redhat-upgrade-php-pear
  • redhat-upgrade-php-pecl-apcu
  • redhat-upgrade-php-pecl-apcu-debuginfo
  • redhat-upgrade-php-pecl-apcu-debugsource
  • redhat-upgrade-php-pecl-apcu-devel
  • redhat-upgrade-php-pecl-rrd
  • redhat-upgrade-php-pecl-rrd-debuginfo
  • redhat-upgrade-php-pecl-rrd-debugsource
  • redhat-upgrade-php-pecl-xdebug
  • redhat-upgrade-php-pecl-xdebug-debuginfo
  • redhat-upgrade-php-pecl-xdebug-debugsource
  • redhat-upgrade-php-pecl-xdebug3
  • redhat-upgrade-php-pecl-xdebug3-debuginfo
  • redhat-upgrade-php-pecl-xdebug3-debugsource
  • redhat-upgrade-php-pecl-zip
  • redhat-upgrade-php-pecl-zip-debuginfo
  • redhat-upgrade-php-pecl-zip-debugsource
  • redhat-upgrade-php-pgsql
  • redhat-upgrade-php-pgsql-debuginfo
  • redhat-upgrade-php-process
  • redhat-upgrade-php-process-debuginfo
  • redhat-upgrade-php-snmp
  • redhat-upgrade-php-snmp-debuginfo
  • redhat-upgrade-php-soap
  • redhat-upgrade-php-soap-debuginfo
  • redhat-upgrade-php-xml
  • redhat-upgrade-php-xml-debuginfo
  • redhat-upgrade-php-xmlrpc
  • redhat-upgrade-php-xmlrpc-debuginfo

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;