CVE-2022-31626
"PHP PDO_MySQL Buffer Overflow Vulnerability"
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.
INFO
Published Date :
June 16, 2022, 6:15 a.m.
Last Modified :
Nov. 21, 2024, 7:04 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.8
Public PoC/Exploit Available at Github
CVE-2022-31626 has a 4 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-31626
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
None
None
Python
PHP binary bugs advisory
PHP Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-31626
vulnerability anywhere in the article.
- Cybersecurity News
New Malware Campaign Mines Crypto in Docker & Kubernetes
Datadog Security Research has uncovered a new and widespread malware campaign targeting Docker and Kubernetes environments, where threat actors exploit vulnerabilities in container orchestration techn ... Read more
The following table lists the changes that have been made to the
CVE-2022-31626
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://bugs.php.net/bug.php?id=81719 Added Reference https://lists.debian.org/debian-lts-announce/2022/12/msg00030.html Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3T4MMEEZYYAEHPQMZDFN44PHORJWJFZQ/ Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZZTZQKRGEYJT5UB4FGG3MOE72SQUHSL4/ Added Reference https://security.gentoo.org/glsa/202209-20 Added Reference https://security.netapp.com/advisory/ntap-20220722-0005/ Added Reference https://www.debian.org/security/2022/dsa-5179 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference PHP Group https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZZTZQKRGEYJT5UB4FGG3MOE72SQUHSL4/ [No types assigned] Added Reference PHP Group https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3T4MMEEZYYAEHPQMZDFN44PHORJWJFZQ/ [No types assigned] Removed Reference PHP Group https://lists.fedoraproject.org/archives/list/[email protected]/message/3T4MMEEZYYAEHPQMZDFN44PHORJWJFZQ/ Removed Reference PHP Group https://lists.fedoraproject.org/archives/list/[email protected]/message/ZZTZQKRGEYJT5UB4FGG3MOE72SQUHSL4/ -
Modified Analysis by [email protected]
Feb. 23, 2023
Action Type Old Value New Value Changed Reference Type https://lists.debian.org/debian-lts-announce/2022/12/msg00030.html No Types Assigned https://lists.debian.org/debian-lts-announce/2022/12/msg00030.html Mailing List, Third Party Advisory Changed CPE Configuration OR *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Dec. 15, 2022
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2022/12/msg00030.html [No Types Assigned] -
Modified Analysis by [email protected]
Oct. 27, 2022
Action Type Old Value New Value Changed Reference Type https://security.gentoo.org/glsa/202209-20 No Types Assigned https://security.gentoo.org/glsa/202209-20 Third Party Advisory Changed Reference Type https://security.netapp.com/advisory/ntap-20220722-0005/ No Types Assigned https://security.netapp.com/advisory/ntap-20220722-0005/ Third Party Advisory Changed Reference Type https://www.debian.org/security/2022/dsa-5179 No Types Assigned https://www.debian.org/security/2022/dsa-5179 Third Party Advisory Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Sep. 29, 2022
Action Type Old Value New Value Added Reference https://security.gentoo.org/glsa/202209-20 [No Types Assigned] -
CVE Modified by [email protected]
Jul. 22, 2022
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20220722-0005/ [No Types Assigned] -
CVE Modified by [email protected]
Jul. 12, 2022
Action Type Old Value New Value Added Reference https://www.debian.org/security/2022/dsa-5179 [No Types Assigned] -
Initial Analysis by [email protected]
Jun. 27, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:M/Au:S/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://bugs.php.net/bug.php?id=81719 No Types Assigned https://bugs.php.net/bug.php?id=81719 Exploit, Issue Tracking, Mailing List, Patch, Vendor Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/3T4MMEEZYYAEHPQMZDFN44PHORJWJFZQ/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/3T4MMEEZYYAEHPQMZDFN44PHORJWJFZQ/ Mailing List, Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/ZZTZQKRGEYJT5UB4FGG3MOE72SQUHSL4/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/ZZTZQKRGEYJT5UB4FGG3MOE72SQUHSL4/ Mailing List, Third Party Advisory Added CWE NIST CWE-120 Added CPE Configuration OR *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 7.4.0 up to (excluding) 7.4.30 *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 8.0.0 up to (excluding) 8.0.20 *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 8.1.0 up to (excluding) 8.1.7 -
CVE Modified by [email protected]
Jun. 17, 2022
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/3T4MMEEZYYAEHPQMZDFN44PHORJWJFZQ/ [No Types Assigned] Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/ZZTZQKRGEYJT5UB4FGG3MOE72SQUHSL4/ [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-31626
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-31626
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.70 }} -0.42%
score
0.80079
percentile