CVE-2022-31626
Last modified
CVE-2022-31626 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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.. EPSS estimates a 58.38% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | >= 7.4.0, < 7.4.30 |
| Php | Php | >= 8.0.0, < 8.0.20 |
| Php | Php | >= 8.1.0, < 8.1.7 |
| Debian | Debian Linux | 10.0 |
| Debian | Debian Linux | 11.0 |
References
- https://bugs.php.net/bug.php?id=81719Exploit, Issue Tracking, Mailing List, Patch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2022/12/msg00030.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202209-20Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220722-0005/Third Party Advisory
- https://www.debian.org/security/2022/dsa-5179Third Party Advisory
- https://bugs.php.net/bug.php?id=81719Exploit, Issue Tracking, Mailing List, Patch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2022/12/msg00030.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202209-20Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220722-0005/Third Party Advisory
- https://www.debian.org/security/2022/dsa-5179Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-31626?
How severe is CVE-2022-31626?
How do I fix CVE-2022-31626?
Are you affected by CVE-2022-31626?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
