PDO::quote() may return unquoted string
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PHP Group | PHP | affected |
|
Configuration 1 [-]
| AND |
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | |||
| php:8.0-8070020230118114629.ef331662 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2023:0848 | 2023-02-21T00:00:00Z |
| php:7.4-8080020230118140634.cc342424 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2023:2903 | 2023-05-16T00:00:00Z |
| Red Hat Enterprise Linux 9 | |||
| php-0:8.0.27-1.el9_1 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2023:0965 | 2023-02-28T00:00:00Z |
| php:8.1-9020020230120141750.9 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2023:2417 | 2023-05-09T00:00:00Z |
No data available yet.
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-3345-1 | php7.3 security update |
Debian DSA |
DSA-5363-1 | php7.4 security update |
EUVD |
EUVD-2022-54225 | 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. |
Ubuntu USN |
USN-5818-1 | PHP vulnerability |
Ubuntu USN |
USN-5905-1 | PHP vulnerabilities |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 2.2% (2.189% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Php
Php php Sqlite Sqlite sqlite |
|
| CPEs | cpe:2.3:a:php:php:*:*:*:*:*:*:*:* cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:* |
|
| Vendors & Products |
Php
Php php Sqlite Sqlite sqlite |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A flaw was found in PHP. This issue occurs due to an uncaught integer overflow in PDO::quote() of PDO_SQLite returning an improperly quoted string. With the implementation of sqlite3_snprintf(), it is possible to force the function to return a single apostrophe if the function is called on user-supplied input without any length restrictions in place. | 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. |
| Title | php: PDO:: quote() may return unquoted string due to an integer overflow | PDO::quote() may return unquoted string |
| Weaknesses | CWE-74 | |
| Metrics |
cvssV3_1
|
cvssV3_1
|