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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31631.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "8.0.x"
},
{
"fixed": "8.0.27"
},
{
"introduced": "8.1.x"
},
{
"fixed": "8.1.15"
},
{
"introduced": "8.2.x"
},
{
"fixed": "8.2.2"
}
],
"source": "AFFECTED_FIELD"
},
{
"extracted_events": [
{
"fixed": "8.0.27"
},
{
"fixed": "8.1.15"
},
{
"fixed": "8.2.2"
}
],
"source": "DESCRIPTION"
}
],
"cwe_ids": [
"CWE-74"
],
"cna_assigner": "php"
}{
"cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
"extracted_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"
}
],
"source": "CPE_FIELD"
}