CVE-2022-31631 CRITICAL

CVE-2022-31631: PDO::quote() may return unquoted string

Vendor Php Group
Product PHP
Weakness CWE-74
Published February 12, 2025
Last update February 13, 2025

CVSS base score

9.1/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

February 12, 2025 CVE published
February 13, 2025 Record updated