CVE Database
/

CVE-2022-31631

Back to search

CVE-2022-31631

Published: Feb 12, 2025

Modified: Feb 13, 2025

PUBLISHED

CVSS v3.1

9.1

CRITICAL

Description

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.

VendorProductVersions

PHP Group

PHP

affected
8.0.x - < 8.0.27
affected
8.1.x - < 8.1.15
affected
8.2.x - < 8.2.2

Weaknesses (CWE)

CVSS v3.1 Details

CVSS v3.1 Vector

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

Attack Vector

Network

Attack Complexity

Low

Privileges Required

None

User Interaction

None

Scope

Unchanged

Confidentiality

High

Integrity

High

Availability

None

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now