SQL Injection in Jackc Pgx

CVE-2024-27289

pgx is a PostgreSQL driver and toolkit for Go. Prior to version 4.18.2, SQL injection can occur when all of the following conditions are met: the non-default simple protocol is used; a placeholder for a numeric value must be immediately preceded by a minus; there must be a second placeholder for a string value after the first placeholder; both must be on the same line; and both parameter values must be user-controlled. The problem is resolved in v4.18.2. As a workaround, do not use the simple protocol or do not place a minus directly before a placeholder.

Vulnerability class: SQL Injection

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.008 (56.6th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 57th percentile — 56.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2024-27289: held from 0.009 to 0.008.

EPSS over last 30 days · oldest: 0.009 · newest: 0.008 · change: -0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-27289?
CVE-2024-27289 is a high-severity vulnerability in Jackc Pgx, classified under SQL Injection. CVSS score: 8.1/10. Published 2024-03-06.
How severe is CVE-2024-27289?
High severity. CVSS v3 base score is 8.1 out of 10.