CVE-2022-31626
CVSS V2 Medium 6
CVSS V3 High 8.8
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.
Overview
- CVE ID
- CVE-2022-31626
- Assigner
- security@php.net
- Vulnerability Status
- Analyzed
- Published Version
- 2022-06-16T06:15:08
- Last Modified Date
- 2023-02-23T01:37:49
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 1 | OR | 7.4.0 | 7.4.30 |
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 1 | OR | 8.0.0 | 8.0.20 |
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 1 | OR | 8.1.0 | 8.1.7 |
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:S/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- SINGLE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 6
- Severity
- MEDIUM
- Exploitability Score
- 6.8
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 8.8
- Base Severity
- HIGH
- Exploitability Score
- 2.8
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://bugs.php.net/bug.php?id=81719 | Exploit Issue Tracking Mailing List Patch Vendor Advisory |
https://lists.debian.org/debian-lts-announce/2022/12/msg00030.html | |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3T4MMEEZYYAEHPQMZDFN44PHORJWJFZQ/ | Mailing List Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZZTZQKRGEYJT5UB4FGG3MOE72SQUHSL4/ | Mailing List Third Party Advisory |
https://security.gentoo.org/glsa/202209-20 | Third Party Advisory |
https://security.netapp.com/advisory/ntap-20220722-0005/ | Third Party Advisory |
https://www.debian.org/security/2022/dsa-5179 | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-31626 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31626 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-06-16 07:00:10 | Added to TrackCVE | |||
2022-12-15 22:13:39 | 2022-12-15T21:15:12 | CVE Modified Date | updated | |
2022-12-15 22:13:39 | Analyzed | Modified | Vulnerability Status | updated |
2022-12-15 22:13:40 | References | updated | ||
2022-12-18 09:12:21 | Modified | Undergoing Analysis | Vulnerability Status | updated |
2023-02-23 02:14:12 | 2023-02-23T01:37:49 | CVE Modified Date | updated | |
2023-02-23 02:14:12 | Undergoing Analysis | Analyzed | Vulnerability Status | updated |