CVE-2022-31626 mysqlnd/pdo password buffer overflow
mysqlnd/pdo 암호 버퍼 오버플로
설명
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 버전 7.4.x가 7.4.30 미만, 8.0.x가 8.0.20 미만, 8.1.x가 8.1.7 미만인 경우 pdo_mysql 확장이 mysqlnd 드라이버와 함께 허용되면 타사가 호스트에 연결하기 위해 호스트를 제공 할 수 있고 연결에 대한 암호가 허용되면 과도한 길이의 암호가 PHP에서 버퍼 오버플로를 트리거 할 수 있으므로 원격 코드 실행 취약점이 발생할 수 있습니다.
영향 받는 제품 제품 1개
-
해결 버전 있음
PHP Group
PHP
영향 받는 버전
- 7.4 이상 7.4.30 미만
- 8.0 이상 8.0.20 미만
- 8.1 이상 8.1.7 미만
해결 버전
- 7.4.30 이상
- 8.0.20 이상
- 8.1.7 이상
참고 자료 7건
- bugs.php.net https://bugs.php.net/bug.php?id=81719 (새 창)
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/12/msg00030.html (새 창)
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3T4MMEEZYYAEHPQMZDFN44PHORJWJFZQ/ (새 창)
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZZTZQKRGEYJT5UB4FGG3MOE72SQUHSL4/ (새 창)
- security.gentoo.org https://security.gentoo.org/glsa/202209-20 (새 창)
- security.netapp.com https://security.netapp.com/advisory/ntap-20220722-0005/ (새 창)
- debian.org https://www.debian.org/security/2022/dsa-5179 (새 창)