Rapid7 Vulnerability & Exploit Database

PHP Vulnerability: CVE-2022-31626

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

PHP Vulnerability: CVE-2022-31626

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
11/02/2022

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)

  • php-upgrade-7_4_30
  • php-upgrade-8_0_20
  • php-upgrade-8_1_7

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

;