CVE-2022-31631
CRITICAL
9.1
CVSS 3.1
Description
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.
Affected products and versions
- PHP — From 8.0.0 (including) to 8.0.27 (excluding)
- PHP — From 8.1.0 (including) to 8.1.15 (excluding)
- PHP — From 8.2.0 (including) to 8.2.2 (excluding)
References
- bugs.php.net https://bugs.php.net/bug.php?id=81740 Vendor Advisory
- security.netapp.com https://security.netapp.com/advisory/ntap-20230223-0007/ Third Party Advisory
- nvd.nist.gov Official NVD record