Red Hat VEX
RHVEX-CVE-2022-31631
php: PDO:: quote() may return unquoted string due to an integer overflow
Details
A flaw was found in PHP. This issue occurs due to an uncaught integer overflow in PDO::quote() of PDO_SQLite returning an improperly quoted string. With the implementation of sqlite3_snprintf(), it is possible to force the function to return a single apostrophe if the function is called on user-supplied input without any length restrictions in place.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:6 | php | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-bcmath | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-cli | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-common | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-dba | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-embedded | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-enchant | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-fpm | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-gd | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-imap | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-intl | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-ldap | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-mbstring | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-mysql | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-odbc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-pdo | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-pgsql | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-process | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-pspell | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-recode | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-snmp | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-soap | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-tidy | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-xml | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-xmlrpc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-zts | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-bcmath | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-cli | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-common | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-dba | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-embedded | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-enchant | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-fpm | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-gd | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-intl | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-ldap | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-mbstring | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-mysql | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-mysqlnd | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-odbc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-pdo | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-pgsql | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-process | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-pspell | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-recode | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-snmp | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-soap | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-xml | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-xmlrpc | All versions, no fix (out of support scope) |