原始描述
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.
受影响的软件
- PHP ≥ 8.0.0 < 8.0.20≥ 8.1.0 < 8.1.7≥ 7.4.0 < 7.4.30 修复版本: 8.0.20, 8.1.7, 7.4.30 精确匹配
详情
- 发布日期
- 2022-06-16
- 最后修改
- 2024-09-17
- CVSS 向量
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-120
- EPSS(30 天内被利用概率)
- 58.12% (百分位 99)
参考资料
- cve.org/CVE-2022-31626
- nvd.nist.gov/vuln/detail/CVE-2022-31626
- bugs.php.net/bug.php?id=81719
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3...
- www.debian.org/security/2022/dsa-5179
- security.netapp.com/advisory/ntap-20220722-0005/
- security.gentoo.org/glsa/202209-20
- lists.debian.org/debian-lts-announce/2022/12/msg00030.html
本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。