Vulnerability
CVE-2022-31631
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.
39 advisories report this vulnerability, across 14 ecosystems.
Advisories in Red Hat
-
RHSA-2023:0848
Red Hat Security Advisory: php:8.0 security update
-
RHSA-2023:0965
Red Hat Security Advisory: php security update
-
RHSA-2023:2417
Red Hat Security Advisory: php:8.1 security update
-
RHSA-2023:2903
Red Hat Security Advisory: php:7.4 security update
-
RHVEX-CVE-2022-31631
php: PDO:: quote() may return unquoted string due to an integer overflow