Flight: SQL Injection via unvalidated identifiers in SimplePdo::insert / update / delete
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| flightphp | core | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Flightphp | Core |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-xwqr-rcqg-22mr | Flight vulnerable to SQL Injection via unvalidated identifiers in SimplePdo::insert / update / delete |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.455% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Flightphp
Flightphp core |
|
| Vendors & Products |
Flightphp
Flightphp core |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Flight is an extensible micro-framework for PHP. Prior to 3.18.1, SimplePdo::insert(), SimplePdo::update(), and SimplePdo::delete() build SQL statements by concatenating the $table argument and the keys of the $data array directly into the query, with no identifier quoting and no validation. When an application forwards user-controlled data shapes to these helpers — a common and documented pattern, e.g. $db->insert('users', $request->data->getData()) — an attacker can inject arbitrary SQL by crafting malicious array keys. This vulnerability is fixed in 3.18.1. | |
| Title | Flight: SQL Injection via unvalidated identifiers in SimplePdo::insert / update / delete | |
| Weaknesses | CWE-89 | |
| References |
| |
| Metrics |
cvssV3_1
|