نسخههای متأثر
Ubuntu18.04:LTS/php7.2
- نسخههای متأثر
- <7.2.24-0ubuntu0.18.04.16
- نسخهٔ اصلاحشده
- 7.2.24-0ubuntu0.18.04.16
Ubuntu20.04:LTS/php7.4
- نسخههای متأثر
- <7.4.3-4ubuntu2.17
- نسخهٔ اصلاحشده
- 7.4.3-4ubuntu2.17
Ubuntu22.04:LTS/php8.1
- نسخههای متأثر
- <8.1.2-1ubuntu2.10
- نسخهٔ اصلاحشده
- 8.1.2-1ubuntu2.10
UbuntuPro:14.04:LTS/php5
- نسخههای متأثر
- *
- نسخهٔ اصلاحشده
- اعلام نشده
UbuntuPro:16.04:LTS/php7.0
- نسخههای متأثر
- <7.0.33-0ubuntu0.16.04.16+esm5
- نسخهٔ اصلاحشده
- 7.0.33-0ubuntu0.16.04.16+esm5
شرح آسیبپذیری
In PHP versions 8.0.* before 8.0.27, 8.1.* before 8.1.15, 8.2.* before 8.2.2 when using PDO::quote() function to quote user-supplied data for SQLite, supplying an overly long string may cause the driver to incorrectly quote the data, which may further lead to SQL injection vulnerabilities.
پیوندها
- https://github.com/php/php-src/commit/921b6813da3237a83e908998483f46ae3d8bacba
- https://github.com/php/php-src/commit/a6a80eefe0413c91acd922bc58590a4db7979af0
- https://ubuntu.com/security/CVE-2022-31631
- https://ubuntu.com/security/notices/USN-5818-1
- https://ubuntu.com/security/notices/USN-5905-1
- https://www.cve.org/CVERecord?id=CVE-2022-31631

