CWE
89 190
Advisory Published

CVE-2022-31631: SQL Injection

First published: Thu Jan 05 2023(Updated: )

Fixed bug (PDO::quote() may return unquoted string). (CVE-2022-31631)

Affected SoftwareAffected VersionHow to fix
PHP PHP<8.0.27
8.0.27
debian/php7.4
7.4.33-1+deb11u5
7.4.33-1+deb11u7
debian/php8.2
8.2.24-1~deb12u1
8.2.26-1~deb12u1
8.2.26-4

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2022-31631?

    CVE-2022-31631 is a vulnerability in PHP which allows PDO::quote() to return an unquoted string.

  • How does CVE-2022-31631 affect PHP?

    CVE-2022-31631 affects PHP versions up to and including 8.0.27.

  • Is there a fix available for CVE-2022-31631?

    Yes, the vulnerability has been fixed in PHP version 8.0.27.

  • What is PDO::quote()?

    PDO::quote() is a PHP function used to quote a string for use in a query.

  • How can I find more information about CVE-2022-31631?

    You can find more information about CVE-2022-31631 in the PHP ChangeLog for version 8.0.27.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203