Debian Security Tracker
DEBIAN-CVE-2022-31631
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Debian:12 | php8.2 | All versions before 8.2.1-1 (fixed in 8.2.1-1) |