pgx: SQL Injection via placeholder confusion with dollar quoted string literals
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| jackc | pgx | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Jackc | Pgx |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-j88v-2chj-qfwx | pgx: SQL Injection via placeholder confusion with dollar quoted string literals |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.356% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:jackc:pgx:*:*:*:*:*:go:*:* | |
| Vendors & Products |
Pgx Project
Pgx Project pgx |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Pgx Project
Pgx Project pgx |
|
| CPEs | cpe:2.3:a:pgx_project:pgx:*:*:*:*:*:go:*:* | |
| Vendors & Products |
Pgx Project
Pgx Project pgx |
|
| Metrics |
cvssV3_1
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Jackc
Jackc pgx |
|
| Vendors & Products |
Jackc
Jackc pgx |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | pgx is a PostgreSQL driver and toolkit for Go. Prior to version 5.9.2, SQL injection can occur when the non-default simple protocol is used, a dollar quoted string literal is used in the SQL query, that string literal contains text that would be would be interpreted as a placeholder outside of a string literal, and the value of that placeholder is controllable by the attacker. This issue has been patched in version 5.9.2. | |
| Title | pgx: SQL Injection via placeholder confusion with dollar quoted string literals | |
| Weaknesses | CWE-89 | |
| References |
| |
| Metrics |
cvssV4_0
|