ADVISORIES

Ubuntu CVE Tracker

UBUNTU-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

EcosystemPackageAffected versions
Ubuntu:Pro:14.04:LTSphp5
All versions, no fix listed
Ubuntu:Pro:16.04:LTSphp7.0
All versions before 7.0.33-0ubuntu0.16.04.16+esm5 (fixed in 7.0.33-0ubuntu0.16.04.16+esm5)
Ubuntu:18.04:LTSphp7.2
All versions before 7.2.24-0ubuntu0.18.04.16 (fixed in 7.2.24-0ubuntu0.18.04.16)
Ubuntu:20.04:LTSphp7.4
All versions before 7.4.3-4ubuntu2.17 (fixed in 7.4.3-4ubuntu2.17)
Ubuntu:22.04:LTSphp8.1
All versions before 8.1.2-1ubuntu2.10 (fixed in 8.1.2-1ubuntu2.10)

References