CVE-2022-31631
PDO::quote() may return unquoted string
Summary
PDO::quote() may return unquoted string
Original description
The description as published by the source.
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
Bitnami
libphp
[{"type":"SEMVER","events":[{"introduced":"8.0.0"},{"fixed":"8.0.27"},{"introduced":"8.1.0"},{"fixed":"8.1.15"},{"introduced":"8.2.0"},{"fixed":"8.2.2"}]}]
Bitnami
php
[{"type":"SEMVER","events":[{"introduced":"8.0.0"},{"fixed":"8.0.27"},{"introduced":"8.1.0"},{"fixed":"8.1.15"},{"introduced":"8.2.0"},{"fixed":"8.2.2"}]}]
Bitnami
php-min
[{"type":"SEMVER","events":[{"introduced":"8.0.0"},{"fixed":"8.0.27"},{"introduced":"8.1.0"},{"fixed":"8.1.15"},{"introduced":"8.2.0"},{"fixed":"8.2.2"}]}]
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2022-31631 php7.4 Fixed in: 7.4.33-1+deb11u3
References
- advisory bugs.php.net
- advisory security.netapp.com
- web nvd.nist.gov