CVE-2022-31631

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.
Configurations

No configuration.

History

13 Feb 2025, 16:15

Type Values Removed Values Added
References () https://bugs.php.net/bug.php?id=81740 - () https://bugs.php.net/bug.php?id=81740 -
Summary
  • (es) En las versiones de PHP 8.0.* anteriores a 8.0.27, 8.1.* anteriores a 8.1.15, 8.2.* anteriores a 8.2.2, cuando se usa la función PDO::quote() para citar datos proporcionados por el usuario para SQLite, proporcionar una cadena demasiado larga puede provocar que el controlador cite incorrectamente los datos, lo que puede generar vulnerabilidades de inyección SQL.

12 Feb 2025, 23:15

Type Values Removed Values Added
References
  • () https://security.netapp.com/advisory/ntap-20230223-0007/ -

12 Feb 2025, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-02-12 22:15

Updated : 2025-02-13 16:15


NVD link : CVE-2022-31631

Mitre link : CVE-2022-31631

CVE.ORG link : CVE-2022-31631


JSON object : View

Products Affected

No product.

CWE
CWE-74

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')