First published: Thu Jan 05 2023(Updated: )
Fixed bug (PDO::quote() may return unquoted string). (CVE-2022-31631)
Affected Software | Affected Version | How to fix |
---|---|---|
PHP PHP | <8.0.27 | 8.0.27 |
debian/php7.4 | 7.4.33-1+deb11u5 7.4.33-1+deb11u6 | |
debian/php8.2 | 8.2.24-1~deb12u1 8.2.24-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-31631 is a vulnerability in PHP which allows PDO::quote() to return an unquoted string.
CVE-2022-31631 affects PHP versions up to and including 8.0.27.
Yes, the vulnerability has been fixed in PHP version 8.0.27.
PDO::quote() is a PHP function used to quote a string for use in a query.
You can find more information about CVE-2022-31631 in the PHP ChangeLog for version 8.0.27.