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.
Author | Note |
---|---|
sbeattie | PEAR issues should go against php-pear as of xenial |
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
ubuntu | 14.04 | noarch | php5 | < any | UNKNOWN |
ubuntu | 16.04 | noarch | php7.0 | < 7.0.33-0ubuntu0.16.04.16+esm5 | UNKNOWN |
ubuntu | 18.04 | noarch | php7.2 | < 7.2.24-0ubuntu0.18.04.16 | UNKNOWN |
ubuntu | 20.04 | noarch | php7.4 | < 7.4.3-4ubuntu2.17 | UNKNOWN |
ubuntu | 22.04 | noarch | php8.1 | < 8.1.2-1ubuntu2.10 | UNKNOWN |
ubuntu | 22.10 | noarch | php8.1 | < 8.1.7-1ubuntu3.2 | UNKNOWN |
ubuntu | 23.04 | noarch | php8.1 | < 8.1.12-1ubuntu3 | UNKNOWN |
github.com/php/php-src/commit/921b6813da3237a83e908998483f46ae3d8bacba
github.com/php/php-src/commit/a6a80eefe0413c91acd922bc58590a4db7979af0
launchpad.net/bugs/cve/CVE-2022-31631
nvd.nist.gov/vuln/detail/CVE-2022-31631
security-tracker.debian.org/tracker/CVE-2022-31631
ubuntu.com/security/notices/USN-5818-1
ubuntu.com/security/notices/USN-5905-1
www.cve.org/CVERecord?id=CVE-2022-31631